shabya wrote:
the computer itself on startup or manual activation from srart->programs ->
Well, in this case, Environment.UserName is exactly what you are looking for. Jimmanuel already give you the anwser:)
:) I Love KongFu~
shabya wrote:
the computer itself on startup or manual activation from srart->programs ->
Well, in this case, Environment.UserName is exactly what you are looking for. Jimmanuel already give you the anwser:)
:) I Love KongFu~
Maybe you should specify the topic next time, not only C#...
:) I Love KongFu~
What about using STACK structure to store the rect you need to draw? So the latest one will alway be displayed firtly. :)
:) I Love KongFu~
Agree with Dave. In your case, no need to create a "complex" global event manager. Just update the UI when you modify the data. Simplicity is always good. :-D
:) I Love KongFu~
shabya wrote:
know who triggered the application ?
Depends on how you define "who". Computer Name or User Name?
:) I Love KongFu~
this question is not good...
:) I Love KongFu~
Kill the dll? Maybe you mean unload the dll from memory. Because only process owns the memory for excution. In this case, we can use AppDomain.Unload mehtod in .net as a approach.
:) I Love KongFu~
OK, good luck.
:) I Love KongFu~
lane0p2 wrote:
ipsec.BindToSmtpVsi("someSMTPserver", 1, "someDC"); ipsec.GetRelayIpList(); s = ipsec.IPGrant.ToString().Split(' ');
Did you debug the code and check what the value of IPGrant is?
:) I Love KongFu~
lsh486love wrote:
lvi.ImageList.Images.Add(img);
the ImageList value is null. You can try this: string s= "1.txt"; Icon i = Icon.ExtractAssociatedIcon( s ); ImageList imageList = new ImageList(); imageList.Images.Add(i); this.listView1.SmallImageList = imageList; this.listView1.Items.Add(new ListViewItem(s, 0));
Hope this will help you~
:) I Love KongFu~
tyrone0109 wrote:
by using only 1 program develop by c#.
You know what you were doing, right? Control the pc via only ONE app? This is totally a awesome hack app. :)
:) I Love KongFu~
shavil wrote:
Can any one send the code
I am afraid nobody will ...
:) I Love KongFu~
abhiram_nayan wrote:
now i want to introduce a 3rd optional parameter.
Would you please paste the code? I really do not know how to do this...
:) I Love KongFu~
Hi, dude, optional keyword is for VB.net, not C#.
:) I Love KongFu~
rumpelstielz wrote:
i need to convert them to decimal. eg: lon="9584631" -> lon="1128083" (which means 11deg.28083).
How could this happen?
:) I Love KongFu~
softwarejaeger wrote:
but now i must protect some classes from the eyes of other developers.
So, you just only want to use the dll yourself, rather than other developer? Can "internal" keyword meet your needs?
:) I Love KongFu~
Well, this is not a common question. In fact, we use version information to store the file's abstract, such as version, company, name, etc. So far as I know, it is possible to obtain the abstract info, rather than modify it via C#. Maybe you need to look for windows native api to tackle this issue.
:) I Love KongFu~
Navneet Hegde wrote:
I need to Register it as COM Server?
Yes.
Navneet Hegde wrote:
How can I do that
1.Use interface and implement it as what you want to do 2.Make the .TLB (type library file) for your C# dll 3.Register TLB
:) I Love KongFu~
Google ado.net
:) I Love KongFu~
Oh, man, please do not post duplicated question here. Nobody like this!
:) I Love KongFu~