"schaf" <(E-Mail Removed)> wrote:
> 1.) Why the following code does not return the same result ?
> Dns.GetHostName(); \\PCname
> and
> ns.GetHostByAddress(<LocalIPAddress>).HostName; \\PCname inclusive the
> domain
Because they are different methods? GetHostByAddress / GetHostEntry use
a DNS server. The machine may be multi-homed (i.e. have multiple IP
addresses) each with a different domain; it may have aliases etc.
GetHostName() can only return one value.
> 2.) I copy files from dir DirA to dir DirB.
You should write a small sample program that demonstrates this behaviour
and repost in a separate topic - it's too hard to follow, IMHO.
> 3.) My Gui looks very good on my computer, but if the same application
> runs on another computer, the texts of the listboxes would not be shown
Ditto - more details needed, reproduction code so people can test.
-- Barry
--
http://barrkel.blogspot.com/