Design Review

Reply
Active Member
alexs
Posts: 7
Registered: ‎08-29-2008
Message 11 of 14 (1,177 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: 91
Registered: ‎04-05-2012
Message 12 of 14 (1,073 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 (414 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é

 

Contributor
nstone
Posts: 11
Registered: ‎10-02-2007
Message 14 of 14 (133 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
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!