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


ADVERTISEMENT

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

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

Possible To Make A Url Scanner

May 31, 2010

Is it possible to make a url scanner in vb 2008?Like if i got a website and i want to see all pages in that website?

View 1 Replies

.Net Codes For Adf Scanner?

Mar 19, 2011

I'm looking for the proper code in .net platform to call and edit different properties of ADF scanner. And also how to find out if there is any paper(s) in the feeder?

View 4 Replies

Get Image By The Scanner?

Dec 29, 2011

can i get images from the scanner(s) with out using TWAIN library

View 1 Replies

Have A .dll For A Handhelp Upc Scanner That Is In Vb 6?

Jun 21, 2011

I have a .dll for a handhelp upc scanner that is in vb 6. Anyone know how to write the following 2 lines of code in VB.net.

Dim NameStr AsString Dim TextAsc(120) AsByte '120 is large enough, no more Dim TextLen AsByte Dim Count AsByte
Open NameStr For Binary Access Write As #1 Len = 1
Put #1, , TextAsc(Count - 1)

View 2 Replies

How To Use Scanner For Scanning

Oct 29, 2009

I've installed visual studio 2008.is the visual basic in that package known as VB.net? My 2nd question: how can i use scanner for scanning using VB.net?do i have to use WIA? or i can use the default program for scanning?

View 1 Replies

Make An EMS Scanner

Dec 20, 2010

I would like to attempt to make an EMS scanner. It would listen to specific frequencies such as 155.940. I do not know where to begin. If you happen to have any information on creating something like could post a link and help me out. I have noticed that there is an app out for the smartphones (Scanner 911). That is very simiar to what I would like to develope.

View 5 Replies

Scanner Intergration In Vb?

Aug 6, 2009

who have a code for the integration of a scanner in an application.such that there can be a generation of barcodes which can be detected by the scanner.

View 3 Replies

Using A Barcode Scanner In App?

Jul 21, 2010

I am writing an inventory control application in which a barcode scanner will be hooked up to a laptop computer in our shipping/receiving department. What I'm wondering is, whenever a shipment comes in and the receiving clerk starts scanning the products, what exactly do I need to do in order to setup our database so that the scanner recognizes which vendor/product etc. and puts the data in the correct tables. I've written inventory control apps before but never one that incorporated the use of a barcode scanner.

View 8 Replies

.net - VB Webcam Barcode Scanner SDK?

Apr 9, 2012

Is there any Visual Basic SDK that will let me scan a barcode from a webcam, not an image? I have seen some that read from files, but this is not what I am looking for. If possible, I would love it if this is free!

View 2 Replies

Barcode Cannot Be Read By Its Scanner

Dec 12, 2010

I have downloaded the BarcodeLib.dll from[url]...

And however, my barcode scanner cannot read the hard copy barcode images that i have printed out as the following.[url]...

I have done research and some articles mention that dimension of the images will effect the readability of the barcode.

May i know what is the correct dimension to make my barcode images to be readable?

View 1 Replies

C# - Distinguish Between The Scanner And The Keyboard

Apr 12, 2011

I have a barcode scanner connected to a PC that working with a c# program.now i want to distinguish between the scanner and the keyboard which one is sending data to my program.

somebody said this to me in another topic(but i can't do this yet): basically you can configure the scanner to send some characters that basically tell the computer "hi, it's me". When you see those characters in your input stream, you know the information is coming from the barcode scanner, not from something the user typed on the keyboard. Did you check the manual that came with your barcode scanner? It should have more information about this.

View 2 Replies

Call Scanner Fujistu From VB?

Apr 13, 2010

this is a archiving system and am trying to call scanner fujistu from basic code script, so

how i can call scanner fujistu from visual basic ?

View 1 Replies

Can Manipulate Scanner By Code

Apr 11, 2012

I need to create a code, that allows me manipulate a scanner for to do the functions of scanning and save the image.

View 1 Replies

Creating Graph For Scanner?

Mar 15, 2012

I had a scanner M9090 (OS-> Windows CE), I need to show a graph based on certain results

View 6 Replies

Crucial Memory Scanner - DIY?

Mar 10, 2010

Does anyone know how Crucial are able to scan a system and identify what memory is installed and then report what the possible upgrade options are? I can work out how to see what the current installed memory, available free memory and memory in use is, but how the hell do they know what the system can take as an upgrade?!

View 2 Replies

Image Scanner And Then Click

Dec 27, 2009

I am creating a program and one of its functions is that it will go to a website and click on an image. I would normally use the invoke command but since it is an image I need to click I need to go this way. I am not sure how I could go about doing this. I believe I would need to take a screenshot then scan for a bmp image I have saved of the button. Then some how send a mouse click to that image without moving the mouse. Here is what I have so far, all it is is a function to take a screenshot.

[Code]...

View 3 Replies

Info From Scanner To Grid?

Aug 4, 2009

I want to be able to scan an item and that information be sent to a data grid. I'm able to scan a bar code and have it populate a textbox just fine. My problem is getting it from the textbox to the data grid.

The way it works, the textbox has to have focus so it can accept the input for the item being scanned. I've placed it behind the data grid and it works well like that but I was curious if anyone else knew of a better way to do this.

I'm curious if there is a way to detect if something has been scanned and if so, send it to the textbox or whereever else it can go.

View 8 Replies

KeyPress Event Using Scanner Gun?

Nov 15, 2011

I am trying to create keypress handler that will execute a line of code when Tab, Space, or Enter key is pressed or passed by the scanner gun while the control is in focus. I got it to work with space and enter key but with tab key, the cursor will just jump to the next tab stop without executing the code.

Private Sub Button2_KeyPress(sender As Object, e As System.Windows.Forms.KeyPressEventArgs) Handles Button2.KeyPress
Dim keyChar As Char

[Code].......

View 1 Replies

Scanning An Image From Scanner?

Mar 4, 2009

How I can use scanner to scan an image and put it in PictureBox using VB.NET

View 4 Replies

Twain Scanner Application?

Jul 12, 2009

anyone tried using twain in scanner.I wanted to store in my database

View 1 Replies

USB Barcode Scanner Reading?

Oct 4, 2010

We are using USB barcode scanner to scan material barcode labels. These labels are from our vendors. We does not have control over the label generation. We are using USB barcode scanner for scanning purpose. We want to capture USB barcode scanner output. Normally the scanner returns output in the place holder in which the cursor present.But we do not put writable text box for the cursor. Instead of write allowable text box we want to put locked or readonly text box in the screen and want to capture scanner value.How can we do?Assume that our barcode scanner does not support serial ports.

View 6 Replies

VS 2008 - How To Build IP Scanner

Aug 10, 2009

How can build a IP Scanner like this?

View 3 Replies

What Type Of Barcode Scanner Should Use?

Oct 29, 2010

I want to use barcode system in my vb project. Can sombody help me on

1) What type of barcode scanner should I use?

2) Where should I start on VB code or where should I refer to?

View 4 Replies

Get Status Of HP Scanner 5590 Flatbed In C#.net?

Jun 16, 2012

I have HP Scanner Scanjet 5590 attached to my system. I want to know the status of the scanner via c#.net. How to do it? The status are :

on/off,
idle,
scanning,
etc..

Update: Also I have tried using WMI but it is not detecting it. In the control panel of Win-7 the scanner is shown under the head DEVICES and not under the head PRINTERS.

View 3 Replies

.net - How To Access Barcode Scanner In Windows CE

Jun 21, 2011

I've recently been asked to develop an application for the Motorola MK4000, an all-in-one device with a built-in barcode scanner. It runs Windows CE and supports VB.Net.

I've never written an application for Windows CE, nor using a barcode scanner.

I'm familiar with VB.NET so I'm confident I can figure this out, how to use the barcode scanner with possibly some example code of how to detect it and read data from it.

View 3 Replies

Cannot Set Capabilities Of Scanner Through Twain Driver

Sep 9, 2011

I have been working with TWAIN driver for few days. I have learnt how to connect to the scanner or get the working scanners connected to the machine. I am having a problem now, eventhough i get connected to the scanner, I am not able to set the capabilities from my application. The scanner scans using the capabilities that are set on it but not from my application. I have looked at the sample code given with twain pro but even that doesnt set the capabilities of the scanner. For example if the scanner is set to 300 dpi and I set 200dpi from my application, the scanner scans with 300 dpi. It gives me an error saying that the value given is out of range.

View 1 Replies

Detect Keystrokes From Barcode Scanner?

Nov 7, 2010

I have built many applications that work with a barcode reader. What I need now is a means to reading the scanned item through a background services such as a windows services or something.My task is to scan a barcode on a identification label that is placed on a cut size of glass and record the order line item as being processed. This will update the database to reflect the cut size has been completed.My restriction is the processes keeps an application showing a cut pattern of the stock sheet of glass in focus so I can not have another application active to capture the scanners results. Here in lies where I have to have a application running in the background listening for a text or alpha-numeric string that will tell the application to run the scan.

View 3 Replies







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