Click to See Complete Forum and Search --> : How to use IPAddress control!


hongthao
February 3rd, 2005, 05:14 AM
Hi all,

I don't know how to add and use a IPAddress control to my Application writed by C#. Please help me!

Thanks
Thao Pham

Krzemo
February 3rd, 2005, 07:44 AM
Is it an ActiveX control or C# control ?

hongthao
February 3rd, 2005, 11:02 PM
Hi,

In VC++, I can add a IP Address Control by drag it from Toolbox to my design form.
It is a VC++ control. You can see more detail in attach file.
But with C# , I wonder if C# have IPAddress control or not. And how to use it?

I will feel more confident when asking for your help!!
Thanks
Thao Pham

Anders
February 4th, 2005, 03:08 AM
Hi!

I was myself looking for that control a while ago but didn't find it. Apparently Microsoft decided not to include it in .NET. One reason might be that it is urgent for them to move to IPv6, with 16 byte IP address instead of four.

Bad for us writing applications for IPv4, but I guess it wouldn't be too hard to put up 4 textboxes in a usercontrol and mimic the behaviour of the VC++ IP address control.

Sorry for not being much of a help...

/ Anders :)

hongthao
February 4th, 2005, 03:16 AM
Thank you for your repply. I will try to do it flow your guess.
hic hic..hic

Krzemo
February 4th, 2005, 03:44 AM
Are U looking for this?:

http://www.codeproject.com/cs/miscctrl/IpAddrCtrlLib.asp#xx1020724xx