To find this:
- Open the Project menu and select Properties (at the bottom).
- Click the Build tab.
- Set the Platform Target to Any CPU, x86, or x64.
I haven't tried running applications built on one platform on a different platform but I think the "Any CPU" setting should work on both.
Visual Basic programs are compiled into IL (Intermediate Language) not into native machine instructions so they can be executed on any machine that has the .NET Framework installed. So at that level it shouldn't matter.
When the program runs, the JIT (Just In Time) compiler converts the IL into native code as it runs so then it needs to be 32-bit or 64-bit, but that's the job of the Framework version installed on the target computer so it doesn't really matter to you.
To summarize, I would just select "Any CPU" and not worry about it.