TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: TimSpangler on February 07, 2007, 12:53:39 PM
-
Could someone try this and tell me if it works for them. It is a sub to open a word document
The call is (Open_Doc "mydoc with path").
Thanks
-
Done and done; she worked
-
Thanks. What version of office are you running? Just curoius to see if that will have any effect.
-
2003
-
Works on Acad2006 and Acad2008-B5 with Office 2003.
-
Worked Here.
Windows 2000 - Office 2000 - ACAD 2000
-
Thanks guys, We have some help files here in doc format that the company would like to add to the pulldown but they need a way of opening them. Does this way seem to be a good way.
I also looked at the shell but I don't like the shell dialog opening also.
-
...No fricken way! I was doing the exact same thing last week. (help file display)
I build a way for me to display text on the command line (nothing fancy) for the basic help but for the more advanced i was going to display web pages (so i can use flash videos and stuff) But did you think of using a CHM or a PDF? (something the user cant edit)
-
This is what I use for PDF:
(defun pdf (filename / shell bestand)
(vl-load-com)
(setq bestand (findfile (strcat "subfolder_of_searchpath/" filename)))
(if bestand
(progn
(setq shell (vla-getinterfaceobject (vlax-get-acad-object) "Shell.Application"))
(vlax-invoke-method shell 'Open bestand)
(vlax-release-object shell)
)
(alert "PDF-file not found !")
)
(princ)
)
-
...No fricken way! I was doing the exact same thing last week. (help file display)
I build a way for me to display text on the command line (nothing fancy) for the basic help but for the more advanced i was going to display web pages (so i can use flash videos and stuff) But did you think of using a CHM or a PDF? (something the user cant edit)
Yes Way!!
I would love to use PDF's however my company does not allow user installed software and there is only a hand full of people that have the ability to create PDF (and they would rather not be bothered) So I will be using a word doc (for now). I may eventurally convert the word document to PDF (at home).
Thanks for everyones help
-
why don't you just add your own help files into the AutoCAD help file ?
It's a pretty straight forward process.
-
Hendie,
Would that have to be done every machine in the office?
-
sort of ~ just do it on one machine then copy the help file to the others but you could always batch that process.
It does make it look a bit more professional though, having your own help inside the Acad help file, but that's just my opinion. I guess it's whatever you feel comfy with at the end of the day