Visual Studio 2012 Compile 32bit on x64 Machine?

I created a console application for a client and they want to run it on a Windows Server 2003. How do I compile the console app to 32 bit. I've already tried to go into configuration properties and I change the debug build to x86 then recompile the program. and still no luck. Do you if I install VS 2008 and rebuild console app in there if that would work. Seems kind of silly if it does but i can think of a reason what compiling in x86 is not working

that is what it was set as. I changed it to x86 which didn't help either. What I finally ended up doing was rebuild in VS 2010 with x86 and that worked which is kind of stupid. The must be another work around within 2012.

1. You specify an incorrect AppPath. Your VaultDB may be just "database\vault.laccdb".
You can use AppPath = Application.StartupPath().Replace("\bin" , "\") if the Access file is stored in the application folder.
2. Do you really want to open the .laccdb lock file? Change it to .accdb if not.
3. Why don't you use OleDB instead of ADOB?
4. Add Try-Catch-End Try for error handler.

Copyright 1998-2015 Ziff Davis, LLC (Toolbox.com). All rights reserved. All product names are trademarks of their respective companies. Toolbox.com is not
affiliated with or endorsed by any company listed at this site.