Jump to content

Recommended Posts

Posted

 

What would be the Program ID to change from the internetexplorer to microsoft-edge?

 

(Apply 'vlax-get-or-create-object '("internetexplorer.application"))

 

Internet Explorer keeps launching and saying it is unsupported. I did not know if it was easier to change it to focus on the Microsoft Edge Browser.

 

Thanks

Posted

Don't know what your trying to do but if edge is set as your default  you can just use the command browser to launch.

(command "_.Browser" "www.google.com")

 

  • Like 2
Posted

try replacing ?
 

"internetexplorer.application"
"edge.application"

 

 

Posted

This came up the other day: 

 

;;https://www.cadtutor.net/forum/topic/76207-send-a-text-message-by-whatsapp/

(defun open_url_in_chrome (url / sa);by ronjonp
  (and (setq sa (vlax-get-or-create-object "Shell.Application"))
       (null (vlax-invoke sa 'shellexecute "chrome.exe" url))
       (vlax-release-object sa)
  )
)

 

You can put in the 'exe' name ( msedge.exe in this case ), or like MHUPP says will also do _browser for the default browser, a slightly different method to yours and I don't know if the interface will work as you want but it looks like it might

 

  • Like 2

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...