Connecting Tech Pros Worldwide Forums | Help | Site Map

link to a web page

lee123's Avatar
Site Addict
 
Join Date: Feb 2007
Location: United States
Posts: 532
#1: Aug 17 '08
how do you put a link to a web page in your code? i have a check box named Not listed if they click on this i would like to have an web link in there so they can view it.

lee123

lee123's Avatar
Site Addict
 
Join Date: Feb 2007
Location: United States
Posts: 532
#2: Aug 18 '08

re: link to a web page


well actually i mean when they click on the check box named "Not Listed" then it would go to a web page I've assigned to it in code.. is this possible?

lee123
kadghar's Avatar
Expert
 
Join Date: Apr 2007
Location: Mexico City
Posts: 1,155
#3: Aug 18 '08

re: link to a web page


yes, but you'll have to use ActiveX to open IExplorer,

or SHELL to open any browser you prefer

e.g. for IE:

Expand|Select|Wrap|Line Numbers
  1. dim obj1 as object
  2. set obj1 = createobject("internetexplorer.application")
  3. obj1.visible=true
  4. obj1.navigate("http://bytes.com")
^.^ HTH
lee123's Avatar
Site Addict
 
Join Date: Feb 2007
Location: United States
Posts: 532
#4: Aug 18 '08

re: link to a web page


you put this in the checkbox
lee123's Avatar
Site Addict
 
Join Date: Feb 2007
Location: United States
Posts: 532
#5: Aug 18 '08

re: link to a web page


thanks it worked!

lee123
Reply