Link to home
Start Free TrialLog in
Avatar of dingo11
dingo11

asked on

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
Avatar of MikeRenz
MikeRenz

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.
Avatar of dingo11

ASKER

Mike,
I am positive. Like I said it works perfectly on windows 2000.
d
did you try removing the dsn on the xp machine, and running the app?
Avatar of dingo11

ASKER

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
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?
Avatar of dingo11

ASKER

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.
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.
ASKER CERTIFIED SOLUTION
Avatar of TomLaw1999
TomLaw1999
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dingo11

ASKER

thanks i got to call it quits for the day - and my test computer has left the building

i will be back
Avatar of dingo11

ASKER

Thank you! That did the trick. Have a great day programming,
d