Solved

VB6/SQL Server apps really slow on new Windows 8

Posted on 2014-04-07
2
1,403 Views
Last Modified: 2014-04-07
We have installed a load of new Windows 8 machines over the weekend, and the VB6/ SQL Server apps that ran fine before are running really slowly now.

My laptop is also windows 8 and the applications run fine from there.
They are currently located on a share on the server, but even copying them locally has no effect.
My own thought is that it is the link to  the SQL Server which is causing the problem. but I may be wrong.

 Any ideas anyone?
0
Comment
Question by:grwallace
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
JoseBarroso earned 500 total points
ID: 39983086
Hi,

If you have MS Access installed on you computer you can try to see how fast the connection goes, in Access you can use the External Data or Database Tools to connect to SQL Server. If everything goes fine then probably is not a problem from SQL Server, so, you can try this:

1. On your VB6 connectionString you can try to replace the name of the server by its IP, for example, "SERVERSQL"  by "192.168.1.1" and try again.

2. I also have some aplication on VB6 on W8 and I use this connectionString, try to see if this work better:

Option 1.
Provider=SQLOLEDB.1;Password=YOUR_SQL_PASSWORD;Persist Security Info=True;User ID=sa;Initial Catalog=YOUR_DATABASE_NAME;Data Source=192.168.1.1

Option 2.
Provider=SQLOLEDB.1;Password=YOUR_SQL_PASSWORD;Persist Security Info=False;User ID=sa;Initial Catalog=YOUR_DATABASE_NAME;Data Source=192.168.1.1\YOUR_INSTANCE_NAME

Just change it to your IP and complete with your data.

Hope this help.
0
 

Author Closing Comment

by:grwallace
ID: 39983114
Thanks for your help and your efforts, but I have just managed to work out that the problem is being caused by Trend Micro A/V Software!
Will give you the points anyway for your efforts :-)
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question