Design Review

Reply
Active Member
Posts: 7
Registered: ‎08-29-2008
Message 11 of 13 (909 Views)

Re: ADR 2011 Api & VB2010 Express

03-06-2012 02:22 PM in reply to: vgottipa

Yes. The targeted environment is x86 and .Net Frameworks 3.5.

Has anybody managed to successfully use the DWF Viewer Control with VS2010? If so, what did the trick?

By the way I am using VS2010 Ultimate with SP1 on the Windows 7 Professional.

 

Alex

Valued Contributor
FRFR1426
Posts: 70
Registered: ‎04-05-2012
Message 12 of 13 (805 Views)

Re: ADR 2011 Api & VB2010 Express

10-08-2012 06:48 AM in reply to: alexs

Old thread, but if it can help someone. I've managed to get it works:

 

  1. Open a console and browse to C:\Program Files (x86)\Common Files\Autodesk Shared\DWF Common\ ;
  2. Run aximp.exe AdView.dll. Two files are generated: ExpressViewerDll.dll and AxExpressViewerDll.dll ;
  3. Add the AxExpressViewerDll.dll as a reference to your VS solution ; 
  4. In the load event of your form, create the control by code:

 

var aev = new AxExpressViewerDll.AxCExpressViewerControl();
Controls.Add(aev);
aev.Dock = DockStyle.Fill;

 

 

Valued Contributor
Posts: 70
Registered: ‎10-17-2003
Message 13 of 13 (146 Views)

Re: ADR 2011 Api & VB2010 Express

02-18-2014 10:54 AM in reply to: FRFR1426

Hi,

 

I'm trying your solution but I was not able to extract axExpressViewerDLL.dll. There is no registered Activez Control found in adview.dll.

 

Regards,

 

André

 

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community