Solved

VB6/SQL Server apps really slow on new Windows 8

Posted on 2014-04-07
2
1,371 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
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

803 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