Resolving PC Name To Its IP (DNS & WINS)

May 15, 2011

Is 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 Replies


ADVERTISEMENT

If Statements To Check All Possible Wins Or Is It Long Winded?

Mar 4, 2012

Basically 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 Replies

Load A Certain Gif Image When The User Wins Or Loses?

Dec 1, 2008

Is 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]...

View 2 Replies

Resolving DNS In Multithreading IP Scanner?

Mar 24, 2012

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].....

View 3 Replies

Option Strict Error Not Resolving?

Jun 22, 2010

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].....

View 3 Replies

Format("60","0.0") Is Resolving To "0.0" And Not "60.0"

Feb 9, 2012

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!

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved