Solved

VB Program installed on XP Not Refreshing Data

Posted on 2002-03-13
10
142 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 3

Expert Comment

by:MikeRenz
ID: 6861915
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
ID: 6861988
Mike,
I am positive. Like I said it works perfectly on windows 2000.
d
0
 
LVL 3

Expert Comment

by:MikeRenz
ID: 6862009
did you try removing the dsn on the xp machine, and running the app?
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

Author Comment

by:dingo11
ID: 6862075
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
ID: 6862096
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
 

Author Comment

by:dingo11
ID: 6862170
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
ID: 6862264
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
ID: 6862269
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
ID: 6862388
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
ID: 6896487
Thank you! That did the trick. Have a great day programming,
d
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

738 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