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 29 October 2002, 01:53 PM
  #1  
jase555
Scooby Regular
Thread Starter
 
jase555's Avatar
 
Join Date: Apr 2000
Posts: 1,209
Likes: 0
Received 0 Likes on 0 Posts
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
Old 29 October 2002, 01:56 PM
  #2  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

fancy posting up the code around the breakpoint?

David
Old 29 October 2002, 01:57 PM
  #3  
super_si
Scooby Regular
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

run debug
Old 29 October 2002, 02:03 PM
  #4  
jase555
Scooby Regular
Thread Starter
 
jase555's Avatar
 
Join Date: Apr 2000
Posts: 1,209
Likes: 0
Received 0 Likes on 0 Posts
Post

think the cd is locked, its not an open program , you install the cd
Old 29 October 2002, 02:17 PM
  #5  
Fosters
Scooby Regular
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Post

tried using a comma?
Old 29 October 2002, 02:23 PM
  #6  
IWatkins
Scooby Regular
 
IWatkins's Avatar
 
Join Date: Mar 2000
Location: Gloucestershire, home of the lawnmower.
Posts: 4,531
Likes: 0
Received 0 Likes on 0 Posts
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]
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Steve Breen
ScoobyNet General
87
05 August 2001 05:29 PM
ChristianR
Non Scooby Related
1
16 June 2001 09:36 PM
johnfelstead
ScoobyNet General
27
26 February 2001 05:48 PM
classicrs
Non Scooby Related
4
19 February 2001 12:08 AM
Kev
Non Scooby Related
7
03 December 2000 06:34 PM



Quick Reply: VB6 Help On A Program



All times are GMT +1. The time now is 06:23 PM.