Solved

VB Program installed on XP Not Refreshing Data

Posted on 2002-03-13
10
138 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
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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA color chart bars 12 78
VBA to copy paste columns form one file to other 20 85
VB6 Compile Compatibility Issue 4 90
clicking a shape in a frame array vb6 3 40
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we 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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

920 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

18 Experts available now in Live!

Get 1:1 Help Now