Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My Old VB6 application is running very slow on New Vista OS

Status
Not open for further replies.

mark01

Technical User
Jan 17, 2001
600
US
I have an application I made in VB6, which has been running fine for years on Windows 98/2000/XP. I recently tried it on Vista, and works 70% of them time, but the other 30% of the time, it is very sluggish. Sometimes it takes 3 minutes for the application to become 'unstuck'.

Has anyone else had this problem? Would reprogramming it in a newer programming language help?

Thanks

(Basically the application just copies files to/from a server)
 
I assume the "server" here is a file server rather than something like a web server.

Vista has some new things it requires by default such as NTLMv2 authentication to file shares. I'd think that issue would leave you in a "go or no go" situation rather than with a performance problem however.

I have read of rumors of Jet MDB performance problems with multiple users hitting the file from Vista clients. I haven't read of a resolution (or debunking) yet though.

I suspect you aren't seeing a "language" issue but rather a network configuration issue.
 
Thanks for the reply. It is not a network config issue for sure. I double checked my settings, and everything works great. Everything except my VB6 application. Its a brand new machine with all the requirements of Vista. The only thing different is the OS. I even upgraded the memory, and still has issues. I also turned off Vista's UAC, which I thought for sure was the problem initially, and still has the problems.

I have come to the conclusion that it has got to be something in my VB6 app. Has anyone had any issues with any code from vb6 on vista? Everything works great, but get a delay of 3 minutes or so at random times in the application.

Thanks
 
If you are using old winsocks, maybe you should get a newer one.
I had problems with a blocking winsock in Win98 that didnt happen in W2000 or XP
In the end I used the catalyst socketwrench instead of Windows Winsock.
 
I'm using a 2003 R2 server. Copying files using the fso.copyfile method.

I will check on the winsocks, and let you know...

Thanks
 
No, this has nothing to do with "winsocks."


Have you tried turning off autotuning?

[tt]netsh int tcp set global autotuninglevel=disable[/tt]

Restore via:

[tt]netsh int tcp set global autotuninglevel=normal[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top