473,385 Members | 1,400 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,385 software developers and data experts.

Opening URL to the web browser from a .NET C++ application

Hi there,

I want my C++ application send a URL to open in Explorer.

What might be the "simple code line" I can write in the method
called when I press a button in my dialog based application?

As you can see, I wish to go up to opening the web browser
when clicking a simple bolded text www_mysiteTOopen_net like this.

Don't bother with the MFC and C++ part of my dialog based application.
I just with to know how to send the url to the web browser from
this application.

Thanks..

Dec 17 '05 #1
2 1372
Tom


System::Diagnostics::Process::Start("http://url_text");
-- Tom


"Jmarc99" <jm*****@sympatico.ca> wrote in message
news:V%******************@news20.bellglobal.com...
Hi there,

I want my C++ application send a URL to open in Explorer.

What might be the "simple code line" I can write in the method
called when I press a button in my dialog based application?

As you can see, I wish to go up to opening the web browser
when clicking a simple bolded text www_mysiteTOopen_net like this.

Don't bother with the MFC and C++ part of my dialog based application.
I just with to know how to send the url to the web browser from
this application.

Thanks..
Dec 18 '05 #2
Hi Tom,

Thanks, it works fine..!
"Tom" <no****@noprovider.nodomain> wrote in message
news:O%******************@TK2MSFTNGP10.phx.gbl...


System::Diagnostics::Process::Start("http://url_text");
-- Tom


"Jmarc99" <jm*****@sympatico.ca> wrote in message
news:V%******************@news20.bellglobal.com...
Hi there,

I want my C++ application send a URL to open in Explorer.

What might be the "simple code line" I can write in the method
called when I press a button in my dialog based application?

As you can see, I wish to go up to opening the web browser
when clicking a simple bolded text www_mysiteTOopen_net like this.

Don't bother with the MFC and C++ part of my dialog based application.
I just with to know how to send the url to the web browser from
this application.

Thanks..

Dec 19 '05 #3

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

Similar topics

6
by: Edward King | last post by:
Hi! I am trying to achieve the following: I have a number of help pages (in the format help_nn.php where nn=helpid). I want to be able to open a particular help page by calling the function...
2
by: Ken Fine | last post by:
Using ASP, is there an easy way in code to "visit a URL", without opening a browser session? Explanation: I have a page caching class. The page caching class's behavior can effectively be...
1
by: ST | last post by:
Hi, I'm having problems opening up excel thru my code. It will write and saveas an excel file, but the application won't open on the user's computer, excel seems to be hidden, because it shows up...
1
by: jam | last post by:
Dear all, I ask some question before and i got some idea, like background thread.... However, I still dun know how could i start implementing this, could someone help me on this and give me some...
2
by: Parag Joshi | last post by:
Hi, I have a peculiar problem. Hope some body can help. I want to open up a word document on the client from a ASPX page. When a user clicks a button I want to show him a word document whose...
2
by: latheef | last post by:
Hi, I want to open a browser and place it and size it as I wish,when user selects an option from the menu written in java. I tried passing command line argument rundll32...
1
by: JeffN825 | last post by:
Hi, I am designing a XAML Browser Application that hosts an excel spreadsheet in a DSOFramer ActiveX control. The DSOFramer control is in a Windows Forms Host control off the main XAML page. ...
1
by: DNB | last post by:
WPF Browser Application VS ASP.Net Web Site We will be soon developing our new Web based project. We are still thinking should we use XBAP/WPF (XAML Browser Application) or regular ASP.Net Web...
2
by: sbettadpur | last post by:
How to update the database and opening a application simultaneously. I am getting this kind of error when I click on the link for the first time. I'm using the header function to redirect the...
5
by: ofiras | last post by:
Hi everyone, As far as I know, you cannot connect directly to a SQL Server database from a web browser application because of the security restrictions. Is there any other way to connect to a SQL...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.