Send Commands To The Telnet Session Via Vb?

Dec 14, 2009

i'm trieing to configure a mp3 recorder via telnet and visual basic.how can i send commands to the telnet session via vb?I can make connection with it via telnet and ip adress , but after that i wil send the command for login( login=hdr1) ANd with another butten for example (transport=play)How can i do that?

[Code]...

View 1 Replies


ADVERTISEMENT

Send And Receive Information From A Client Via Telnet Applciation

Apr 1, 2011

An currently writing a vb.net application to send and receive information from a client via telnet. Am using System.net.Sockets to do this. I can send data great and get data back is ok. So the Problem is in the command window after I telnet in to the server application, when i press the delete key the cursor moves back a character and doesn't delete the character, just over writes it and when I read the bytes in I get the deleted character and the ascii value for the delete key and then the replacement character. I have seen another telnet application that shows the deletion of characters in the Command window.

View 1 Replies

How To Send Commands Over A Network

May 26, 2010

I have never programmed a network program before and would like to learn at my own pace. Also I am not asking anyone to write this complete program for me, just bits of code to help me write a complete program. (though if you do code it all I won't complain.) I already tried using internet tutorials but none of them seem to work.I am trying to program a simple form with 4 buttons, and 2 users.The first button is a connectivity button. "Green" for connected, "Red" for not.The second button is a "Connect" Button which will connect to another computer with this program installed/active. (I want it as simple as possible)and the next 2 buttons switch between "1" and "0" depending on user input(Default "0"). the first button is the local user button and the second is the remote user button. When the local user clicks the local button then what he/she changes it to will be displayed at the remote site. The same thing will happen with the remote user.

I know how to place all the buttons where they belong, and to change the local text, but I have no Idea how to connect to a remote program or to pass messages between the two users. Can anyone suggest some Simple code to do this. (something that I will be able to learn and use to make more complex code later on.)

View 2 Replies

How To Send EPL Commands To USB TLP2824

Dec 26, 2010

I have a Zebra TLP2824 Printer and I want to know how to send the EPL commands from a VB.Net Windows Form application.

View 2 Replies

Send Commands RS232?

Jul 26, 2010

I have downloaded the vb script and it works as it should, its a program where you have some buttons so that you could trigger the relays.But i need several small scripts, one for each relay on / off so that i can call them from a .bat file with argument.i have a .bat named relaycard and in thet i have created argument like

relay1on
relay1off
relay2on
relay2off
and so on.

The small program relay1on should just do the jobb and then close itself.Maybe its a little bit clearer now.On the link that i posted there is a manual and even links to the vb program,

View 27 Replies

Send Commands To Its Prompt?

Mar 15, 2012

What I have done so far is place the compiler inside the bin of my project folder, inside the Debug folder. I managed to call the cmd shell but the problem is whenever I pass commands to that cmd shell, it doesn't work. What happens is it opens a cmd shell and when I pass commands on it, it opens many other shells.[code]...

View 1 Replies

ASCII And BCD - Send Commands From PC To Device Using USB

Apr 19, 2011

I need to send commands from PC to device through USB cable, and the code is : "0"(48) and must end with Enter(13). so what should I type in for the code for Enter?

View 6 Replies

How To Send Messages/commands Between Apps

Jun 15, 2009

I've got a curious problem that I can't crack. I have 2 applications, app A and app B. Application A runs continuously doing various things. On the same machine I have application B that runs infrequently at random. I need for application B to tell application A to do something. Both are vb.net apps that I've written and can tweak to make this work. I can't figure out how to get app B to communicate with app A while app A is already running?

View 4 Replies

Make A Program To Send AT^ Commands?

Sep 23, 2010

want to make a vb.net program to send AT^ CommandsI want to send this command

View 2 Replies

Send Commands To CMD ( Command Prompt )?

Jun 24, 2011

In my application I have only one button . That button will open CMD then it will send a command into cmd , now after that command it requires an "enter key" to continue the process .I tried the shell command in order to access the command but then I couldn't press enter in cmd using my application

View 4 Replies

Send Commands To Command Prompt

Dec 13, 2011

I am trying to send commands to Command prompt.The following code should open the text file I specified.However it opens several instances of the cmd window and also several copies of the text file. Sometimes the text file is not opened and if the file path is long, part of the file path gets inserted into my text file.[code]

View 1 Replies

Send Items In Listbox AT Commands?

Jan 29, 2012

I wanted to send the items within a listbox.One item at a time

this is the code snippet:

For i = 0 To 5
SMSPort.Write("AT+CMGS=" & Chr(34) & sender & Chr(34) & vbCrLf)
SMSPort.Write(listfiles.Items(i).ToString() & vbCr & Chr(26))

[Code].....

View 4 Replies

Use AT Commands To Send An SMS Not Work With Windows 7

Mar 3, 2011

I'm running Visual Studio 2010, and i'm trying to use AT commands to send an SMS. My question is will it not work with windows 7 due the exclusion of hyperterminal in windows 7. (I was able to dowload a version of Hyperterminal and can use AT commands in that.. but my code itself does not work.) My code is below.

[Code]...

View 5 Replies

VS 2008 Remote Send Commands?

Dec 10, 2009

I have an application which I would like to access from another computer.So I thought of making a client which my application(server) would send commands to and then the client runs the command.

View 6 Replies

C# - Windows IPC Methods - Send Data / Commands To Dll?

Apr 27, 2010

I have a dll that I can load in another program. Now the dll has access to all data/functions in the other program. Which technology can I use that now an external program can send data/commands to that dll, to steer the other program, or get data from it ? I mean, in the past that meant DDE, I think that was back in Windows 3.11/95 times. What can I use today? Which one is easiest ? Which one is fastest?

View 3 Replies

Click A Button And It Send Various Commands To VPS Server Through SSH

Aug 3, 2011

I want to make a simple program where I can click a button and it send various commands to my VPS server through SSH. I have had an extensive search online but the SSH Components range from $200-$500 which is far to expensive for what I want to do. I was just wondering if anyone knows any other free alternatives. Or maybe has seen a free SSH Component. I am very well aware that free clients exist like putty but would very much like to incoperate it into my own program to be automated.

View 1 Replies

Send AT Commands To Router Network Port?

Aug 9, 2010

How can i send AT commands to my router network port?

View 6 Replies

Use The Address Bar To Send Commands To External Application?

Oct 3, 2009

How can i use the address bar to send commands to a external application?

Example:

AOL Instant Messenger -

I havent used this application in a long time. But i remembered if you wanted to add a friend to AIM from their online profile it directed them to a link such as:

aim:addfriend=contactID

and AIM would pick this up and add it the contactID to the application. The link i posted is more than likely not the correct link they use but it shows what im trying to accomplish.

Im looking to achieve something along the lines of:

myApplication:command=commandValue

View 2 Replies

Will Commands Send To A Process.Start Be Obeyed From Within IDE

Sep 16, 2010

Will the commands I send to a Process.Start() be obeyed from within the IDE? [code]This doesn't work in the IDE, just gives me a blank window with the full string as the window name, but I'd like to fire up ffmpeg from within the app, wondering if it's an IDE thing or my code. I know some things in Flash work differently in the IDE than the "real" thing, not sure if VS does it too.

View 1 Replies

SMTP.Send() Returns After (or During) An Email Sending Session?

May 9, 2011

This vb.net code seems to work ONLY if run... and I keep the program open for an additional 5-10 secs AFTER I see the "email sent" message. If I instead wait 0-1 secs, and then close the prg, the email goes nowhere.Does SMTP.Send() return AFTER the email is completely sent... or just when the email BEGINS to go out? (Sometimes the email body and/or file attachment might be 10k long, and take a while.)

Dim myMailMessage As New Net.Mail.MailMessage()
myMailMessage.From = New Net.Mail.MailAddress(fromEmail)
myMailMessage.To.Add(toEmail)

[code]......

View 1 Replies

Send XML Commands In Vb To Get Data Received Over A Serial Port

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

Use Sendkeys To Send Some Basic Auto-mation Commands?

Jul 29, 2009

I play Lord of the Rings Online and tried to use sendkeys to send some basic automation commands.Unfortunately it doesn't seem to get the keys I'm sending

AppActivate "Lord of the Rings: The Mines of Moria"
sendKeys (" ")
does nothing.

[code].....

View 2 Replies

VS 2010 : Send RCon Commands To Game Server?

Dec 20, 2010

im trying to send RCon commands to a Call of duty: Black Ops game server.I read a thread from a few years back about sending RCon commands to a CoD 4 server, and all look promising until the application kept crashing when I pressed connect.

[code]....

all I want is to be able to send a few commands to the server through an application.

View 18 Replies

[2005] Bringing Up A Hyperterminal Session And Using Sendkeys.send And ENTER

Jan 28, 2009

I'm having a problem when I'm bringing up a hyperterminal session and using sendkeys.send I'm using process.start and it will show the first dialog to make the call....all is fine. You click OK and another dialog pops up with a DIAL NOW button.

[Code]...

View 2 Replies

Serial Port Communications - AT Commands - Send And Receive Data

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

[2008] Send Linux Console Commands To A Remote Linux Server?

Jan 23, 2009

Is there a way for my program to send Linux Console Commands to a remote Linux server?

View 4 Replies

How VB Can Focus A Specific Program And Then Send Commands To The Program Only

Aug 3, 2011

I am trying to figure out how VB can focus a specific program and then send commands to the program only. The focus would only be for the commands and would not make the program you are currently in lose focus. Simply, what it is controlling is a Windows Application called GOM Player. I use it to study my material for school. I plays movies in it and don�t have to click out of the application I am working in to pause, play or rewind. The keypad and the company who make it actually have it built into iTunes and it does exactly what I want GOM Player to do.

The reason I dont just use iTunes is because I can�t get my video files to play in iTunes. After pulling teeth with the manufacture I finally to tell me that the iTunes functionality is accessible via plugins built into iTunes. So trying to mimic what is being done there does not help. I believe that a knowledgeable VB programmer could answer my question in seconds, but having some experience with coding and programing I know it also could be a lot more than what I think. [URL]

The question is: What is way that VB can send the key for the macro only to the GOM Player Application even if it is not focused or even If it is minimized.

View 1 Replies

Asp.net - Adding A Session ID To A Link For Automatic Session Start?

Dec 8, 2011

I am storing a session variable that a user types into a textbox. With their valid input, their session gets created and they get a little more functionality than the regular end users of the site.I was wondering if it is possible to find a way to add someone's session variable to the end of a URL. This way we can email a link to one of our clients, they click it, and their session has automatically begun. They already have the textbox to enter their code into, but I was told that it would be much easier for the users to just click a link that will start their session.

View 1 Replies

Get The Handle Of A Application And Send Commands To That Application?

Jun 7, 2011

I have already asked about the problem in java forum.Now i think the solution is only possible through microsoft products.Problem is i want to get the handle of a application and send commands to that application.Is it possible commands are send to combo box , text area, buttons etc..

View 2 Replies

Session Id Or Session Number Of The Connection With Mssql?

May 28, 2009

On startup of my software which i developed in vb.net, it connects to mssql server. I want to have session id or session number of the connection with mssql. I'm sure it is unique number and i want to use this session in my software for different purposes. My question is

1. is there anything like session id or session unique number when you connection mssql server

2. if yes to 1 then how i can get it in vb

View 1 Replies







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