TheSwamp

Code Red => ARX Programming => Topic started by: deegeecees on January 27, 2006, 02:49:41 PM

Title: WhoHas
Post by: deegeecees on January 27, 2006, 02:49:41 PM
I just got a request for the "WhoHas" arx app to be loaded automatically. Does any on e know how to do this from the acad2000doc.lsp file?

I tried:

(autoarxload "WHOHAS" '("WHOHAS"))

and got an infinite:

"Initializing..."
"Initializing..."
"Initializing..."
"Initializing..."
"Initializing..."
"Initializing..."

So, thats not it...
Title: Re: WhoHas
Post by: CmdrDuh on January 27, 2006, 03:10:17 PM
i typed appload and loaded it

(COMMAND "VBASTMT" "ThisDrawing.Application.LoadArx ("MyARXApp.arx")")
Title: Re: WhoHas
Post by: deegeecees on January 27, 2006, 03:23:25 PM
No go...

Quote
Command: (COMMAND "VBASTMT" "ThisDrawing.Application.LoadArx ("whohas.arx")")
VBASTMT
Expression: ThisDrawing.Application.LoadArx (
Syntax Error

Command:
Command: ) Unknown command ")".  Press F1 for help.

Command: nil

Missing something...
Title: Re: WhoHas
Post by: CmdrDuh on January 27, 2006, 03:33:00 PM
I forgot about the " closing the quoted string, try this

(COMMAND "VBASTMT" "THISDRAWING.APPLICATION.LOADARX(\"WHOHAS.ARX\")")
Title: Re: WhoHas
Post by: deegeecees on January 27, 2006, 03:46:05 PM
Thankyou VERY much!
Title: Re: WhoHas
Post by: Royalchill on February 13, 2006, 11:44:53 AM
I put it in my mnl file

(verify_arxapp_loaded "whohas.arx")