Design Review

Reply
Active Member
alexs
Posts: 7
Registered: ‎08-29-2008
Message 11 of 13 (1,021 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: 72
Registered: ‎04-05-2012
Message 12 of 13 (917 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
andred
Posts: 82
Registered: ‎10-17-2003
Message 13 of 13 (258 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
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

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

Ask the Community