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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running VB6 app in Sweden 1

Status
Not open for further replies.

mikelake

Programmer
Apr 10, 2001
2
GB
Does anyone have any experience of running VB6 apps in Sweden?

I have an app which has been put together with the Package & Deployment wizard but does not run on Swedish Windows.

I have Service Pack 3 installed and I downloaded IPDK from MS but this does not handle Swedish.

I am clutching at straws but the fact that it is running under Swedish Windows seems to be the only option left!

 
Hi Mike!

I've got plenty of experiense coding VB for Swedish computers, and I have never encountered any problems related to language (that will prevent the app from running or compiling that is... åäö is still a bitch! :).

Like John I suggest that you apply all servicepacks and hotfixes.
Another thing to look for is that you haven't applied an english servicepack to a Swedish installation, as that may foul up the computer totally.
The esiest way to see this is if you got some menus in english and some in Swedish.

BTW how's Annika?

Good Luck
-Mats Hulten
 
Still no joy.

I have used VB6 and SP5. Customers in USA/UK have no problems. Customer in Sweden gets a GPF almost as soon as program loads. Customer in Germany has non-logic-related problems.

There MUST be something which is Windows-language-dependent that I have overlooked.

Any suggestions welcomed because I am tearing my hair out!

mike.lake@dryfire.com
 
Could you be more specific about "non logic related problems"?

The following are som pretty basic things to try, i suspect that you already have tried the most or all of them.

1: Are you sure the problem is related to language and not the machines themselves? Try and check out all the DLL:s and other resources (like databases and stuff) that the program calls in the machines that go GPF and compare the versions to the other machines. Microsoft has a DB on their website where you can see witch DLL ships with what product. You should also search the KB for any information regarding the resources you use.

2: Install VB on one of the machines that go GPF and run the app in debug mode. Open an external debug file and print every step of the way to it, so the information will survive GPF. (Don't know if you can reroute the debug statement.)

3: Search your code for functions or subs that use dates and time. The problem could be related to use of hardcoded dateformats in US long date format (or other dateformats... ) that are being evaluated by built in functions like FormatDate or IsDate that evaluates against Windows system date format, thereby causing a conflict.

4: If the app connects to a DB, make sure both the DB-server and the app uses the same general country settings as this to may cause problems. If you have migrated the DB to MS SQL2K check for 'TS' statements sent to the server. (I know this particular statement can cause problems.)

5: Try to analyse the problems you get when running the app on a German machine to those you get when you run them on a Swedish. Most likely you don't have two separate problems, but one that shows itself in two different ways.

Basic stuff I know, but I hope it can at least provide you with some inspiration.

Good Luck
-Mats Hulten
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top