Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic code for opening a web page

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
lewiuberg
1648 Views, 2 Replies

iLogic code for opening a web page

Hi,

 

Can someone help me with some code that will open my company`s webpage if the parameter is set yo <True>?

 

i have tryed alot of that is not working:

 

 

If Visit_firenor = True Then
ThisDoc.Launch("C:\Program Files\Internet Explorer\iexplore","http:\\www.firenor.no")
End If

 

Lewi

2 REPLIES 2
Message 2 of 3

Hi lewiuberg,

 

This should work:

 

Try
System.Diagnostics.Process.Start("http://forums.autodesk.com/t5/Autodesk-Inventor/iLogic-code-for-opening-a-web-page/td-p/3422965")
Catch
  MessageBox.Show("Could Not Open Page", "iLogic")
End Try

 I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

Message 3 of 3

Works great!

 

Thank you so much 🙂

 

Lewi

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

Post to forums  

Autodesk Design & Make Report