By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,809 Members | 1,997 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,809 IT Pros & Developers. It's quick & easy.

Help Open Web Page

P: 4
All I really want to do is click a button and have it open a web page. I've searched all day and i can't figure it out. Any help is appreciated
Dec 20 '08 #1
Share this Question
Share on Google+
6 Replies


KevinADC
Expert 2.5K+
P: 4,059
Wire your computer to a standard 120 volt swith (button style) and have your computer set to open the page you want upon power-on. ;)
Dec 20 '08 #2

P: 4
Sorry I'm not bursting with knowledge, I just decided today that I would like to try to learn a programming language. But I guess if your going to be that way about it thanks a lot for your support. I don't really even know how to ask for help, that's how little I know but I made a window and I made a button... using perl and I just want that button to do something
Dec 20 '08 #3

KevinADC
Expert 2.5K+
P: 4,059
Sorry mate, I was just joking around.

You have several choices really. javascript can do what you want, or PHP, or perl. There are more choices but those are three common ways you could accomplish such a thing.

Sorry about the joke, I wasn't trying to put you down in anyway.

Regards,
Kevin
Dec 20 '08 #4

P: 4
its cool I'm just frustrated I spent all day and I have like 10 lines of code lol
Dec 20 '08 #5

P: 4
Expand|Select|Wrap|Line Numbers
  1. system("/usr/bin/firefox http://www.google.com&");
I think that's what I'm looking for but It doesn't recognize my C drive instead of the linux drive

Expand|Select|Wrap|Line Numbers
  1. system("\"c:/program files/mozilla firefox/firefox.exe\" http://www.google.com");
woot, figured it out
Dec 20 '08 #6

numberwhun
Expert Mod 2.5K+
P: 3,503
I know that Kevin was joking around, but you also were not very specific in your post. You didn't ask any coding questions and you also didn't post any code and explain what isn't working and any errors you might have received.

There is an air of specificity that is expected when asking questions. Please be sure and read the sticky thread in this forum for a better idea.

Also, please use code tags around any and all code you post in the forums. I have added them to your post.

Regards,

Jeff
Dec 20 '08 #7

Post your reply

Sign in to post your reply or Sign up for a free account.