Hi all,
I just upgraded my code from VB6 to VB 2005 Express .NET. At first I thought it will be a smooth upgrade but it was not. I had many errors in the code upgraded to .NET. the original VB6 application reads the PolyLine in ADT drawing and extracts the X,Y,Z point coordinates into a text file.
I have referenced all he libraries in the project. But I do not seem to Dim as AcadLWPolyline. I think the problem is that I do not have rerence to [Imports Autodesk.AutoCAD.Geometry]. But when I add the ‘Imports’ decalartion it the beginning of the file I still gete and error saying [Autodesk.AutoCAD.Interop.AcadLWPolyline is not defined]. And this highlights this line in my code:
Dim polylineObject As Autodesk.AutoCAD.Interop.AcadLWPolyline
I will really appreciate your help in this