Jump to content

How do I find the methods for shell.application?


Recommended Posts

Posted

looking methods such as

 

 
(vlax-invoke 
 (vla-getInterfaceObject
   (vlax-get-acad-object)
    "Shell.Application"
 )
 'BrowseForFolder
 (vlax-get 
   (vlax-get-acad-object) 
   'hwnd 
 ) 
 "Select Directory: " 0
)

Posted

Thank you!

  • 9 months later...
Posted

How get methods of other application ? example SHELL, INTERNETEXPLORER,..... I can't find them in Help.

like routine below :

 

(defun NavigateTo ( url / ie )
 ;; © Lee Mac  ~  02.06.10
 (vl-load-com)

 (if (setq ie (vlax-create-object "InternetExplorer.Application"))
   (progn
     (vlax-put ie 'Visible :vlax-true)
     (vlax-invoke ie 'Navigate url)
     (vlax-release-object ie)
   )
 )
)

Or

(setq dir (vlax-invoke (vlax-get-or-create-object "Shell.Application") 'browseforfolder 0 "Select folder with DWG files:" 1 directory ))

How to know method 'Navigate of internetexplorer or 'browserforfolder of shell.application ? i want to have general method to do it . Thanks.

Posted

Lee, how do use Find method of Range on Excel ?

Posted
Lee, how do use Find method of Range on Excel ?

 

Don't know, never used it

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...