VB6 Help On A Program
#1
Can anybody help,
outsourced a VB6 project, it came back works fine in english uk/us, will not work say if the regional settings on PC are anything else.
Stumped, looking for suggestions.
When you run the "program" it runs on input screen where you enter a number between "x" and "y", it reports error
"entry must be numeric value between 0.01 and 10.0"
"run time error 5 invalid procedure call or argument"
BUT
if PC set to UK/US all goes fine.
any ideas folks
thanks in advance
jase
outsourced a VB6 project, it came back works fine in english uk/us, will not work say if the regional settings on PC are anything else.
Stumped, looking for suggestions.
When you run the "program" it runs on input screen where you enter a number between "x" and "y", it reports error
"entry must be numeric value between 0.01 and 10.0"
"run time error 5 invalid procedure call or argument"
BUT
if PC set to UK/US all goes fine.
any ideas folks
thanks in advance
jase
#6
Scooby Regular
Join Date: Mar 2000
Location: Gloucestershire, home of the lawnmower.
Posts: 4,531
Likes: 0
Received 0 Likes
on
0 Posts
Jase,
As Fosters says. Quite a few countries have the comma as their decimal point.
So, if you are set to, say Danish, entering 10.0 will give a "not numeric value" message (or similar) because the . isn't classed as numeric. However, entering 10,0 should work fine.
Of cousre, whoever wrote it should check for the region set and get the decimal seperator.
The software then should then only accept the correct seperator in the control.
Cheers
Ian
[Edited by IWatkins - 10/29/2002 2:26:21 PM]
As Fosters says. Quite a few countries have the comma as their decimal point.
So, if you are set to, say Danish, entering 10.0 will give a "not numeric value" message (or similar) because the . isn't classed as numeric. However, entering 10,0 should work fine.
Of cousre, whoever wrote it should check for the region set and get the decimal seperator.
The software then should then only accept the correct seperator in the control.
Cheers
Ian
[Edited by IWatkins - 10/29/2002 2:26:21 PM]
Thread
Thread Starter
Forum
Replies
Last Post
Steve Breen
ScoobyNet General
87
05 August 2001 05:29 PM
johnfelstead
ScoobyNet General
27
26 February 2001 05:48 PM