Connect To Tcp Using Port 23?

Nov 3, 2009

has to be able to retrieve an ip address from a list in a text document and send 3 commands to the IP address over port 23 and get the response back for the last command and type it into a text file and after that move on the next ip in the list

View 5 Replies


ADVERTISEMENT

Serial Port Example Code - Connect To A Modem Thru The Serial Port

Oct 26, 2011

The link below has code to connect to a modem thru the serial port but it is for an earlier version of VB. when I convert the code, it does not fully convert and has 4 errors that prevent building the project. can someone tell me what needs to be changed or added?

[URL]

Note: the error: not CLS-Compliant

View 8 Replies

Connect To A Device Through A USB Port

Nov 5, 2009

How do I connect to a device through a USB port. Saying I know what the device ID is. I want to open up serialized communication between me and the device.

View 3 Replies

Connect To Parallel Port Printer?

Apr 24, 2012

I have a program that connect to 2 printers at the same time. Ribbon Printer and Label printer.

I have set the ribbon printer to be the default printer of the server so that normal document printing can be printed using it. This is very simple and i already finsih the code for it.

However i have a Parallel printer at Port LPT1 which i wish to use it to print label. I have search online but find no solution on how to open connection to LPT1 and print the document in coding.What i can find i only send a window command to the port LPT

View 1 Replies

Connect To Serial Port And Get The Data From That Using VB

Jan 12, 2012

I want to connect to serial port and get the data from that using vb.net how to do this.........

i have found one sample and i tried that but in that datareceived event is not firing

View 1 Replies

Nokia Pc Suite Connect To The Port?

Mar 7, 2008

I am developing a program that read the message from database and send sms to the user through phone.I am using a developed dll found online to do

this.The flow of my program is like this:

(a).Connect to the port

(b).Send sms if available.

(c).Repeat (b) every 5 minutes.If the Port is not connected in the half way, will try to connect to the port.

View 1 Replies

ASP.NET Webpage To Device Connect To Server's USB (COM) Port

May 19, 2009

I am working on a way to send commands to an Arduino board from a web site. The Arduino board is connected to the computer via a USB port (a COM port).

I have managed to connect and control the board using a VB.NET program. I also wrote a VB.NET class that can instantiate a COM connection and send and receive messages.

My next step is to basically create a program that will act as a proxy between my web server (IIS 7 running on Windows Vista) and the Arduino board. When a user gets to my ASP.NET page, the page will then send a command to the proxy to open the COM connection. When the connection is open and ready then I can send commands to the proxy. In turn, the proxy will send these commands to the board and listen for the responses it receives from the board. The proxy will then pass these messages back to the ASP.NET page.

The main issue I see occurring is that if a second user opens the web page and tries to open the COM port, there will be an error. Will this cause the first connection to fail? I guess I can first check if the port is already in use and give the second user a message. Are there any other potential challenges I am missing or not seeing?

View 1 Replies

Connect To External Device Using A Serial Port

May 25, 2010

I'm trying to connect to an external device using a serial port. I found a couple of tutorials with demo code and tried these. Unfortunately they all return the same gibberish unreadible result.[code]I'm sure my port settings are correct (I have the communication protocol of the device.)

View 20 Replies

VS 2008 Connect A Photocell To Serial Port?

Apr 23, 2010

I'm trying design an aplication, who receive inputs from a Photocell omron.

I will connect this photocell at serial port, and it, when detect movement, close the circuit.

How can I verifi in the serial port, if the circuit is closed ou opened?

View 6 Replies

VS 2008 Downloaded TCP Program - Even Port: 8080 Not Connect

Nov 30, 2010

i have downloaded TCP program and try

[Code]...

what is the right IP or Port must i used? between client and server

View 10 Replies

VS 2010 Winsock - Can't Connect To Any Online Computers (using Port 7771)

Mar 18, 2012

I am facing a situation with winsock. My application successfully connects to any computer that is connected on my router but i can't connect to any online computers (using port 7771). It simply doesn't connect without any kind errors. Any ideas? I am using port 7771 as local and remote port.

View 9 Replies

VB 2005 Express Make The Web Browser Control Connect Through A Different Ip Address And Port From Default Web Browser?

Apr 29, 2007

Im using VB2005 express and the app im creating uses the web browser control.Basically I want to know if its possible to make the web browser control connect through a different ip address and port from your default web browser.

View 7 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

Get FullName From Available Serial Port (Com Port) From Device Manager In Windows Form With .net?

Jul 25, 2011

I have a Windows form.in windows form have a combo box that give me a list of available port serial with it code (Dim ports As String() =SerialPort.GetPortNames())for example( Com1,Com8,Com15,...).but I want to give me fullname of serial port in device manager for example in dvice manager is these (Comunication Port(COM1) - Printer Port(LPT1) And USB Serial Port(COM8)).how to Get it?

View 2 Replies

Detect The Address And Port Number Of The Parallel Port In Computer?

Jun 9, 2010

I would like to detect the Address and Port number of the Parallel Port in computer.

View 4 Replies

The Given Port Name Does Not Start With COM/com Or Does Not Resolve To A Valid Serial Port?

Aug 2, 2011

If I uninstall the COM1 and reboot, it works. If I shut down (power off) and restart, I get the message below. If I uninstall then click on Scan for Hardware Changes,The given port name does not start with COM/com or does not resolve to a valid serial port. Parameter name:portName

View 8 Replies

Communications :: .net MSComm Port USB 4 Port Relay?

Oct 20, 2011

I am trying to get my 4 port USB relay board to work in VB.net using the COM PORT. I found some code from a poster who has the 16 port USB relay version. When trying his code i can only get it to turn on relays 1-3 all at the same time. The product can be found here: USB 4 port relay

"01+//" - Relay 1 is switched ON
"01-//" - Relay 1 is switched OFF
"02+//" - Relay 2 is switched ON
"02-//" - Relay 2 is switched OFF

[code].....

So i am confused as to how to separate each relay out with that code above and just be able to turn on any number 1-4 relay on or off independently from each other!

View 1 Replies

MSComm Port USB 4 Port Relay

Oct 20, 2011

I am trying to get my 4 port USB relay board to work in VB.net using the COM PORT. I found some code from a poster who has the 16 port USB relay version. When trying his code i can only get it to turn on relays 1-3 all at the same time. The product can be found here: USB 4 port relay I was following what the guy in the post was doing to turn his on:

[Code]...

View 6 Replies

Communications :: Serial Port - Run Program, "Access To The Port 'COM1' Is Denied"?

Oct 15, 2008

Im having problem with the Serial Port. When i run my program, "Access to the port 'COM1' is denied". What does that mean? Im not sure whats happening because theres no error in my code. Someone suggest me to use 'COM2'. Which is also the same result. I have a microcontroller, programmed and run it. And i need to capture the data onto my vb, which is on a multiline textbox. How to i do that?Just to double check my code?

[code]...

View 1 Replies

Application Can't Connect To Local MySQL But Can Connect From Command

Sep 30, 2011

We have a VB.Net application which works fine in our tests in different Windows XP SP3 machines. However there is one machine in which is displaying this error:

Unable to connect to any of the specified MySQL hosts

Using the mysql command, we can successfully connect to the database. We already checked for any other application or firewall that could be blocking the connection but it seems fine. We also reinstalled the system (no errors during the installation) but the MySQL error message doesn't change.

The system settings are exactly the same as in the other computers. We are using "localhost" as server in the connection string. The "hosts" file has its default values (nothing strange in there).

View 1 Replies

Cannot Connect To Microsoft Life Cam (but Can Connect To Built In Webcam)

Jan 16, 2012

I'm working on an application where I'm using an webcam image. I have code that works when using the built in iSight (It's an Apple running boot camp windows 7) camera. However after installing a second USB powered Microsoft Life Cam I am unable to connect to this second camera. When runnign this code I only ever get one input device:

Private Sub LoadDeviceList()
Dim strName As String = Space(100)
Dim strVer As String = Space(100)

[Code].....

View 3 Replies

Can't Connect To MySQL - Unable To Connect To Any Of The Specified Hosts

May 29, 2012

I am trying to connect to my remote MySql Database within Visual Studio using the compact framework.

I can successfully add a data source and preview the data within the IDE so assume that the connection is ok regarding Connection strings and remote access.

However, when I attempt to access the data using any run time control I get the following error when the table is loaded using the .fill method.

MySql.Data.MySqlClient.MySqlException was unhandled
ErrorCode=-2147467259
Message="Unable to connect to any of the specified MySQL hosts."

[Code]....

View 9 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

Get USB Control For The USB Port Communication? Like The SerialPort Control For The COM Port

Jul 17, 2009

Do someone know if there is a\\ USB control for the USB port communication? like the SerialPort control for the COM port.

View 2 Replies

Connect To Server - Error "Cannot Connect To SOFTCITYEIMPRESSION"

Jun 5, 2011

when connecting to sql server i get getting this error . please help how to resolve this problem

[Code]..

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

[Code]..

View 2 Replies

Accessing USB Port In VB6

Jun 17, 2008

I am new to this forum as will as to VB. I am using VB6. I want to access the USB port in order to read the data at the USB port comming from my Data acquisition card.Or as a matter of fact can I also access the data from my mouse, because it also transmits the signal when ever the mouse is moving.

View 3 Replies

Any Way To Disconnect IP In Port?

Jan 17, 2009

It is possible to disconnect an IP in a port? I have a MMORPG server, and I need kick bad players using IP of this player.

View 2 Replies

C# - Open And Use A TCP Port?

Jan 17, 2012

I need to transfer data between several computers in a network using my app. I thought of using TCP ports. how to open and use them? I only want to make a file transfer and chat app that works offline.

View 3 Replies

Close A Usb Port?

Feb 8, 2011

How can one close the usb port (shut off power (electric current)) ?

View 8 Replies

Communicate Using LAN / NIC Port?

Mar 4, 2009

I am trying to send and receive packets over the LAN (i.e. NIC port) using VB.NET. I found some code that uses Socket wrench, but problem with such solutions is that users will need to install extra drivers and all which I do not want. I am looking to use drivers native to the .NET environment to send and receive packets through the LAN port. My windows forms application is in VB.NETneil

View 1 Replies







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