Page 1 of 1

CadImport.Net installation

Posted: 19 Feb 2008, 11:35
by petervanleemput
Hi,

I cannot get CadImport.net working in Visual Basic 2005/2008.
I tried to follow your instructions, but I get a lot of errors.
Please could you give me a small example on how to do this in VisualBasic 2005/2008.

Peter

Posted: 19 Feb 2008, 17:40
by fury
The sample projects supplied are created with an older version of .NET, so it must be converted before the IDE can use it

In my experience with VB2005, after the project conversion wizard completes, you must then change all of the appropriate variables in the code so that they have a WithEvents clause. e.g. MenuItems, CADPictBox, Treeviews...anything that would have an event associated with it

Hope this helps

Posted: 20 Feb 2008, 12:24
by support
Hello!

Please follow the instructions:
<ol type="1"><li>run Visual Studio 2005;</li>
<li>select <b>File > Open > Project/Solution</b> menu item;</li>
<li>find and select <b>ViewerVb.vbproj</b> in the ..\cadimportnet\demos_sources\ViewerDemo\VB\.. folder of <b>CAD Import .NET</b> package;</li>
<li>press <b>Open</b> button;</li>
<li>press <b>Next</b> button two times and one time <b>Finish</b>;</li>
<li>press <b>Close</b> button;</li>
<li>select <b>Build > Build ViewerVb</b> menu item</li>
<li>press <b>F5</b> key.</li></ol id="1">
Sergey.


Please post questions to the forum or write to support@cadsofttools.com