Hi
I have a problem, when I try to Insert the Autodesk DWF Viewer Control.
in a form. VB 2010 Express is crash immediately.
René J
Thank you for reporting this issue.
It seems like an issue of VS2010 rather than ADR. Please refer to this article:
Please try to apply VS2010 hotfix-2066987 to resolve this issue.
Please let us know if it works.
I am experiencing similar behavior with Visual Studio 2010 Professional. I've applied the hotfix from Microsoft (2066987) and the same behavior continues. I've attached a screenshot of the VS designer right before it crashes and has to be restarted.
Any ideas would be greatly appreciated.
Sincerely,
Dale Lundgren
Thank you for your question.
Since ADR 2011 required .NET 3.5 runtime, please insure to select Target Framework as .NET Framework 3.5 for your project.
Please let me know if you have any further question.
Hello,
I have the same problem with integration the ADR2011 in Visual Studio Premium via the COM component. I have checked several combinations:
- x86 or x64 machine with C# or VB .NET -> crashes in WIndows Forms Designer
- Framwork 3.5 or Framework 4.0 -> crashes in WIndows Forms Designer
- installing HotFix from MS Support KB2066987 -> same result
- installing Visual Studio SP 1 -> same result
So I didn't find a combination to integrate the ADR2011 in VS2010. Does anybody know what to to? The error is the same as described in the previous comments.
Regards
Jens
Same problem here using visual studio 2010 professional and c#. Visual Studio crashes every time I try to add the viewer to the form.
Has anyone found a solution to this issue?
I have the same problem with Visual Studio 2010 and ADR 2012.
I need help ASAP please someone!!! 🙂
Yes I have. My solution was to use Visual Studio 2008 with .NET Framework 2, build a DLL and use this DLL in your VS2010 project. This works fine.
Regards,
Jens
It seems to me, by reading the messages in this tread, which go back to over a year, that the situation with using the ADR 2012 with VS2010, has not changed.
I just started with developing an application that uses the RealDWG to create a set of drawings based on templates and change the values of attributed blocks. This part works fine. However, since that the RealDWG does not displays or prints out but it can save drawing files to the dxf format, I planned to use ADR to view and print out completed drawings.
So far I wasn’t able to use the Autodesk DWF Viewer Control with VS2010; VS2010 crushes immediately after inserting the control into a form. I then created a DLL using the VS2008, but it didn’t work. By the way, with VS2008, I have to use the .NET Framework 2.0 to make the programme works.
With no success in the above attempts, I created a line command for ADR to print out a specific file. It worked well with the DWF files but will not work with DXF files. This is unfortunate, since that the RealDWG SDK will not save DWG to DWF format.
Herbert He, the Autodesk SW Engineer, has made a comment stating that this seems to be a VS2010 issue rather than ADR. If this is so, I would like to see more specific or detailed explanation and conformation about ADR 2012 compatibilities with the VS2010, including a working sample, VB or C#.
If in the meantime if an updated ADR is available, please advice.
I am not a professional programmer, but if so many other users are reporting the same issue, I trust that it should not be ignored
Alex Seger
Engineering & Manufacturing Systems Specialist
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
Old thread, but if it can help someone. I've managed to get it works:
var aev = new AxExpressViewerDll.AxCExpressViewerControl(); Controls.Add(aev); aev.Dock = DockStyle.Fill;
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 still need to build the solution with .net 3.5 framework and a platform target x86
and this worked for me.
Can't find what you're looking for? Ask the community or share your knowledge.