Read The Ethernet Port By Using VB?

Jun 25, 2009

I want to read the ethernet port by using visual basic. It would be great if anyone can guide me for this.

View 5 Replies


ADVERTISEMENT

Reading Ethernet Port Pins

Jun 10, 2011

[code]Through these ports I have been able to connect simple press-button triggers (or switches) and programatically "read" them. i.e. tell when they are open or closed, grounded to earth or not.With modern PCs I am now somewhat limited. I can still use the MIC port and USB port (when connected to a USB/Serial cable) but since WiFi, my ethernet port is now "available". If you've read this far, you already know my question. How can I "read" the ethernet port pins. I realize that perhaps not all the pins may be simply read, but perhaps one or two at least.

View 1 Replies

Reading The Ethernet Port Pins?

Sep 26, 2009

In the past I have been able to simply read the physical pinouts on the:

Games Port (DB15) (using PEEKS and POKES)
Parallel Port (DB25) (also using PEEK and POKES(888))

[code]....

Through these ports I have been able to connect simple press-button triggers (or switches) and programatically "read" them. i.e. tell when they are open or closed, grounded to earth or not.With modern PCs I am now somewhat limited. I can still use the MIC port and USB port (when connected to a USB/Serial cable) but since WiFi, my ethernet port is now "available".|||||||| (8 pins).If you've read this far, you already know my question. How can I "read" the ethernet port pins. I realize that perhaps not all the pins may be simply read, but perhaps one or two at least.

View 3 Replies

Write Directly To Ethernet Port?

Feb 7, 2011

I am writing an app that does part of what another app does (I have no access to the source for the other app other than to see Wireshark output.)

I need to send a broadcast over the LAN and then parse the results. However, the sending of the broadcast seems to be code that is direct to the LAN connection, as in it doesn't seem to write to a standard IP/port combo.

I see apps like Raw Ether that do this at a cost of hundreds of dollars.

Is there some way to not have to buy 3rd party stuff to do this in VS2011 w/ VB.net?

View 2 Replies

Read File From Another Computer Through Ethernet Cable?

Oct 9, 2009

i would like to ask is there a method which i can read a specific file from another computer??i would like to use IP address to specify the address.

View 21 Replies

Read The Data From Barcode Weight Scales By Serial Port And TcpIp Port?

Nov 27, 2010

I'm mohammed from Oman ,I'm visual studio.net programmer How I can Read the Data From Barcode Weight scales By Serial port and TcpIp port

View 7 Replies

Comm Port Read Hangs When Attempting To Read Data?

Apr 18, 2010

I;m attempting to write code to read several NMEA ports and format the data for archive. When I execute the following code:

Using Commportno As IO.Ports.SerialPort = _
My.Computer.Ports.OpenSerialPort(portName:=port)
Dim Incoming As String = Commportno.ReadLine()

View 5 Replies

Reading Serial Port Read Data From Serial Port?

Aug 16, 2011

i am a absolute beginner and i want to use vb to receive data from micro controller through serial port using rs232 standards, i found this code to receive the data serially, can any one tell me where should i paste this code, so that the data received will be displayed in message box.Private Sub DataReceived(ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) HandlesSerialPort1.DataReceived

[Code]...

View 9 Replies

How To Read Data From USB Port

Oct 15, 2011

In My application I need to retrieve/Read data from USB port. Is it possible to Read data from USB cable?

View 3 Replies

How To Read Data From Usb Port In .net

Mar 3, 2009

how to read data from usb port in vb.net

View 1 Replies

How To Read Serial Port

Oct 27, 2009

i am new to VB.net and i am writeing a program to read a serial port and if there is any thing in the buffer i want to read the data and put it in a string then clear the buffer

View 1 Replies

How To Read Text From TCP Port

Apr 10, 2011

I have a device that is continuously sending text over a TCP port and I want to write a VB.net application that will read and evaluate this data. Being new to programming I am having trouble working out how to establish a connection to this TCP port and read the text using VB code. I am able to view this stream of data using telnet.

Most of the example code I have seen during my research seems to deal with two way communication but I think what I need is just one way (I don't need to send any commands to the device - just read what it is sending). I'm hoping some kind person can provide example code to get me started or point me in the right direction?

View 3 Replies

How To Read The Serial Port

Jun 22, 2010

Ive got a big problem.I need to read data from the serial portIve used serialport from the toolbox , but dont know how to use it.I used to do it on a Amiga like this

open serial("serial.device".0.2400.0) rem(open port)
repeat GW.w=readserial(0)
if gw>29 and gw<128

[code].....

View 3 Replies

Read Data From Usb Port In .net?

May 27, 2010

how to read data from usb port in vb.net

View 2 Replies

Read The Whole Data From COM Port?

Nov 17, 2009

When using the SerialPort component in VB.Net, and when the event DataReceived occurs, and if we assume that the com port read 13 digits (Bar Code), how to read the whole data received (i.e. 13 digits) while in event without letting the event repeats 13 times and write the 13 digits AFTER COLLECT THEM in a text box (I don' want to write one-by-one digit in the textbox, all at once)

briefly: I want to read the whole data from COM port at once and write the whole data (not digit-by-digit or byte-by-byte)to a textbox.

I know it is SERIAL port but I want to write the 13 digits PARALLEL to a textbox!

View 4 Replies

C# - Read A XML Data From TCP Port Socket

Jun 2, 2010

I have a device which send me data over a particular port. The data is in XML Format.

Now I already did a small console application which listen for the data and print out the data on the screen.

Now my plans are to deserialize the xml data or I will create the insert statement into the database.

1) The device send me the data every second (if there is data to send me).

2) I cannot say how much data the device is going to send me.

How can I make sure to capture all data without loose any information..

View 2 Replies

How To Open / Read / Write In USB Port

Feb 13, 2009

How to open/Read/Write in USB Port

View 3 Replies

How To Read Data From Serial Port

Jan 3, 2010

I am trying to read data from rfid tag using rfid reader. i can connect reader, but cannot get data?

View 4 Replies

Read Data From Serial Port?

Apr 2, 2012

I am using a VB.NET(VS2010) to read data from serial port. I have 8-bit data to collect through rs232. This data is represented numbers. What reading method should I use and how to convert it to double format?

View 4 Replies

Read Data From The Serial Port?

Nov 12, 2009

I need to read data from the serial port Ive used serialport from the toolbox , but dont know how to use it. I used to do it on a Amiga like this

open serial("serial.device".0.2400.0) rem(open port)
repeat GW.w=readserial(0)
if gw>29 and gw<128

[Code]....

View 1 Replies

Read From Serial Port In Program?

Sep 6, 2010

I am using Scanpal2 to read data and as per its documentation as follows

View 8 Replies

Read Information From A Serial Port?

Nov 2, 2009

I have a teperature PCB that reports the temp back via serial port. I can open Hyper Terminal and receive all the data I want - so I know the unit is working... but I want to create a VB app so I can use the data received. When I run the program I get this error:

System.TimeoutException: The operation has timed out.
at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count, Int32 timeout)
at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count)
at System.IO.Ports.SerialPort.InternalRead(Char[] buffer, Int32 offset, Int32 count, Int32 timeout, Boolean countMultiByteCharsAsOne)

[Code]...

View 3 Replies

Read SERIAL PORT In Vs2008?

Oct 27, 2010

I working on modbus software. I am able to communicate with the modbus slave. The only problem with me is after i write the message on the serial port , i read the serial port for data after say 100ms and i use "system.threading.thread.sleep(100)". This freezes my program for a while. Can you please help me build the logic for reading the serial port after say n no. of seconds without using "system.threading.thread.sleep". I am new to vb.net. I am using .net 3.5sp1 and vs2008.

View 6 Replies

Read Text From Serial Port

Oct 13, 2009

i cannot read data from my serial port..i am using HYPERTERMINAL on my other computer(computer 2)..i can send data from my computer(computer 1) and it showed on computer 2..but when i type things into my HYPERTERMINAL in computer 2, the Visual Basic program cannot read it??this is my code:

[Code]...

View 6 Replies

Read XML From A Device Through A Serial Port?

May 13, 2011

My current program can read in a continuous stream of data when initialized and I can send a command to retrieve the devices stored data, I also have within the same program code that will read an XML file and populate from controls.

I have two separate idea's right now that I'm trying to merge into one

I want to read in XML and populate my controls. I'm aware of delegate and Invoke but I'm having a hard time working them into my XML portion or the opposite "working my XML into my serial port class".

View 14 Replies

VS 2005 How To Read From RS232 Port

May 2, 2011

I have been using VB 6.0 and new to VB.net (VB 2005) I want to know how to read characters from RS-232 port.

I have created serialport object and want to read this sort of thing "A,2451.3955,06715.8253"

View 8 Replies

VS 2005 Read A Serial Port In .Net?

Dec 10, 2011

Actually I have a Weigh Bridge (A Large Scale weight mechanism which weighs in Tons) , for which we use an ELECTRONIC WEIGHT INDICATOR which display the weight on its own digital screen while it has an option to connect with a pc via Serial Port,,I just want is to have its weight (Digits) in a text box of my VB.Net Program,Here I want to mention that I know technical settings of my weight machine such as

Bite Per Second
Data Bits
Parity
Stop Bits
Etc,,,

View 17 Replies

VS 2008 Read Serial Port?

Jul 20, 2011

This code was published a few years ago by stanav. I have it reading my Com1 db9 port but having some issues.i have tried adjusting some timeouts, but then, it may just sit there.Jarbled Text - I should be getting results like "SOHEM709US17946US1114US62RST12345678920110714170301" etc., instead I am getting "3B?B?B?????99?F?F?3B?B?B?CAD?1???2?8?3?0??0?1?6"I/O Error - The I/O Operation has been aborted because of either a thread exit or an application request.

[Code]...

View 17 Replies

VS 2008 Serial Port Read?

Mar 11, 2010

I have written a sketch to an arduino board to send data to the serial port. How can I tell VB to only read from the serial port when data is sent to it? I have been using the timer.tick and tried to sink it with the delay I set in the arduino

View 2 Replies

Setting Up An Ethernet Connection Using .net?

Aug 6, 2009

setting up a Ethernet connection using vb.net...

View 4 Replies







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