0
Reply

After un-install the program data file remain same as before in Vista!

Iftekher Islam

Iftekher Islam

Aug 24 2010 3:33 AM
1.6k
I have developed a win form application with .NET 3.5 and C# in Visual Studio 2008. This application using Microsoft Access 2003 file as database. My development machine have Windows XP installed.

When I've completed the development of the application, I've created setup project for this, which is keeping the database in windows Common Application Data folder (in xp: C:\Documents and Settings\All Users\Application Data, and in vista: C:\ProgramData).

I've installed the application in Vista and XP machine. Its working as desired except few small bugs. Then I've un-installed the program and installed it again in XP and Vista machine. And here comes the BIG issue. In XP it s working nicely. But in Vista the program displaying an error which saying some data file path is missing (I am saving some file path in DB field.) After some research I found that this error actually raised for some files which was created after previous install. My question is, I HAVE UN-INSTALLED THE PROGRAM SUCCESSFULLY, SO THE DATABASE I USED IS ALSO DELETED PHYSICALLY, THEN HOW THE NEWLY INSTALLED APPLICATION FIND DATA FROM PREVIOUSLY INSTALLED APPLICATION???????

This is only happening in Vista (don't know about Win 7). Please let me know if anyone solved this problem.