• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

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
0
dingo11
Asked:
dingo11
  • 5
  • 4
1 Solution
 
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
 
MikeRenzCommented:
did you try removing the dsn on the xp machine, and running the app?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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
 
TomLaw1999Commented:
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
 
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

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now