Internet Explorer Windows 7 64 bit

  • Thread starter Thread starter Mel Weaver
  • Start date Start date
M

Mel Weaver

I'm trying to create an Internet Explorer object using the below code. It
works fine in XP and Windows 7 32 bit. But it using the Windows 7 64 bit,
which has a 32 bit IE and a 64 bit IE, it opens a 64 bit browser which does
not load the toolbar and extension in the add-ons. I'm looking for an idea
how to default to the 32 bit IE.

object IeApplication = null;
public IEHelper()
{
Type ieType = Type.GetTypeFromProgID("InternetExplorer.Application");
IeApplication = Activator.CreateInstance(ieType);
}
 
I'm trying to create an Internet Explorer object using the below code. It
works fine in XP and Windows 7 32 bit. But it using the Windows 7 64 bit,
which has a 32 bit IE and a 64 bit IE, it opens a 64 bit browser which does
not load the toolbar and extension in the add-ons. I'm looking for an idea
how to default to the 32 bit IE.

object IeApplication = null;
public IEHelper()
{
Type ieType = Type.GetTypeFromProgID("InternetExplorer.Application");
IeApplication = Activator.CreateInstance(ieType);
}

This is a total guess... Build your code for 32 bit "x86", not "any cpu".
 
Back
Top