This sounds like it could be something to do with the font size settings on the PC i.e. small or large fonts. I had a similar issue with one of my forms, the only way i resolved it was to make sure it looked ok on 'Large Fonts' and then it normally looked ok on Small Fonts too.
Dave
> but sleep will make it ignore the shutdown signal, wont it?
It will, which is why I have suggested he makes it sleeps for shorter periods within a loopp and does a DoEvents after each shorter sleep
The problem is that you program is doing the sleep in one lump.
You could maybe try changing it so that it sleeps for lots of smaller times in a loop and put a DoEvents in with it to allow the program to respond to Windows trying to close it.
e.g.
Add a new integer varaible Counter and then...
Without seeing the code it is difficult to know why it is hanging up.
However doing some of these may help.
- Use DoEvents in any big loops, this should mean that when Windows tries to kill the app the command will get acted upon and it should shut down
- Try to make sure that all forms...
Pressed the enter key too soon again.
You can specify where you want the files to go on the user's PC but i usually just leave the default values it gives.
After using the Package & Deployment Wizard you are usually left with a Setup.exe file and a cab file containing all the files required to...
Forgot to say the Package & Deployment Wizard should work out what you need to include in the package to ensure that your program will succesfully install on most PCs.
Hi Christian,
It may be enough to copy the VB6 runtime dll "MSVBVM60.DLL" into the user's C:\WINNT\system32 (or equivalent) directory
However you should really look in to using the "Package & Deployment Wizard".
It is avaiable at Start->Programs->Microsoft Visual Studio 6.0 -> Microsoft Visual...
Hi Greg,
Here is an idea you might want to consider.
In the load event for the form where the users add/modify a client set the focus to the first text box
e.g txtFirstName.setfocus or whatever.
Then if the user wants to select someone out of the combobox they will do so as it is natural to...
Hi Warren,
You have not given any dimensions to your FileArray array.
You need to either give it a size as you declare it i.e.
Dim FileArray(10) As String
or
ReDim as you go along
i.e.
For Each sf In f.SubFolders
ReDim Preserve FileArray(i) ' ReDim array here and preserve contents...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.