473,386 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Visit Website??

I have a question,

I've noticed that some programs I download have an option to visit the
authors site in the Help menu. What is the code that calls Internet Explorer
to go to a website of my choice?

::Kaiba67::
Jul 22 '05 #1
7 1427
::Kaiba67:: wrote:
I have a question,

I've noticed that some programs I download have an option to visit the
authors site in the Help menu. What is the code that calls Internet Explorer
to go to a website of my choice?


There is no certain way in standard C++ to do what you want, except
maybe for

std::string cmd("iexplore ");
cmd += the_URL_of_your_choice;
system(cmd.c_str());

and still, it's not necessarily guaranteed to be the same as using
a platform-specific way. Ask about it in a Windows newsgroup.

<offtopic>
See ShellExecute function. Use verb "open", pass your URL as the file.
The default browser will be used, which is not necessarily IExplorer.
</offtopic>

Victor
Jul 22 '05 #2
"::Kaiba67::" <kaiba67@~nospam~.rogers.com> wrote in message
news:Fk********************@twister01.bloor.is.net .cable.rogers.com...
I have a question,

I've noticed that some programs I download have an option to visit the
authors site in the Help menu. What is the code that calls Internet Explorer to go to a website of my choice?

This is totally out of topic in this NG.
This said, on some systems, the standard system() C library call can be used
to launch documents (too).
I.e.:
system( pathToMyDocumentDotHTML );
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- e-mail contact form

Jul 22 '05 #3
::Kaiba67:: wrote:
I have a question,

I've noticed that some programs I download have an option to visit the
authors site in the Help menu. What is the code that calls Internet Explorer
to go to a website of my choice?

This is a system-dependent question, so it is off topic here. In .NET
for example you can use a LinkLabel object on the Form, and if you are
talking about an option in the Help menu, you can use the static member
functions, of the class Help. An example code of a program of mine:
void menuItem4_Click(System::Object *sender, System::EventArgs *e)
{
Help::ShowHelp(this, "license.htm", HelpNavigator::Topic);
}


Regards,

Ioannis Vranos
Jul 22 '05 #4
::Kaiba67:: posted:
I have a question,

I've noticed that some programs I download have an option to visit the
authors site in the Help menu. What is the code that calls Internet
Explorer to go to a website of my choice?

::Kaiba67::


class Stupid {};

clas OffTopic {};

class StupidAndOffTopic : public Stupid, public OffTopic {};
StupidAndOffTopic this_post;

throw this_post;
-JKop
Jul 22 '05 #5
JKop, screw off, go post messages elsewhere, just don't post in my messages
if you don't want to help.

::Kaiba67::
"JKop" <NU**@NULL.NULL> wrote in message
news:Gv*****************@news.indigo.ie...
::Kaiba67:: posted:
I have a question,

I've noticed that some programs I download have an option to visit the
authors site in the Help menu. What is the code that calls Internet
Explorer to go to a website of my choice?

::Kaiba67::


class Stupid {};

clas OffTopic {};

class StupidAndOffTopic : public Stupid, public OffTopic {};
StupidAndOffTopic this_post;

throw this_post;
-JKop

Jul 22 '05 #6

Connect to:

msnews.microsoft.com
And go to:

microsoft.public.windows.inetexplorer.ie55.program ming.webb
rowser_ctl
-JKop
Jul 22 '05 #7

"JKop" <NU**@NULL.NULL> wrote in message
news:Lh*****************@news.indigo.ie...

Connect to:

msnews.microsoft.com
And go to:

microsoft.public.windows.inetexplorer.ie55.program ming.webb
rowser_ctl
-JKop


Now, that's a MUCH better answer than calling someone stupid! :-)

-Howard
Jul 22 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: TomCat | last post by:
Hello, can anyone send me a link or even some sample of script that counts visits to a website ? Thanks, TomCat
0
by: Milney | last post by:
Please Visit my website - Must be in the Top 100 best. Feel free to send any ideas to me via valid email: P.s. Please sign guestbook on my homepage , and leave addy for contact. many thanks...
0
by: Marcel - IDUG Europe 2005 | last post by:
Visit the IDUG Europe Conference Blog for Daily Updates and Conference Information IDUG 2005 - Europe Blog New for this year's conference, IDUG 2005 - Europe has created a blog to give you...
4
by: xerj | last post by:
....the page delivered is always refreshed? Or does the browser display what's in the cache? Thanks in advance.
4
by: Noozer | last post by:
I know ASP isn't the best way to do this, but is it possible??? I've written an application in ASP that manipulates an MS SQL database. We'd like to have our application automatically backup the...
2
by: zhanye815 | last post by:
This problem is this:a page is made up of frameset, but i can't visit the iframe(inline frame) of the frame in the framset.just like the frameset have 3 frames,the third frame have a iframe(inline...
3
by: josecruz | last post by:
I am deveoloping a database where I will record a Pet general information. Then I want to monitor every visit and other variables. I have created the tables Pet_info, Pet_Visit, Pet_medication etc. ...
0
by: sandeep patil | last post by:
i have write the msg about the bpm tool &given the below one link hire .i have visite that website nothing oer there.
0
by: kindzazaa | last post by:
Cheapest website to buy gun online. http://suprbay.org/member.php?u=61124Looking website to buy Christmass Tree in shop online. http://suprbay.org/member.php?u=61131And some Starcraft 2 information...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.