New Member
Posts: 1
Registered: ‎05-25-2006
Message 1 of 2 (82 Views)

Error:: Load Palette through Network

82 Views, 1 Replies
05-25-2006 06:25 PM
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

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

End Try

End If
End Sub

End Class
Valued Contributor
Posts: 84
Registered: ‎02-28-2005
Message 2 of 2 (81 Views)

Re: Error:: Load Palette through Network

02-28-2008 02:17 PM in reply to: JamesDin
i couldn't figure it out either, i think you'll have to get your it guy to do something with security, so since i figured that nothing would ever happen there i made my routine that loads the .dll to copy the newest one off of the network to the local machine and load from there. it's the best thing i could think of, plus i don't have to worry about people having locks on my application, so i can replace or delete whenever. B)
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.