Message 1 of 1
Load lisp file from vb.net resource
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I have added a lisp file to a vb.net project and I need to load it in autocad by Initializing DLL, Do you think it's possible?
Actually I already have done like it to call image from resource as a tab button :
ribbonbutton1.Image = getBitmap(My.Resources.img12)
Public Function getBitmap(ByVal image As Bitmap) As BitmapImage
Dim stream As New MemoryStream()
image.Save(stream, ImageFormat.Png)
Dim bmp As New BitmapImage()
bmp.BeginInit()
bmp.StreamSource = stream
bmp.EndInit()
Return bmp
End Function
And I don't know how I can accomplish the same way with .lsp file.