Message 1 of 5
vba not loading

Not applicable
02-27-2004
08:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is my acad.lsp
-------------------------------------------------------
(defun S::STARTUP()
(command "_-vbarun" "initiateMe")
(load "c:/Process.vlx")
)
-------------------------------------------------------
I set up my Acad 2002 to load acad.lsp every time it starts a drawing.
Most of the times, acad.lsp loads fine as shown below.
-------------------------------------------------------
AcadDoc.Lsp loaded ...
AutoCAD menu utilities loaded._-vbarun
Command:
Macro name: initiateMe
Command:
-------------------------------------------------------
Some times, acad.lsp does not load as shown below.
-------------------------------------------------------
AcadDoc.Lsp loaded ...
AutoCAD menu utilities loaded._-vbarun
Command:
-------------------------------------------------------
As you may notice, it does not show:
----------------------------
Macro name: initiateMe
Command:
---------------------------
Problem seems to lie with "_-vbarun".
When this happens, acad hangs in there with no activity. If try to do some
thing or close acad, popup windodw says there is still a command active, and
it does not accept any other command. The only thing to do it to CTR + ALT
+DEL to terminate acad.
Can any one have a solution or get-around?
Thanks.