473,386 Members | 1,883 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.

How to open a specific link(s) with Internet Explorer through C Sharp?

Currently, what I have is
Expand|Select|Wrap|Line Numbers
  1.             Process internet = new Process();
  2.             internet.StartInfo.FileName = @"C:\Program Files\Internet Explorer\iexplore.exe";
  3.             internet.StartInfo.Arguments = "";
  4.             internet.Start();
and I need it to open a specific link or links, in new windows. I have the ideology of anything is possible if you put your mind to it, but this one is just killing me.

What I am trying to do, if it helps, is a program that reads a text file with links, and opens the links in Internet Explorer.
Feb 2 '11 #1
1 1710
Your code above will not work on a 64bit System that doesn't have 64bit Internet Explorer. The code that worked for me is the following. It will open in the system default if you take out 'iexplore.exe'.

Expand|Select|Wrap|Line Numbers
  1. System.Diagnostics.Process.Start("iexplore.exe", "http://bytes.com/")
Feb 4 '11 #2

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

Similar topics

0
by: Yarik | last post by:
Hello, When I open an HTML document by Internet Explorer 6 and then print the document on a color inkjet printer, some of the colors are rendered incorrectly (they appear much darker than they...
2
by: QT | last post by:
Dear Sirs, I want to put a button which will start internet exploerer with specified html page. I try to use shell(), but with shell, I have to know where is the explorer.exe I just want...
2
by: Tim Stevens | last post by:
Hello, This is the first time I have had to resort to posting on here, as Ive always been able to find a solution to my problems in the past by browsing postings by others. So, to start with I...
2
by: Neil | last post by:
Hi I'm rendering my datagrid to a HTML stream with a .xls extension to open in Excel however it opens in the browser. Is there a way to programatically force it to open Excel? I know you can...
0
by: Benjamin Smith | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm l/cpconapplicationconfigurationfiles.asp In the above link documentation says..... Internet Explorer-hosted...
2
by: v.srikhar | last post by:
hi I had some problem .Ii had to open the ms word file in IE itself not outside using jsp or java can any one solve it out. thanks
11
by: Wendy | last post by:
Hello, I have a program that does the following: When a user clicks on a row in a VB.NET datagrid, it will open a web page in Internet Explorer (that corresponds to that item in the selected row...
1
by: CWPinpoint | last post by:
As members of this group may include users or associates of 3B2 (APP), we thought you may be interested to see our December newsletter which includes a review of the recent PTC World user meeting...
3
by: dynamo | last post by:
Hi everyone.I am trying to write a program that will open a html file with internet explorer the normal way.I don't just want to display the contents of the file in python like readlines() or read()...
4
by: Kaustubh Budukh | last post by:
I am designing a VB.NET based website I have a hyperlink, upon clicking on it a "File Download" prompt opens which asks me whether I want to "Save" the file, "Open" But I want it to...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.