Solved

Cdate erring on only one machine?

Posted on 2002-05-23
6
183 Views
Last Modified: 2007-11-27
A perticular win98 machine crashes with my software.
The "Software" runs great on 100's of other machines and operating systems.

The Date calculations on this machine, crash it.
CDATE returns wrong info.

Ive tried changing the date format etc,
of course thats not it, as it does not effect cdate.

Ii think Cdate confuses the month/year but only
on this machine.


Any help greatly appreciated.  

0
Comment
Question by:josmic
6 Comments
 
LVL 2

Expert Comment

by:ventond
ID: 7030852
The CDate routine is probably inside a DLL that is not on that one machine. I can't think of which offhand, but there are programs that take a snapshot of the DLL's that are in memory. So find one of these, run your program on a good machine, take a snapshot. Find which DLL is missing on the bad machine.
0
 
LVL 6

Accepted Solution

by:
xSinbad earned 325 total points
ID: 7030931
I think it is from the MSVBVM60.DLL.
0
 
LVL 1

Expert Comment

by:johnsand
ID: 7031001
Your not set to a different region on that machine are you?  Like United Kingdom instead of United States....
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:josmic
ID: 7031017
its united states
0
 
LVL 14

Expert Comment

by:Matti
ID: 7033760
Hi!

Check the version of MSVBVM60.DLL, could be XP version or a beta. Make sure it's the same you got when you installed VB service pack.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q290887

Or that user has some diferent date format's in use...
About the calc problem, what's the error number and code line.  

Matti
0
 

Author Comment

by:josmic
ID: 7034074
Thanks for the help

I cannot access the machine until monday
I will post the details then
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now