Community
Hi there,
Is it possible to do actions directly after loading the DVB file by command appload in the autocad command bar?
For example, creating a menu in the menu bar with the available procedures in the .DVB?
Hi,
does that help
Private pInitFinished As Boolean Private Sub AcadDocument_EndCommand(ByVal CommandName As String) If Not pInitFinished Then pInitFinished = True Call MsgBox("Running initialization") 'do what have to be done End If End Sub
- alfred -
Well it works, it send the msgbox after loading the file directly,Could yuo kindly give me more details about it?
Hi,
wasn't that what you where looking for? Just replace the "msgbox"-statement with your code for loading a menu or do some initialization, it's then called automatically when this DVB is loaded.
That was the question I thought ... or what did I understand wrong?
- alfred -