Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score .NUT Fail
DotNut - 14 Aug 2010 6:34 PM - 33 messages
My experience with .NUT Today I downloaded a small tool from Microsoft, it came with .msi installer, I am on windows 7 32-bit. I opened the installer and it says you need .NUT 1.1, do you want to download it now? ...
Score Running more then one Functions at once, HOW?
Spero - 14 Aug 2010 3:20 AM - 5 messages
I have a VB project that open up a NYSE table (ADO) of all the symbols, feeds them into a web services where I take the xml response and writes the quotes and volumes to server. The problem is that I ...
Score send email from VB with minimum user input, mapi, cdo?
Mike S - 14 Aug 2010 1:13 AM - 5 messages
I want to add the ability for the user to email an attachment after generating a report, but I don't want to have to rely on them for much help in setting up the email, a lot of them would have trouble finding ...
Score Microsoft may back off of .NET languages
Kevin Provance - 13 Aug 2010 10:10 PM - 27 messages
[link] Here comes Tom and Paul to spin for their master in 5...4...3...2...1... ...
Score ActiveX EXE SingleUse Vs MultiUse
BeeJ - 13 Aug 2010 4:34 PM - 15 messages
So what is happening? In both cases I have set Thread Per Object. I instantiate four of the same ActiveX EXEs (set as an array of Ax(). With SingleUse I see all four in Process Explorer. with MultiUse I see one in Process Explorer. ...
Score MsgBox and a pop up form
phil hunt - 13 Aug 2010 12:54 PM - 7 messages
I have an application that pop up a form (vbModal) asking for password in order to proceed. It pops up after a period of idling. It works prettty well. The hassle comes when there is a MsgBox popping up and the user does not ...
Score DCOM Error
Harsha - 13 Aug 2010 10:42 AM - 21 messages
Hello there, I have a problem in client - server application. My server is windows 2003. Problem is whenever I try to send collection as an argument to the remote method I get error saying Runtime error 462. The remote server does not exists or is ...
Score Print ACCESS 2003 report via VB6 Application
Lennie - 13 Aug 2010 6:00 AM - 2 messages
Hi Good Guys, I need your help. Please help me. My office is still using VB6 SP6 software and ACCESS 2003 Database.  I am trying  print ACCESS 2003 report with  VB6 application and I constantly get the POPUP Screen of SECURITY WARNING from ACCESS 2003 ...
Score Formating Hex Values
RDub - 12 Aug 2010 7:46 PM - 10 messages
Guys/Gals I need to display byte values in Hex format and preserve leading zeros. so I came up with : format(hex(SomeByte),"00") to perform the deed.  I just noticed an inconsistency with that code and changed it to : ...
Score VarPtr() and StrPtr() questions
NadCixelsyd - 12 Aug 2010 5:31 PM - 5 messages
I just learned a bit about VARPTR and STRPTR.  So I wrote some code that doesn't make sense: Private Type SR_REC    SR_LONG     As Long    SR_STRING   As String * 16 ...
Score Array question
Alexandros Peropulous - 12 Aug 2010 9:13 AM - 16 messages
Hello! I have documented my problem below. Can anybody help? Could it be done by CopyMemory? Private Sub Form_Load()      Dim sngArr() As Single      ReDim sngArr(1, 1)      sngArr(0, 0) = -5 ...
Score HELP CLR20r3 need help to debug crash of exe startup at remote installation
Manfred - 11 Aug 2010 4:38 PM - 5 messages
Hello I'm struggling with a problem at remot installations. I released my Beta software which was always running fine on a lot of systems Win XP , Win2003, Win 7. Now I have a strange problem at some remote installation. After starting ...
Score Trapping Sheet selection
avi - 11 Aug 2010 3:13 PM - 4 messages
hello, I want to execute (in a vb6 exe) a procedure when the user selects another sheet in Excel In a Class module I use   Private WithEvents mWk As Excel.Workbook   Sub mWk_SheetChange(ByVal Sh As Object, ByVal Target As Range) ...
Score Help with Zebra ZM400
Junior - 10 Aug 2010 11:00 PM - 16 messages
I use the code below with almost any Zebra printer, but i am trying to use it with ZEBRAZM400 and is not working. Could help me to find where is the problem? Description N Q250,1 q800 OFf A160,10,0,2,1,3,N,"" ...
Score ActiveX EXE Not Execute
BeeJ - 10 Aug 2010 10:15 PM - 21 messages
I would like to prevent my ActiveX EXE from starting by double-clicking it in Windows Explorer. Only the main app that instantiates the ActiveX EXE should do this. How do I prevent this? The only crude way I can think of is to start a timer in the Initialize ...
Score Find the Windows Sidebar under Vista/7 using FindWindow(Ex)
Leo - 10 Aug 2010 1:44 PM - 4 messages
What is the caption of the Windows Sidebar and what is it's class as I am having trouble using Spy++ to find that info. ...
Score Alter contents of the items in the original array
Curious - 10 Aug 2010 1:04 AM - 3 messages
I want to identity a subset of a collection, tradeProperyRows (defined as DataRow[]). Then I want to switch the data (in two columns of DataRow) in the subset (trsTrades). However, I want to make sure that trsTrades is a collection of ...
Score How to clone an object
Phil Hunt - 9 Aug 2010 11:15 PM - 14 messages
I have a simple object I load up from DB, Is there a easy way to clone it to a new object of the same type ? Thanks ...
Score Refering to a specific Excel range in an OLE container
avi - 9 Aug 2010 9:13 PM - 3 messages
Hello, The command OLE1.CreateEmbed "C:\Dashboard4XL.xls" seems to display the current Excel view Is there a way to instruct VB to display a specific range address in the active sheet Thanks a lot Avi ...
Score List dlls currently running in VB Application
David - 9 Aug 2010 6:37 PM - 9 messages
I'd like to see what's being used by my VB application. Anyway to show the various dlls, ActiveX that are being used. One thought was to Enumerate Process, and the maybe look for the parent, but not sure if this approach will even work. ...
Score Vista Crashes, XP does not
BeeJ - 9 Aug 2010 4:28 PM - 4 messages
Here is the first part of the sub (real code). This code never has a problem in XP but always hangs in Vista. Hangs == in IDE or EXE the app cannot be closed or killed and a PC boot is required. ...
Score VB6-rotate form 90 degrees?
Ed from AZ - 9 Aug 2010 2:05 PM - 10 messages
I have a problem that could be solved more easily if my VB6 form with a text input field and several drop-down controls can be rotated 90 degrees clockwise.  (Monitor is being turned sideways - long story - exploring solutions.)  Is this possible with Classic VB?  Not just to ...
Score Copy a Folder
LondonLad - 9 Aug 2010 10:31 AM - 3 messages
Hi The code is fromRandy Birch's CopyFileEx: Create a File Backup App Since my earlier post this part of the code appears to do what I would expect but I do not get the folder copied. Can you help? ...
Score Reading keyboard's key names (Internalization)
Satchmo - 9 Aug 2010 4:40 AM - 6 messages
Hi all! I'm trying to make my little app "international-aware" and I'm using the GetKeyNameText() function to retrieve the name of a key. The function works good in getting the key names based on the current keyboard layout. The reason I'm doing this is because users of my app ...
Score Class Access
BeeJ - 8 Aug 2010 11:58 PM - 10 messages
I have some ActiveX code, both EXE and DLL that I wrote. It all seems to work but I occasionally have a weird thing happen. The code runs through Class_Terminate before Class_Initialize. I do not see why but it may be because I am working in the IDE and ...
Score Error 32765
Mike Simpson - 8 Aug 2010 11:22 PM - 10 messages
I have several VB6 programs which I have written using the Common Dialog box COMDLG32.OCX and they all work fine. Suddenly this week on my own PC (Windows 7 - 64 bit - Home Premium) all these programs throw up the error ...
Score finding position of worksheet
R Vaughn - 8 Aug 2010 9:21 PM - 2 messages
In Excel 2003, I am attempting to automatically place a VBA form on a worksheet at a constant position relative to the worksheet, not at a constant position on the screen.  I want the code to identify the worksheet's ...
Score Cleanup remnants
BeeJ - 8 Aug 2010 1:26 PM - 10 messages
Cleanup remnants If my VB6 app crashes, it may leave some files and ActiveX EXEs running. I plan to remove those when the app starts up again (by the user). I know how to deal with files, but how do I deal with the ActiveX EXEs? ...
Next » 2 3 4 5 6 7 8 9 10