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

Click - open in IEbrowser

Hi All,

In clicked event on a grid column(value is a url link), I am trying to open
an IE browser.
Can any one direct me to an example?
Thanks,
-RajS
Nov 17 '05 #1
4 2757
To open IE and navigate to a URL, the code below should work.

using System.Diagnostics;

....

Process.Start("iexplore.exe", "http://www.microsoft.com/");

--
Tim Wilson
..Net Compact Framework MVP

"RajS" <s_********@hotmail.com> wrote in message
news:ud**************@TK2MSFTNGP09.phx.gbl...
Hi All,

In clicked event on a grid column(value is a url link), I am trying to open an IE browser.
Can any one direct me to an example?
Thanks,
-RajS

Nov 17 '05 #2
Thanks Tim Wilson. It worked.

"Tim Wilson" <TIM(UNDERSCORE)WILSON(AT)ROGERS(PERIOD)COM> wrote in message
news:uD**************@TK2MSFTNGP09.phx.gbl...
To open IE and navigate to a URL, the code below should work.

using System.Diagnostics;

...

Process.Start("iexplore.exe", "http://www.microsoft.com/");

--
Tim Wilson
.Net Compact Framework MVP

"RajS" <s_********@hotmail.com> wrote in message
news:ud**************@TK2MSFTNGP09.phx.gbl...
Hi All,

In clicked event on a grid column(value is a url link), I am trying to

open
an IE browser.
Can any one direct me to an example?
Thanks,
-RajS


Nov 17 '05 #3
You can also use

Process.Start("http://www.microsoft.com/");

and it will open the URL using user's default browser.

--
Rodger Constandse

<http://www.SequenceDiagramEditor.com>
Sequence Diagram Editor - A quick and easy way to draw and edit sequence diagrams

Tim Wilson wrote:
To open IE and navigate to a URL, the code below should work.

using System.Diagnostics;

...

Process.Start("iexplore.exe", "http://www.microsoft.com/");

Nov 17 '05 #4
If you want windows to use the default browser rather then forcing IE,
you can use:

System.Diagnostics.Process.Start("http://www.microsoft.com/");

Just FYI,

:// Jake

RajS wrote:
Thanks Tim Wilson. It worked.

"Tim Wilson" <TIM(UNDERSCORE)WILSON(AT)ROGERS(PERIOD)COM> wrote in message
news:uD**************@TK2MSFTNGP09.phx.gbl...
To open IE and navigate to a URL, the code below should work.

using System.Diagnostics;

...

Process.Start("iexplore.exe", "http://www.microsoft.com/");

--
Tim Wilson
.Net Compact Framework MVP

"RajS" <s_********@hotmail.com> wrote in message
news:ud**************@TK2MSFTNGP09.phx.gbl...
Hi All,

In clicked event on a grid column(value is a url link), I am trying to


open
an IE browser.
Can any one direct me to an example?
Thanks,
-RajS



Nov 17 '05 #5

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

Similar topics

4
by: yfng | last post by:
In a web form, I want the user clicks on one button and this button will trigger another button/link which will open a new browser window? How to do that? Is there any method like...
3
by: VbUser25 | last post by:
hi.. i have a form i accept some user inputs in the form. there is a link on the form from where i open the excel file in the same browser (not in a new page...simply using a href. i am also...
4
by: nntp | last post by:
<a id="hiddenLink1" name="hiddenLink1" href="page1.htm" target="someTarget1" >1 </a> <a id="hiddenLink2" name="hiddenLink2" href="page2.htm" target="someTarget1" >2 </a> <A...
2
by: cschang | last post by:
I have a form containing a link next to an input box. I include a javascript function in the input by using the onblur='fuc()'. I used this function to open another ASP page to do something and...
1
by: edself | last post by:
I have a form which displays a subform datasheet of information. I'd like to be able to quickly click on a particular record and open up another form showing more detailed information about that...
4
by: Carlo Marchesoni | last post by:
I have a button that opens a new Window (some kind of search-window), which is fired using JavaScript (btnSearch.Attributes=".....";) Now I need to run some code behind code BEFORE this JavaScript...
3
by: ACaunter | last post by:
Hi all, I need to set a session variable and open a new window with a single click of an asp.net button. My problem is that it always takes two clicks.. one sets the session and the other opens...
6
by: shil | last post by:
I have a server side button that needs to do some preperation and afterwards, if everything goes well, open a new browser with a specific url. I know how to execute javascript from a server side...
2
by: Mattbooty | last post by:
Hello, Not sure if anyone else has seen this bug, but I have a form where the entire form is covered with a picturebox. The picturebox has a mouseup event. I also have an open file dialog for...
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
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: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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
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
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?
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...

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.