How to set Platform to x86 in VB 2008 Express?

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
 
T

Tom Shelton

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
 
W

Woodie Morris

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
 
A

Armin Zingler

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".
 
T

Tom Shelton

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top