Resolving PC Name To Its IP (DNS & WINS)
May 15, 2011Is there a way i can resolve a remote computer from its name to get it IP address using WINS if i provide the WINS server IP address.
View 2 RepliesIs there a way i can resolve a remote computer from its name to get it IP address using WINS if i provide the WINS server IP address.
View 2 RepliesBasically my game is part of a school project and I was wondering if the way I'm doing is long-winded and theres an esier way which I'm missing or if the way i've done it is ok.The board acts as a (7,9) array and I at the moment I've basically worked it out in steps, so vertically, horizontally, diagonally. The way i've gone about doing it is by for example horizontally [code] So basically is the way I'm doing it now effective? I end up with 12 If statements to check all possible wins or is it long winded??I don't know if there is an algorithm out there which can be used, but basically I wanted to make it as much of my own code as possible, so I'm trying to refrain from looking at other peoples coding for connect4.
View 2 RepliesIs there anyway to put some code in to load a certain Gif image when the user wins or loses? i currently have this in place
[Code]...
I have an IP scanner which reads computer names / IP addresses from a file into a listbox. It then scans each object to see if the host is alive and reports the results back into the listbox. (Much of the code has been adapted from [URL]
This works fine for both IP addresses and computer names unless the computer name cannot be resovled by DNS. In this instance, the thread hangs which causes the program not to finish.
I have a function below which can tell me if the dns name can be resolved however I'm having trouble integrating this into the code because of the multithreading.
how I would go about integrating this into the main code? I have been trying to add it into the pingclass class area but no joy so far..
Function HostIsResolvable(ByVal HostName As String) As Boolean
'Attempt to lookup hostname in DNS
'If successful, simply return TRUE
[Code].....
I can run the code fine without the Option Strict on, but once it's turned on, I run in to a "Option Strict On Disallows Late Binding"...why!?! I can't figure out how to fix it....
'Option Strict On'
Public Class StateFinderForm
Private Sub FullStateNameRadio_CheckedChanged(ByVal sender As System.Object, ByVal e As
[code].....
Format("60","0.0") is resolving to "0.0" and not "60.0"
All the examples I see seem to suggest Format should do what I'm expecting. But its not!