[Help Required] Platform Related issues in visual basic program
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...
Re: [Help Required] Platform Related issues in visual basic program
Originally Posted by GremlinSA
Have you tried the 'Any CPU' option????
when i set the target anyCPU the database connection does not work because the jet driver is not for 64 bit systems. But the hash function fetches files from the windows/system32 folder. Is there any way to access the access database using target anyCPU