|
Warning: Do not try this at home
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Add a Treeview control, and use
tv.nodes.add
Thats all you need. Nesting can be done using node objects
|
|
|
|
|
People are not even trying anymore.
|
|
|
|
|
Lego. Bricks and mortar. Origami. There are so many ways!
|
|
|
|
|
How can I change the icon of an exe file programatically?
|
|
|
|
|
You need to read the portable executable format of the EXE/DLL, replace the image that you want in the binary, and then save it.
You'll need the PECOFF reference from Microsoft to understand the format of the file. You can find that reference here[^].
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
|
I guess you have to write InternetGetConnectedState(out int Description, ... .
|
|
|
|
|
change to this line...
private extern static bool InternetGetConnectedState(out int Description, int ReservedValue);
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
|
No Prob
in case you dont know what the issue was it is because the 'out' keyword needs to go before the type (int)
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Hi guys,
i've done a site that will allow SMSs be sent to members' mobile phones whenever there's an important msg to be passed.
However, i can't programmatically retrieve values from the server and send the SMSs.
i need to know how to do this without anyone doing it manually. like just set a date and time, and then it'll execute.
thanx.
He who goes for revenge must first dig two graves.
|
|
|
|
|
Hi,
Please give me some links of speech to text convertion project.
what are the concept behind this to develop this application.
Thankyou,
YPKI
|
|
|
|
|
ypki wrote: Please give me some links of speech to text convertion project.
what are the concept behind this to develop this application.
It is very difficult to write code to wreck a nice beach and often the results are poor. I suggest you might want to look into existing libraries or frameworks that do this.
|
|
|
|
|
Colin Angus Mackay wrote: wreck a nice beach
ROFL
var question = (_2b || !(_2b));
|
|
|
|
|
Take a look Here[^].
Those tools are not free, though.
|
|
|
|
|
Hello there,
I am working on a small Windows form, where I've to implelent the LinkLabel control to link my form with www.microsoft.com. Below is the code:
private void linkLabel1_LinkClicked(object sender,LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(www.microsoft.com);
}
But when I debug the code, I get an error which is like this "The name www does not exist in the current context".
Can anyone please tell me, whats the correct code for the LinkLabel event handler, such that my form connects to microsoft.com.
Your help would be appreciated! Thanx.
|
|
|
|
|
Put the URL in quotes.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Thanx for helping me out. You guys see, I was doing such a silly mistake! But a lot of thanx to u both. Hope to recieve more help from u folks in future also. Take care....
|
|
|
|
|
Just as a tip, you could make that event slightly more situation-generic by starting e.Link, instead of a hardcoded string. Then you simply have to set the LinkLabel's Links property accordingly, and you don't have to dip into code in order to change the link destination
|
|
|
|
|
Hi there guys,
where should I place e.Link as suggested by Computafreak?
I am coding the the LinkLabel Event Handler with:
{
System.Diagnostics.Process.Start("www.microsoft.com");
}
Where should I add e.Link to make it more situation-generic?
|
|
|
|
|
You'd need to do something like this (assuming you just want the whole text to be one link - you can have a link for as many characters as there are in the Text!).
linkLabel1.Text = "Go to Microsoft's web site";
linkLabel1.Links[0].LinkData = "http://www.microsoft.com";
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
if (e.Link.LinkData is string)
{
string url = (string)e.Link.LinkData;
System.Diagnostics.Process.Start(url);
}
}
[Edit] Just had a quick play and the above works fine, but you could maybe improve it with something like this:
string keyText = "Microsoft";
linkLabel1.Text = string.Format("Go to {0}'s web site", keyText);
linkLabel1.Links[0].Start = linkLabel1.Text.IndexOf(keyText);
linkLabel1.Links[0].Length = keyText.Length;
linkLabel1.Links[0].LinkData = string.Format("http://www.{0}.com", keyText); [/Edit]
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
modified on Wednesday, April 1, 2009 7:36 AM
|
|
|
|
|
Hi, I've entered this code in the LinkLabel_LinkClicked Event Handler, as suggested by you (Dave):
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
if (e.Link.LinkData is string)
{
string url = (string)e.Link.LinkData; System.Diagnostics.Process.Start("www.microsoft.com");
}
}
//Please see whether I have enetered the correct code!
But tell me where do I enter this code, in which event:
linkLabel1.Text = "Go to Microsoft's web site";linkLabel1.Links[0].LinkData = "http://www.microsoft.com";
|
|
|
|
|
I think you're getting a bit mixed up.
Work it out from the full sample below - I've just created a new project, and dragged a LinkLabel onto Form1.
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
linkLabel1.LinkClicked += new LinkLabelLinkClickedEventHandler(linkLabel1_LinkClicked);
string keyText = "Microsoft";
linkLabel1.Text = string.Format("Go to {0}'s web site", keyText);
linkLabel1.Links[0].Start = linkLabel1.Text.IndexOf(keyText);
linkLabel1.Links[0].Length = keyText.Length;
linkLabel1.Links[0].LinkData = string.Format("http://www.{0}.com", keyText);
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
if (e.Link.LinkData is string)
{
string url = (string)e.Link.LinkData;
System.Diagnostics.Process.Start(url);
}
}
}
}
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Thanx Davey!
U did so much for me! U r great! Actually, I am not that expert like u guys. I am only a begineer, trying to figure myself out in the IT industry. Can u give me your Email address such that I can send u a greetings of compliment. Hope to hear from u soon in the forum.
Take care Genius!
Rajdeep
|
|
|
|