Hi Everyone.
I am developing a project used with Palette form.
I am coding with .Net2005 and Autocad2006.
It works good in local (c:\ ) root, but Error occur through Network(\\192.168.---.---\).
I tried 2 methods.
1. Key in 'Netload' in the command window and select network path & .dll directly.
2. Key in '(command "Netload" "//192.168.---.---/.dll")
Please refer below code and a error message(Attach File) and reply your an excellent opinion.
Thanks a lot.
'---------- Code --------------------------
Imports Autodesk.AutoCAD.ApplicationServices
Imports Autodesk.AutoCAD.EditorInput
Imports Autodesk.AutoCAD.DatabaseServices
Imports Autodesk.AutoCAD.Windows
Imports Autodesk.AutoCAD.Runtime
Public Class Class2
Dim ps As Autodesk.AutoCAD.Windows.PaletteSet
_
Public Sub createPalette()
If ps Is Nothing Then
Try
ps = New Autodesk.AutoCAD.Windows.PaletteSet ("Employee Palette")
Dim myForm As ModelessForm = New ModelessForm()
ps.Add("Employee Palette", myForm)
ps.MinimumSize = New System.Drawing.Size(300, 300)
ps.Visible = True
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End If
End Sub
End Class