.net - Send File FTP Over SSL With Custom Port Number
Sep 21, 2011
I want to upload and download a file to FTP over ssl with custom port number or FTP with implicit SSL. I am using .net ftpwebrequest & ftpwebresponse method for this. here is my code:
[Code]...
View 1 Replies
ADVERTISEMENT
Jun 21, 2010
I just want to know is it possible to send a file to COM port and receive a file from COM port?
View 1 Replies
Dec 9, 2011
I wish to send a string held in a var to an IP address and Port number both also held in vars. I also wish to listen to a signals coming in on a particular port number so when particular strings are received I can trigger other transmissions.
View 2 Replies
Sep 11, 2009
sending a hex file through serial port using vb.net? and i m not really sure the difference between sending data and sending a file, seems majority of the topics on the forum is about sending data via serial port.
View 2 Replies
Jun 9, 2010
I would like to detect the Address and Port number of the Parallel Port in computer.
View 4 Replies
Feb 6, 2009
This is what I would like to achieve:To create a custom messagebox, with varying number of buttons with custom .Text descriptions, and other features. I intended to have a property array that would be redim-ed and have values (.Text values) set by the calling class:
[code]...
View 7 Replies
Jun 9, 2012
how to send data to a USB port.
View 1 Replies
Nov 21, 2011
I am currently doing a program to control some device via usb port but i don't know how to interface the usb port using vb.net. i want to send data on a device to make it act like parallel port..
View 10 Replies
Jan 24, 2008
I am trying to send and receive data through a USB port on my computer to an external microcontroller.
I built most of the code using the "serial class" but then i read that this would not work with a USB port.
How would I go about communicating with this USB port on my computer?
View 5 Replies
Mar 11, 2010
I am trying to send a ctrl-x keystroke to COM2 and I ahve to code to open the port and read and write but when I tried to send Chr(Keys.ControlKey + Keys.X) it did not work
View 1 Replies
Feb 18, 2011
I used this code in the pass with VB6 to send hex data over the serial port to a microcontroller.
MSComm1.Output = "C"
Send command ID
MSComm1.Output = Chr$("1") Send Command Parameter
MSComm1.Output = Chr$(CStr(240)) Send CR
I need to convert the code using VB2010, but Chr$ is not available, and anything I tried will not send the actual ascii code character......
View 10 Replies
May 18, 2011
I'm trying to send a message to a specific IP/Port and receive a reply in an ASP.net website, i tried the method describd at the following link but it didn't work for me as you can see SocketException An attempt was made to access a socket in a way forbidden by its access permissions
View 1 Replies
Aug 19, 2010
making an application which send some files to LPT port.My Code is
Dim PortName As String
Dim pr As Process
Dim args As New ProcessStartInfo("cmd.exe")[code]....
look at the bold line.1st line Send a file to PORT and 2nd line deleting that file.I am execute this code in a loop.that means those 2 lines are executed in multiple times.As a reason of that,some times these 2 commands are not working properly. so that the file is not deleted. How can the commands are executed in proper way?
View 10 Replies
Aug 5, 2010
I am trying to send a control string from VB.NET to a serial port. I am using a pololu trex jr. on the receiving end of the serial port. I have attached a copy of my current code which compiles without errors, but fails to send data. I can tell that it is not sending data because I have a light on the control board connected to the port and it normally blinks when data is received. The program that came with the board drives it perfectly but does not serve the purpose I need it to. I am open to any suggestions as I eventually plan to write a class to contain the control routines.
View 12 Replies
Jul 8, 2011
I have created a program to send and receive data from a serial port, some of the data needs to be stored in certain strings for a export to excel. However the data takes while to to send be sent back. So in order to get the right information in the right strings I have to put pauses in my code. I have added a timer to my form:
On my timer's tick event I have the following code:
Public Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
iTick = iTick + 1
End Sub
View 3 Replies
Aug 9, 2010
How can i send AT commands to my router network port?
View 6 Replies
Mar 11, 2010
i knew Serial ports are a type of computer interface that complies with the RS-232 standard. They are 9-pin connectors that relay information, incoming or outgoing, one byte at a time. Each byte is broken up into a series of eight bits, hence the term serial port.And I want to write a program chatting through Serial Port.
View 3 Replies
Apr 18, 2012
im very new to visual basic. as in i just started 2 days ago. Currently i have a little program written up that has a couple of radio buttons and then a submit button. when you select a radio button and click the submit button, a little message box with pop up and say "you selected such and such"
Well now im trying to make something that will send a string to arduino through the usb cable. Basically it will use the same set up as stated above but instead of a pop up message it will just send the string through the port. for example Radiobutton1 - when selected and submit button pressed will send "1" (no quotes) through the serial port Radiobutton2 - when select and submitted will send "1" and then maybe "3"
and so on and so. Some radio buttons will only send 1 string through them and some may send multiple. Now, i dont need help with arduino, i have that already set up to wait for the strings to come through the com port. just need to figure out how to do it in VB.
View 1 Replies
Jul 18, 2011
I want to send hex values across the serial port. I know, I know, your thinking not this again. But what I need to do does not seem to be addressed, or I am some how missing it when I search around.
[Code]...
View 2 Replies
Dec 8, 2010
I've set up two computers, with a null modem serial cable. When trying the connection in two Realterm windows it works ok to send strings.I'm trying to write a simple project that sends the timestring over the same port.One button sends the timestring. I've created one other sub "AppendLabel" that just updates a label.text so I can see what's happening.[code]
View 8 Replies
Dec 1, 2011
I have quite a bit of VB6 experience but now am trying to create my first VB.Net project. The project is very simple - it just needs to send 8-10 character strings from the PC serial port. The problem I'm seeing is that VB.Net is always sending out a 0x0A character after each 'WriteLine' call. Using VB6 it was necessary to manually send out any End Of Line characters. My application requires that no extra EOL characters be sent after the string.
View 2 Replies
Feb 14, 2010
How can i send byte/signal/puls usb port?i want to this
View 3 Replies
Feb 24, 2011
I am supposed to make a software for data logging via serial port but the hardware is expected to be delayed and iam required to continue with the programming of the software. What i need is that by some mechanism i want to send data on serial port (COM port) and after delay of some mili seconds i want to detect that data. I actually want to do this because i want to create environment like my software i intercepting COM port and on receiving data it captures the data values on port and record them to database. I have done most the work, the only thing left which i want is as above how i will send data on COM port (this was to actually to be done by hardware) and detect it in my program (same program from which data was sent). Please guide from where should i start.
View 3 Replies
May 5, 2011
How do I send XML commands in vb to get data received over a serial Port?
I know the commands I'm just not sure how to send them.
View 2 Replies
Sep 1, 2009
I am currently sending data via a serial port to an AVR microcontroller. I've tried searching the forums here first but haven't found any posts that specifically deal with what I'm trying to do. Here's some additional information that might help before proceeding:
Sendbox = textbox
ReceiveBox = listbox
ReceiveChk = checkbox
I currently have it setup so I enter hex data in Sendbox, click the button, it sends the data to the AVR micro via the serial port, which gets repeated back through the serial port and receives the hex data in the ReceiveBox. I want to be able to setup something similar so I am able to input data into a textbox as binary and have it sent to the AVR that way.
I realize it will send the same data whether I enter it in hex or binary form. I just want the option of being able to send it in either form.
Below is my code.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SendButton.Click
SerialPort1.Open()
[Code]....
View 1 Replies
Apr 12, 2009
I have a USB modem that can detect caller ID and can detect dialled digits when special AT commands activated, How to send and receive data. The sent data will be the AT command such as AT+VCID-1 to activate the caller ID, the received data will be caller ID information and the digits dialed. I'm new to prgramming and using Visual Basic 2008 Express.
View 8 Replies
Mar 10, 2010
I am trying to figure out the port number of a fax server. It gives everything but the port info. I see in the documentation there is .GetPort but I am on windwo xp and I am not seeing that the method.
View 1 Replies
Jan 21, 2012
How will I send data or signal to H-Bridge then to DC Motor using parallel port in vb.net?
View 2 Replies
May 30, 2011
I have 2 winforms, one acts as server (ie Winform:Server role) and another one as client (ie Winform: Client role). In my LAN setup, there are 6 PCs and these PCs connected to each other via a 8-port switch and each PC has more than 1 LAN card.
There is one PC running [Winform: Server role] and 5 others running the [Winform: client role]. In [Winform: Server role], I'm using following code to obtain local ip address and port number and the [Winform: Server role] will listen to all incoming TCP requests according to these auto assigned ip address and port number.
Dim Listener As System.Net.Sockets.TcpListener
Dim Client As New System.Net.Sockets.TcpClient
Dim Message As String = ""
[Code]....
I need to clarify my intention. My current approach to my intention maybe incorrect. I attempt to create a 'zero configuration client-server networking' and that is plug & play. The server will know where the client and vise versa. I know there is a program (i.e. MaxiVista) has done that exactly.
MaxiVista has 2 applications, i.e. server and client. Users only need to execute the server application in PC designated as server role and execute the client application in another PC designated as client role. Then the server will be able to find all executing clients in the same LAN.
My intention is just that. Plug and play 'zero configuration client-server networking' within the same LAN.
View 3 Replies
Feb 11, 2012
an application working with a modem through usb virtual port,on every different computer it gives different COM port numbers so I have to guess it. How to get COM port number by friendly name like in Windows Device Manager if i know GUID, PID & VID of device. Does anybody have a code snippet?
View 4 Replies