Solved

Cdate erring on only one machine?

Posted on 2002-05-23
6
188 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

726 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