Hi Friends,

I am facing a certain problem in a program that i am writing. I am using Visual Basic 2008 on a 64 bit Win 7 OS. The program i am writing calculates the hash of certain windows processes and then stores them in an Access database (2003 .mdb type).

Now the problem that occurs is that to access the database I make changes as

Project (right click) -> Properties -> Compile -> Advanced Compile Options -> Target CPU to x86

But when i use this setting the program throws a file not found exception when it tries the access the windows/system32 folder.

So to access the windows/system32 folder i have to use the settings as :

Project (right click) -> Properties -> Compile -> Advanced Compile Options -> Target CPU to x64

but on using this setting i cannot access the database.

Can anybody help me with this (if u can understand my problem)
thanks in advance friends...