I want when user clicks on LinkedLable ,an IE page to an specific address
opens ,how can I do that?
thanks 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
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
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
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
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
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 > >
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
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
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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?...
|
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...
|
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
============...
|
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------------------------------------...
|
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.
|
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...
|
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
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: 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...
|
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,...
|
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...
| |