Solved

VB Program installed on XP Not Refreshing Data

Posted on 2002-03-13
10
137 Views
Last Modified: 2010-05-02
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
Comment
Question by:dingo11
  • 5
  • 4
10 Comments
 
LVL 3

Expert Comment

by:MikeRenz
Comment Utility
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
 

Author Comment

by:dingo11
Comment Utility
Mike,
I am positive. Like I said it works perfectly on windows 2000.
d
0
 
LVL 3

Expert Comment

by:MikeRenz
Comment Utility
did you try removing the dsn on the xp machine, and running the app?
0
 

Author Comment

by:dingo11
Comment Utility
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
 
LVL 3

Expert Comment

by:MikeRenz
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:dingo11
Comment Utility
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
 
LVL 3

Expert Comment

by:MikeRenz
Comment Utility
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
 
LVL 4

Accepted Solution

by:
TomLaw1999 earned 76 total points
Comment Utility
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
 

Author Comment

by:dingo11
Comment Utility
thanks i got to call it quits for the day - and my test computer has left the building

i will be back
0
 

Author Comment

by:dingo11
Comment Utility
Thank you! That did the trick. Have a great day programming,
d
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now