How to set Platform to x86 in VB 2008 Express?

  • Thread starter Thread starter Woodie Morris
  • Start date Start date
W

Woodie Morris

Subject says it all. Only option available is 'Any CPU' and an activex
control I want to use requires x86. I know it's possible, - I've done it for
another project, but for the life of me I can't remember how.

Thanks - Woodie
 
Subject says it all. Only option available is 'Any CPU' and an activex
control I want to use requires x86. I know it's possible, - I've done it for
another project, but for the life of me I can't remember how.

Thanks - Woodie

I believe your lookign for:
Project -> <project name> Properties -> Compile. Set Configuration to "All
Configurations". Select Advanced Compile Options. Set the Target CPU
dropdown to x86
 
Thanks Tom, but there's no drop-down in the Advanced compile options window,
only the main compile tab window has the dropdowns you mentioned, and the
only option in the target cpu dropdown is Any CPU. I think this is because
it's the express edition, but there is a way to enable the additional
options.

-Woodie
 
Woodie said:
Subject says it all. Only option available is 'Any CPU' and an activex
control I want to use requires x86. I know it's possible, - I've done it for
another project, but for the life of me I can't remember how.

Open the configuration manager:
http://msdn.microsoft.com/en-us/library/t1hy4dhz.aspx

It's also available in the Express version. In the "Active solution platform" combo box,
select "new". In the following dialog box, select "x86".
 
Thanks Tom, but there's no drop-down in the Advanced compile options window,
only the main compile tab window has the dropdowns you mentioned, and the
only option in the target cpu dropdown is Any CPU. I think this is because
it's the express edition, but there is a way to enable the additional
options.

-Woodie

Could be - the steps I gave were exactly how it appears in my VS2008
professional. I don't have express, so it's possible it's different.
 
Back
Top