Problems with the "Now" function 
Author Message
 Problems with the "Now" function

I got some strange problems with the "Now" function in Visual Basic
v.4.0-16bit.

I use the function DateDiff to calc the number of days between some a date
and "Now". The problem is that on all machines in Croatia which has my
system installed the function "Now" returns an empty string and this
ofcourse gives an error when used in DateDiff (type mismatch: error
no. 13).

We have installed the program on more than 200 machines in 8 countries and
never seen the problem before.

Hope someone can help me.



Wed, 24 Oct 2001 03:00:00 GMT  
 Problems with the "Now" function


Quote:
> I got some strange problems with the "Now" function in visual basic
> v.4.0-16bit.

> I use the function DateDiff to calc the number of days between some a date
> and "Now". The problem is that on all machines in Croatia which has my
> system installed the function "Now" returns an empty string and this
> ofcourse gives an error when used in DateDiff (type mismatch: error
> no. 13).

> We have installed the program on more than 200 machines in 8 countries and
> never seen the problem before.

> Hope someone can help me.

That's a known bug in VB4-16. A lot of date a mathematical functions will
generate a 13-Type Mismatch error if your regional settings aren't English.
Microsoft put out a fix for this problem -- VB5.

Chad00



Fri, 02 Nov 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problem With "window.showmodaldialog("")"

2. DatePart Function "yy" problem

3. "Function address" problem

4. Problems regarding "Round" function

5. I have problem using function "Shell"

6. Problems with "DIR" function

7. Problem with "Open" function

8. problems with mySQL "floor/ceiling" function

9. "Pure Virtual Function Call" Problem

10. Problem with "Open" function

11. Problem with "Open" function

12. Problem with "MoveMemory" function

 

 
Powered by phpBB® Forum Software