-
March 6th, 2012, 03:40 AM
#1
[Help Required] Platform Related issues in visual basic program
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...
-
March 6th, 2012, 04:11 AM
#2
Re: [Help Required] Platform Related issues in visual basic program
Have you tried the 'Any CPU' option????
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
March 6th, 2012, 04:12 AM
#3
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
-
March 6th, 2012, 08:21 AM
#4
Re: [Help Required] Platform Related issues in visual basic program
But then i'd say your using old drivers to open the DB.. Not the built in .NET drivers...
Post the code used to open the DB so that we can check for ya...
please use code tags..
[code] Your Code [/code]
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|