VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LaunchBrowserDialog

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
245 Views, 3 Replies

LaunchBrowserDialog

Hello All,

I am trying to use the LaunchBrowserDialog function to load the "New Email"
dialog from a form within VBA.

Here is my code:

ThisDrawing.Utility.LaunchBrowserDialog "", "", "",
"mailto:someone@thisplace.com", "", True

The above code works well enough to launch the default "New E-mail"
dialog... but it still loads the browser in the background. Is there a way
to prevent the browser from loading in this instance?

Also, when the browser does load... it loads the AutoCAD browser... is there
a way to get the "default" (IE?) browser to load instead? I assume it has
something to do with placing the proper browser registry name in the
ReigstryRootKey property, but I don't know what that might be.

TIA,

Rob
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

Rob Outman had this to say
:

> Also, when the browser does load... it loads the AutoCAD browser...
> is there a way to get the "default" (IE?) browser to load instead?

http://code.acadx.com/howto/vb/default_browser.htm

--
There are 10 kinds of people:
Those who understand binary and those who don't
http://www.acadx.com
Message 3 of 4
Anonymous
in reply to: Anonymous

Why am I not surprised that you already had something to resolve this issue
Frank! 🙂

Thanx,

Rob

"Frank Oquendo" wrote in message
news:A9B48F8B9B6CACD02BFA965C373E139E@in.WebX.maYIadrTaRb...
> Rob Outman had this to say
> :
>
> > Also, when the browser does load... it loads the AutoCAD browser...
> > is there a way to get the "default" (IE?) browser to load instead?
>
> http://code.acadx.com/howto/vb/default_browser.htm
>
> --
> There are 10 kinds of people:
> Those who understand binary and those who don't
> http://www.acadx.com
>
>
>
>
Message 4 of 4
bcoward
in reply to: Anonymous

Rob,

You could also add the ShellExecute API as an alternative to trying to figure out what your default browser is.




To start your default browser and view a particular Web site:




Call ShellExecute(Me.hwnd, "open", "www.AutoDesk.com", "", 0, SW_SHOWNORMAL)




Good luck,

Bob Coward




CADS, Inc


www.cadsinc.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost