Inventor General Discussion

Reply
Member
lewiuberg
Posts: 4
Registered: ‎04-20-2012
Message 1 of 3 (325 Views)

iLogic code for opening a web page

325 Views, 2 Replies
04-20-2012 01:37 AM

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

*Expert Elite*
Curtis_Waguespack
Posts: 2,821
Registered: ‎03-08-2006
Message 2 of 3 (307 Views)

Re: iLogic code for opening a web page

04-20-2012 07:28 AM in reply to: lewiuberg

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

 



  solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.





Member
lewiuberg
Posts: 4
Registered: ‎04-20-2012
Message 3 of 3 (274 Views)

Re: iLogic code for opening a web page

04-23-2012 01:49 AM in reply to: Curtis_Waguespack

Works great!

 

Thank you so much :smileyhappy:

 

Lewi

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube