rcb007 Posted October 31, 2022 Posted October 31, 2022 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 Quote
mhupp Posted October 31, 2022 Posted October 31, 2022 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") 2 Quote
rcb007 Posted October 31, 2022 Author Posted October 31, 2022 I was using this routine made by Roy. It allows to interface between CAD and StreetView Google. Very Cool. https://www.cadtutor.net/forum/topic/68011-showhtmlmodalwindow-block-or-browser/#comment-552151 Quote
mhupp Posted October 31, 2022 Posted October 31, 2022 try replacing ? "internetexplorer.application" "edge.application" Quote
rcb007 Posted October 31, 2022 Author Posted October 31, 2022 yup. Sure did. I tried: edge.application msedge.application microsoftedge.application I have tried the below, which is supposed to help locate the program if it exists, but cannot find it. https://www.theswamp.org/index.php?topic=52397.msg573363#msg573363 Quote
Steven P Posted October 31, 2022 Posted October 31, 2022 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 2 Quote
mhupp Posted October 31, 2022 Posted October 31, 2022 (edited) Try this. (Apply 'vlax-get-or-create-object '("Microsoft-edge.application")) https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/launching-ms-edge-from-a-custom-ribbon-button/td-p/8460125 Edited October 31, 2022 by mhupp Quote
Steven P Posted October 31, 2022 Posted October 31, 2022 3 hours ago, mhupp said: Try this. (Apply 'vlax-get-or-create-object '("Microsoft-edge.application")) https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/launching-ms-edge-from-a-custom-ribbon-button/td-p/8460125 I'm getting 'nil' with that MHUPP, though it will open with the example in the link you found Quote
Recommended Posts
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.