|
|
Is it urgent?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
|
What if he just needs teh codez?
modified 12-Sep-18 21:01pm.
|
|
|
|
|
John Simmons / outlaw programmer wrote: Is it urgent?
Yes, I just find out that my project submission is tomorrow
|
|
|
|
|
oh ok I guess you failed then. Do better next time.
|
|
|
|
|
It sucks to be you, then.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
See this[^] article.
/ravi
|
|
|
|
|
Can someone point me to an article on how to create subclasses of forms and the controls that go onto them? What I want to do is to first subclass the base form in C# and add my own custom properties and methods that my apps will use when I develop a module. Then I want to do the same thing with textboxes, comboboxes, and any other typed of control that I can place on a form. I want then to be able to (at design time) see and select my derived/subclassed forms and controls on the toolbox and be able to select from that list.
I understand this is possible but I've not found an article on how this is done. If someone is aware of an article on how to do this I'd greatly appreciate the help!
Thanks!
Jim
|
|
|
|
|
|
CP MVP again? If I didn't know any better, I'd swear you were
amassing outstanding achievements...
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
You as well! However since you are a VC MVP it's almost required right?
Have a great year Mark
led mike
|
|
|
|
|
How can I learn a computer's machine name and user name by using IP adress?
Can you help me please?
Thanks in advance.
|
|
|
|
|
An IP Address won't reveal that information unless your application is on the target machine. If it is, you wouldn't use the IP address either way.
Why do you keep changing your forum name?
|
|
|
|
|
I don't know first I used my real name then I decided not to use my real name.
Thanks for the answer
|
|
|
|
|
I have to go I have a roll call.
|
|
|
|
|
you can lookup the host name of a computer on a network like this:
System.Net.Dns.GetHostEntry("127.0.0.1").HostName
|
|
|
|
|
That will give you the DNS hostname, not necessarily the Windows Computer Name.
|
|
|
|
|
ok, hopefully that's better than nothing
|
|
|
|
|
I just hope the OP knows the difference.
|
|
|
|
|
The code works for my computer's IP address but when I try an another IP address it gives the IP address of the target computer.
|
|
|
|
|
Here is the code
It works.
Thank you.
System.Net.Dns.GetHostByAddress(IPaddress).HostName.ToString();
|
|
|
|
|
But I have an another problem. I can't send ping every computers. Can you help me with it?
|
|
|
|
|
My.Computer.Network.Ping[^].
BTW, pinging a machine only tells you in the network stack of the target computer is working, up to a certain point, and that's only IF it doesn't have a firewall blocking ICMP traffic. It will NOT tell you if the target server you're trying to connect to is actually listening.
|
|
|
|
|