Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

VB6 Help On A Program

Thread Tools
 
Search this Thread
 
Old Oct 29, 2002 | 01:53 PM
  #1  
jase555's Avatar
jase555
Thread Starter
Scooby Regular
 
Joined: Apr 2000
Posts: 1,209
Likes: 0
Post

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
Reply
Old Oct 29, 2002 | 01:56 PM
  #2  
David_Wallis's Avatar
David_Wallis
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Post

fancy posting up the code around the breakpoint?

David
Reply
Old Oct 29, 2002 | 01:57 PM
  #3  
super_si's Avatar
super_si
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

run debug
Reply
Old Oct 29, 2002 | 02:03 PM
  #4  
jase555's Avatar
jase555
Thread Starter
Scooby Regular
 
Joined: Apr 2000
Posts: 1,209
Likes: 0
Post

think the cd is locked, its not an open program , you install the cd
Reply
Old Oct 29, 2002 | 02:17 PM
  #5  
Fosters's Avatar
Fosters
Scooby Regular
 
Joined: Jul 2000
Posts: 2,145
Likes: 0
From: Islington
Post

tried using a comma?
Reply
Old Oct 29, 2002 | 02:23 PM
  #6  
IWatkins's Avatar
IWatkins
Scooby Regular
 
Joined: Mar 2000
Posts: 4,531
Likes: 0
From: Gloucestershire, home of the lawnmower.
Post

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]
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Steve Breen
ScoobyNet General
87
Aug 5, 2001 05:29 PM
ChristianR
Non Scooby Related
1
Jun 16, 2001 09:36 PM
johnfelstead
ScoobyNet General
27
Feb 26, 2001 05:48 PM
classicrs
Non Scooby Related
4
Feb 19, 2001 12:08 AM
Kev
Non Scooby Related
7
Dec 3, 2000 06:34 PM




All times are GMT +1. The time now is 09:16 AM.