VB Program installed on XP Not Refreshing Data

Hi,
We have a data program that works perfectly on Windows 2000, when we run the code on XP and change the database via a system dsn the database not change. The table info viewed in our product table remains the same is one example. Thank you,
Derrick
dingo11Asked:
Who is Participating?
 
TomLaw1999Connect With a Mentor Commented:
My database application had to be modified to work correctly under XP. Turns out that Microsoft made some changes to ADO.(MDAC2.7 is used in XP). Don't know if this is related to your problem.
0
 
MikeRenzCommented:
Are you sure that the application is relying on that system dsn for the database connection?  Try removing the dsn completely, and see if the application shows data.
0
 
dingo11Author Commented:
Mike,
I am positive. Like I said it works perfectly on windows 2000.
d
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

 
MikeRenzCommented:
did you try removing the dsn on the xp machine, and running the app?
0
 
dingo11Author Commented:
Mike,
the dsn name is not changed, the database is changed

mike I am more concerned as to why it works perfectly on 2000 and not on XP
d
0
 
MikeRenzCommented:
xp does a lot on its own.  If you moved or renamed something, its very possible that it will continue to look at the original.

Did you write the vb app?  how does it look for the database?
0
 
dingo11Author Commented:
i didn't write the app, i just started here and it is one of the outstanding issues.

that makes sense about the xp pointing toward the same loc, i am not certain is the dsn is deleted, or if the db is changed. my boss took her xp machine with her.

mike i find it hard to believe we are the only ones to have stumbled across this prob.
0
 
MikeRenzCommented:
it really seems like its using a path to the old database, rather than the dsn.  Guess we'll have to wait to test it out.
0
 
dingo11Author Commented:
thanks i got to call it quits for the day - and my test computer has left the building

i will be back
0
 
dingo11Author Commented:
Thank you! That did the trick. Have a great day programming,
d
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.