Ribbon Button to open a URL

Ribbon Button to open a URL

Revitspace
Contributor Contributor
851 Views
1 Reply
Message 1 of 2

Ribbon Button to open a URL

Revitspace
Contributor
Contributor
Morning

I hav managed to add acustom button to the Ribbon, which I am trying to make open a webpage when clicked.

I have limited experiance with programmign and have just managed to create the button using the sample code, does anyone know how to make this button open a specific web page when clicked?
0 Likes
852 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
string urlToOpen =
@"http://www.google.com/#hl=en&q=.net+open+web+page&aq=f&aqi=g1g-m1&aql=&oq=&fp=a048890d3c90c6fc";
System.Diagnostics.Process.Start(urlToOpen );

--
Bobby C. Jones
http://bobbycjones.spaces.live.com


"revitspace" wrote in message news:6344767@discussion.autodesk.com...
> Morning
>
> I hav managed to add acustom button to the Ribbon, which I am trying to
> make open a webpage when clicked.
>
> I have limited experiance with programmign and have just managed to create
> the button using the sample code, does anyone know how to make this button
> open a specific web page when clicked?