- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Sorry - but I just can't get this thing to work (DWGThumbnail). I have read everything I could find.
Here is my problem in a nutshell: I am creating a Windows forms application that includes the AutoCAD DWG Thumbnail OCX control on the form. I can't get this to work on a Windows 7 64bit machine.
On my develpment machine (which is Windows Vista 32 bit), I created a small Winform app, added the COM AutoCAD Thumbnail OCX reference (DWGTHUMBNAIL.OCX) version 2.0.
Then placed this control on my form. Visual Studio then adds the references to the project: Interop.DWGTHUMBNAILLib.dll and AxInterop.DWGTHUMBNAILLib.dll. I set them to 'Copy Local'. So far so good.
I run the project in debug mode and it starts and runs fine (on the development machine).
I publish the app using ClickOnce (how I have deployed many apps).
Install the app on the Win7 64 bit machine and get: 'Exception from HRESULT: 0x80040154 REGDB_E_CLASSNOTREG...'
I have tried copying Both DLL's and registering them with Regsvr32, I have tried using Regasm, every which way!
Is this the correct version of the DWG Thumbnail control?
Why can't Autodesk make a .Net assembly of it???
Note - I am not a member of ADN, so I can't get any stuff there.
Help!!!
Solved! Go to Solution.