Microsoft
Software
Hardware
Network
Question : LinkLabel control for calling another sub.
I currently have a VB6 application that uses the RichTextBox control. I use the click event to replicate a hyperlink for some IP addresses, and for other IP addresses it calls another subroutine that kicks off an ssh session in SecureCRT. I am in the process of converting the application to Visual Studio 2010 (VB). Is it possible to use the LinkLabel control to look and act like a hyperlink... except that when clicked it will call a subroutine that has my shell command in it?
I'm new to Visual Studio 2010, so an example would be very helpful.
Answer : LinkLabel control for calling another sub.
*Process.Start() is the .Net equivalent of Shell():
http://msdn.microsoft.com/
en-us/libr
ary/
system
.diagnosti
cs.process
.start(VS.
71).aspx
Random Solutions
Win 7 DPI Default 125% ??
SQL in C# code .. Reading Output Parameters.
Error 105 net::ERR_NAME_NOT_RESOLVED
The server could not be found
User has 2 Calendars after migration
Search list of multiple pc names, search registry for string value and delete entry
Visual Studio 2005 not working on Windows 7
Problems sharing iTunes between accounts on a Mac
Cannot access Windows 2008 DFS links from Windows 2003
Renew Subordinate CA for more than a year?
Delphi: Importing CSV file that has new line characters