BluebearXPVB Posted April 30, 2008 Posted April 30, 2008 I have a VB 6 program that was running great on a win 98se pc, we changed out the pc for a new one running xp and now the VB program hangs. If I run the program from debug, everything executes correct. I was wondering if the Sleep command is not being accomplished during the Run but it sure seem to be when in Debug. Any suggestions?
cluberti Posted May 1, 2008 Posted May 1, 2008 Would you be able to get a hang dump of the application when it's hung?
BluebearXPVB Posted May 1, 2008 Author Posted May 1, 2008 It appears that the program doesn't hang. I thought it was hanging but what is happening is that the data that is suppose to be displayed in the "txtBox" is not being displayed and the data is not being sent to the "Print" file even though the file was opened. Like I said this works correctly if stepped through during Debug but under the Run command the data is missing.
frog357 Posted May 5, 2008 Posted May 5, 2008 Are you using any COM components or ActiveX or calling .dll files or anything?I write a lot of VB 6 programs that work on all versions of windows and I don't think I've seen much of what you say, I do see it the other way, works in XP but not in 98, that's common but going the other way not much is missing or changed to prevent it from working.Do you have the vb6 runtimes updated on the XP machine?Also, do you have your VB environment updated to the latest SP on your dev machine?Compile from the 98 machine, does it make any difference?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now