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

open an IE page form a linkedlable

I want when user clicks on LinkedLable ,an IE page to an specific address
opens ,how can I do that?

thanks
Nov 16 '05 #1
9 1466
you can use IE com component...
first click Customise Toolbox then select Com component and add Microsoft
Web Browser,,
and use Navigate method of that to open ur desired page
"ALI-R" <al*@microsoft.com> wrote in message
news:#H*************@TK2MSFTNGP11.phx.gbl...
I want when user clicks on LinkedLable ,an IE page to an specific address
opens ,how can I do that?

thanks

Nov 16 '05 #2
I don't want to use that com component ,is there something built in DotNet?

"perpolis" <re*****@hotmail.com> wrote in message
news:u7**************@TK2MSFTNGP14.phx.gbl...
you can use IE com component...
first click Customise Toolbox then select Com component and add Microsoft
Web Browser,,
and use Navigate method of that to open ur desired page
"ALI-R" <al*@microsoft.com> wrote in message
news:#H*************@TK2MSFTNGP11.phx.gbl...
I want when user clicks on LinkedLable ,an IE page to an specific address opens ,how can I do that?

thanks


Nov 16 '05 #3
using navigate method of the component ,there are some othere parameters as
"ref object",what are these?

thanks

perpolis" <re*****@hotmail.com> wrote in message
news:u7**************@TK2MSFTNGP14.phx.gbl...
you can use IE com component...
first click Customise Toolbox then select Com component and add Microsoft
Web Browser,,
and use Navigate method of that to open ur desired page
"ALI-R" <al*@microsoft.com> wrote in message
news:#H*************@TK2MSFTNGP11.phx.gbl...
I want when user clicks on LinkedLable ,an IE page to an specific address opens ,how can I do that?

thanks


Nov 16 '05 #4
ALI-R,

Basically, you will want to handle the LinkClicked event for the link
label. In the handler, you would call the static Start method on the
Process class, passing the URL you want the default web browser to navigate
to.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"ALI-R" <al*@microsoft.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
I want when user clicks on LinkedLable ,an IE page to an specific address
opens ,how can I do that?

thanks

Nov 16 '05 #5
this is my handler for LinkedLable:
this.linkLabel1.LinkClicked += new
System.Windows.Forms.LinkLabelLinkClickedEventHand ler(this.linkLabel1_LinkCl
icked);

how shall I change it? What is Proccess Class??

Thansk for your help.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
ALI-R,

Basically, you will want to handle the LinkClicked event for the link
label. In the handler, you would call the static Start method on the
Process class, passing the URL you want the default web browser to navigate to.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"ALI-R" <al*@microsoft.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
I want when user clicks on LinkedLable ,an IE page to an specific address
opens ,how can I do that?

thanks


Nov 16 '05 #6
ALI-R,

It is in the System.Diagnostics namespace. As for changing it, you
don't want to change the assignment to the event handler, but rather, the
linkLabel1_LinkClicked method. This is the code that you write to handle
the event.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"ALI-R" <al*@microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
this is my handler for LinkedLable:
this.linkLabel1.LinkClicked += new
System.Windows.Forms.LinkLabelLinkClickedEventHand ler(this.linkLabel1_LinkCl
icked);

how shall I change it? What is Proccess Class??

Thansk for your help.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
ALI-R,

Basically, you will want to handle the LinkClicked event for the link
label. In the handler, you would call the static Start method on the
Process class, passing the URL you want the default web browser to

navigate
to.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"ALI-R" <al*@microsoft.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
>I want when user clicks on LinkedLable ,an IE page to an specific
>address
> opens ,how can I do that?
>
> thanks
>
>



Nov 16 '05 #7
To make it perfectly clear, in your link label's click event handler just
add the following line:

System.Diagnostics.Process.Start("www.microsoft.co m"); // or whatever
url you want

ShaneB
Nov 16 '05 #8
thanks for your help ,guys

"ALI-R" <al*@microsoft.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
I want when user clicks on LinkedLable ,an IE page to an specific address
opens ,how can I do that?

thanks

Nov 16 '05 #9
u can leave other parameters,,just giving it ur address
"ALI-R" <al*@microsoft.com> wrote in message
news:O7**************@TK2MSFTNGP14.phx.gbl...
using navigate method of the component ,there are some othere parameters as "ref object",what are these?

thanks

perpolis" <re*****@hotmail.com> wrote in message
news:u7**************@TK2MSFTNGP14.phx.gbl...
you can use IE com component...
first click Customise Toolbox then select Com component and add Microsoft
Web Browser,,
and use Navigate method of that to open ur desired page
"ALI-R" <al*@microsoft.com> wrote in message
news:#H*************@TK2MSFTNGP11.phx.gbl...
I want when user clicks on LinkedLable ,an IE page to an specific

address opens ,how can I do that?

thanks



Nov 16 '05 #10

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

Similar topics

1
by: Matt | last post by:
My problem is when the user click the submit button, it will launch another new window for the request page. I want to confirm we cannot use JavaScript open window functions to open a request page?...
1
by: Matt | last post by:
The following will both post the form data using HTTP POST method to the server2, and then open page2.asp, right? It is not posting form data to server1. The only difference is that #1 will just...
12
by: Matt | last post by:
I want to write a ASP page to open/download a file In fileview.jsp, I have the file browse, and when user click submit button, fileview2.asp should open the file. fileview.asp ============...
3
by: Simon Wigzell | last post by:
I just want my form target to be another page but open it in the same window. Here is my code for the 2 pages : -------------------------------form1.htm------------------------------------...
8
by: Brian F | last post by:
Exactly what the subject says. I have an ASP page that I want my C# windows application to open in Internet Explorer, and if possible have it send along a list of values from a list box. Thank you.
3
by: eieed | last post by:
I have a web page that is designed to allow users to run crystal reports which are then exported into PDF formats. Currently, when the user clicks the "Submit" button there is some processing to...
2
by: ALI-R | last post by:
I want when user clicks on LinkedLable ,an IE page to an specific address opens ,how can I do that? thanks
1
by: Angelos | last post by:
Hello there, I am very new to Javascript and before I explain what I want I'll tell you in a few words that I am trying to make a button on a WYSIWYG text editor (RichArea) that previews on a...
4
by: jwlum | last post by:
I have the following problem under Internet Explorer only: 1. User fills out form data (myform.php) and clicks a button that fires myFunction() 2. myFunction() spawns a "hello, world" popup page...
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: 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
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...
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.