Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Basic 4.0 question - please

Status
Not open for further replies.

JFF

Programmer
May 6, 2001
13
US
This probably doesn't belong on the VB 5.0 and 6.0 forum, but I'm desperate and hope someone may help.

We have a 3rd party app created in Visual Basic 4.0 that we used to run in Windows 98 fine. We recently did a clean install of Windows XP Professional Upgrade from scratch. Then we installed the VB 4.0 3rd party program and restored the data for the program.

The program runs fine in XP except for one problem. In a date field on a form that used to automatically insert the current date when we entered a new record, it now has "mmddyy" in the field instead. We can enter all other data in the form and run the program fine, except for that one field that has the problem.

Does anyone have any advice?

Thanks in advance.
john
 

Hi

I'm not very familiar with XP but---

The first thing I would look at is your windows date configuration.

Maybe I'm just shooting in the dark, but I once had a similar type problem with a clients machine.

Good luck

bob



 
I recall a similar problem with W2000. The application was setting the shortdate format in the registry to a format that was not valid. It seemed to mess up viewing dates even in explorer.

I mentioned this because mmddyy is not a valid short date format.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top