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

Open a site in Internet Explorer

Hello.
Can anybody tell me do I open any web page from my code in Internet
Explorer?
Or how can I just run any program from my code?
Nov 16 '05 #1
2 1870
Hi David,

Try using

Process.Start("http://[web_page]");

It will launch the default web browser. Basically Process.Start will enable you to launch any program.

--
Happy coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #2
Take a look at Process.Start - that should do the trick - e.g.

Process.Start("IExplore.exe", "http://www.google.com/");
--
Steve Willcock (MCSD for Microsoft.NET)
http://www.willcockconsulting.com/
"David" <da*********@hotmail.com> wrote in message
news:e7*************@TK2MSFTNGP11.phx.gbl...
Hello.
Can anybody tell me do I open any web page from my code in Internet
Explorer?
Or how can I just run any program from my code?

Nov 16 '05 #3

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

Similar topics

18
by: Paul | last post by:
I link to a web site from an Excel spreadsheet. The page i link to is getCookie.asp which sets a cookie then returns back some html which opens a new window, to the same site but a different page...
1
by: vikram | last post by:
hello all, I have a small question. I have an application which actually converts binary data to word document and saves on the server. The next phase of the project involves opening the word...
10
by: Åženol Akbulak | last post by:
Hi, I have a form page to print on my web application(asp.net). I want to show the page in WORD. I use that code in asp.net Page_Load event: Response.Clear(); Response.ContentType =...
3
by: kstriyhon | last post by:
i need to open a new internet explorer windows from a Web app i have tried with this code but it seems not to work, because nothin happens when i call the application. using SHDocVw; using...
0
by: cmay | last post by:
Has anyone else seen this? Every now and then when using the back button on our site, we get an IE popup box saying: "Internet Explorer cannot open the internet site: https://mysite.com/asdfasdf...
6
by: Daniel | last post by:
Hi all, Can i open and edit the excel sheet on web page after downloading? After editing, i close the web page and the excel file auto upload to the server. Is it possible? I really struggling...
1
by: ministry | last post by:
when i try to open an attachment of MS word, in internet explorer following error occured, Error Message internet explorer was not open this internet site. the request site is either unavailable or...
1
by: =?Utf-8?B?Q2hyaXN0aWFuIFcuIExhcnNlbg==?= | last post by:
I want to export a datagrid to Excel. Here is the code: Response.Clear(); Response.Buffer = true; Response.AddHeader("content-disposition", "attachment;filename=FileName.xls");...
0
by: Christian W Larsen | last post by:
I want to export a datagrid to Excel. Here is the code: Response.Clear(); Response.Buffer = true; Response.AddHeader("content-disposition", "attachment;filename=FileName.xls");...
2
by: cwlarsen | last post by:
I want to export a datagrid to Excel. Here is the code: Response.Clear(); Response.Buffer = true; Response.AddHeader("content-disposition",
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.