Design Review

Design Review

Reply
Active Member
7 Posts
0 Kudos
Registered: ‎08-29-2008
Post 11 of 14

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

Distinguished Contributor
109 Posts
7 Kudos
Registered: ‎04-05-2012
Post 12 of 14

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
89 Posts
1 Kudo
Registered: ‎10-17-2003
Post 13 of 14

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é

 

Contributor
11 Posts
0 Kudos
Registered: ‎10-02-2007
Post 14 of 14

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