Design Review

Reply
Active Member
alexs
Posts: 7
Registered: ‎08-29-2008
Message 11 of 14 (1,097 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: 87
Registered: ‎04-05-2012
Message 12 of 14 (993 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: 89
Registered: ‎10-17-2003
Message 13 of 14 (334 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é

 

Active Member
nstone
Posts: 10
Registered: ‎10-02-2007
Message 14 of 14 (53 Views)

Re: ADR 2011 Api & VB2010 Express

09-10-2014 05:17 PM in reply to: andred

You still need to build the solution with .net 3.5 framework and a platform target x86

 

and this worked for me.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.