MSFN Forum: VB problem in XP - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

VB problem in XP VB Program that ran on Win98 but not on XP Rate Topic: -----

#1 User is offline   BluebearXPVB 

  • Group: Members
  • Posts: 2
  • Joined: 30-April 08

Posted 30 April 2008 - 04:07 PM

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?


#2 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 10,936
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 May 2008 - 06:46 AM

Would you be able to get a hang dump of the application when it's hung?

#3 User is offline   BluebearXPVB 

  • Group: Members
  • Posts: 2
  • Joined: 30-April 08

Posted 01 May 2008 - 10:41 AM

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.

#4 User is offline   frog357 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 05-May 08

Posted 05 May 2008 - 01:11 PM

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?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy