To have a program that opens up your main browser and loads the desired page that i state inside the code?
To have a program that opens up your main browser and loads the desired page that i state inside the code?
it is possible. Think about programs where after clicking "help" or "about", or "register the product", link you directly to their website.
some entropy with that sink? entropysink.com
there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka
would you know how i would do that?
i would imagine telling the computer to open IE, but how would i make it go to the desired webpage?
look into libcURL
http://curl.haxx.se/libcurl/cplusplus/
some entropy with that sink? entropysink.com
there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka
A quick solution would be to make a shortcut that goes to yoursite and call
system("c:\\pathtofile\\shortcut.exe");
in your program. system is in windows.h of course
how is thats supposed to be used to open a default browser and bring up a webpage?Originally Posted by MadCow257
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT
hmm, that clib or w/e seems confusing, i wouldnt know how to use it.
how do i make a short cut to load a specific webpage?
if i were to do that, there would be no need to make a c++ program that opens ie and then loads the page, when i can just make the short cut.
is there a way to make c++ execute dos commands?
IE accepts command-line arguments (or maybe just one, I don't really know). So you can just try system("iexplore www.google.com");
Or whatever site you want. But they might not use internet explorer or something so it's not the greatest solution.
"Think not but that I know these things; or think
I know them not: not therefore am I short
Of knowing what I ought."
-John Milton, Paradise Regained (1671)
"Work hard and it might happen."
-XSquared
Right-click in the folder, go to new, click shortcut. Where it asks you to type the path of the file, type http://cboard.cprogramming.com. Click next to name your shortcut, call it "CProg Forums". Click finish, and you have a shortcut that points to CProghow do i make a short cut to load a specific webpage?
if i were to do that, there would be no need to make a c++ program that opens ie and then loads the page, when i can just make the short cut.
>>is there a way to make c++ execute dos commands?
system() does that for you.
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
because that will open the shortcut which will in turn open the browserhow is thats supposed to be used to open a default browser and bring up a webpage?
Right Click on some unoccupied space on your screen and click new\\shortcut, then simply type the url of the site you want the shortcut to be forhow do i make a short cut to load a specific webpage?
Edit
beat
Last edited by MadCow257; 02-01-2005 at 07:23 PM.
that would work except my default browser is mozilla you saved yourself in the second part of your post though...Originally Posted by JaWiBso you're trying to give him a solution that will work only on his machine, unless he packages a shortcut with it?Originally Posted by MadCow257
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT
packing the shortcut isn't the issue, the problem is if it doesn't run on OS's besides windows.so you're trying to give him a solution that will work only on his machine, unless he packages a shortcut with it?
>>hmm, that clib or w/e seems confusing, i wouldnt know how to use it.
its libcURL, and it is really quite easy to use and implement...but I see that you're just waiting for code to be handed to you as you have no clue what you're doing; in that case, search google - I'm pretty sure that codeproject.com has some ready code for it.
some entropy with that sink? entropysink.com
there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka
if there was any documentation for windows, i would be more than willing to read it....