CadImport.Net installation

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
petervanleemput
Posts: 1
Joined: 15 Oct 2007, 17:19
Location: Belgium

CadImport.Net installation

Post by petervanleemput » 19 Feb 2008, 11:35

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

fury
Posts: 10
Joined: 29 Jan 2008, 18:34

Post by fury » 19 Feb 2008, 17:40

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

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 20 Feb 2008, 12:24

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

Post Reply