What about in XP Pro 64 Bit... I cant get the ExpressViewerDll 1.0 Type
Library to show on a form... This same control with build and load fine on
XP Pro.
See the exeption that is a result:
System.InvalidOperationException: An error occurred creating the form. See
Exception.InnerException for details. The error is: is not a valid Win32
application. (Exception from HRESULT: 0x800700C1) --->
System.BadImageFormatException: is not a valid Win32 application.
(Exception from HRESULT: 0x800700C1)
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid,
Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid
clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at GPS.frmViewED.InitializeComponent() in C:\Documents and
Settings\rlester.GMSINC\My Documents\Visual Studio
2008\Projects\GPS\Forms\Extrusions\frmViewED.Designer.vb:line 113
at GPS.frmViewED..ctor()
--- End of inner exception stack trace ---
at GPS.My.MyProject.MyForms.Create__Instance__(T Instance) in
17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
at GPS.My.MyProject.MyForms.get_frmViewED()
at GPS.frmExtrusions.Dt_ExtrudersDataGridView_CellContentClick(Object
sender, DataGridViewCellEventArgs e) in C:\Documents and
Settings\rlester.GMSINC\My Documents\Visual Studio
2008\Projects\GPS\Forms\Extrusions\frmExtrusions.vb:line 127
-----------------------------------------------------------------------------------------------------
System.BadImageFormatException: is not a valid Win32 application.
(Exception from HRESULT: 0x800700C1)
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid,
Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid
clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at GPS.frmViewED.InitializeComponent() in C:\Documents and
Settings\rlester.GMSINC\My Documents\Visual Studio
2008\Projects\GPS\Forms\Extrusions\frmViewED.Designer.vb:line 113
at GPS.frmViewED..ctor()
"Tony Tanzillo" wrote in message
news:5226793@discussion.autodesk.com...
Windows forms can host activex controls.
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com
wrote in message news:5226017@discussion.autodesk.com...
What's the best way to view a DWF file on a windows form? I don't need to
edit anything, just display the contents of a single page dwf file.
Thanks