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?


VS 2005 Read A Text File, Insert A Line Of Ascii Commands Between?

Jun 16, 2009

it is a normal text file, I would read it then , (This part I got it) print it out to a reciept printer, send insert ascii code to force the printer to cut the recipt.

View 2 Replies View Related

Send Ascii Data Contained In A String In Hex Format?

Jun 18, 2011

If we have a string that contains for example "01_1A" in ascii, I would like to take first two chars and following two chars after mark and send it as hex format, like &H1 and &H1A.

Note that I would not convert ascii to hex. I am asking for something like &H(var).

View 5 Replies View Related

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

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

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

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

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

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

Make A Program To Send AT^ Commands?

Sep 23, 2010

want to make a program to send AT^ CommandsI want to send this command

View 2 Replies View Related

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

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

Send Commands To The Telnet Session Via Vb?

Dec 14, 2009

i'm trieing to configure a mp3 recorder via telnet and visual 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?


View 1 Replies View Related

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


View 4 Replies View Related

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.


View 5 Replies View Related

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

How To Send Hex (00) To Serial Device

Sep 20, 2010

In VB6, I use CHR$(&H00) to create a Null Character. In VB.Net VS2008 CHR(&H00) creats a Null. I'm trying to send a Hex(00) to a serial device, but the VB.Net function only sends a null, not a null character. How can I accomplish this with VB.Net?

View 5 Replies View Related

Trying To Send A Hex(00) To A Serial Device

Sep 20, 2010

In VB6, I use CHR$(&H00) to create a Null Character. In VB.Net VS2008 CHR(&H00) creats a Null. I'm trying to send a Hex(00) to a serial device, but the VB.Net function only sends a null, not a null character. How can I accomplish this with VB.Net?

View 1 Replies View Related

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

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

Send AT Commands To Router Network Port?

Aug 9, 2010

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

View 6 Replies View Related

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?


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:


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:


View 2 Replies View Related

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

Send Data To USB Controller Device?

May 27, 2012

I know how to send data to com or virtual usb-com if it has physical com port number listed under "Ports (COM&LPT)" tab in the Windows device manager

' sending to device with physical COM port number"
Dim searcher As New ManagementObjectSearcher( _


But how to send data to the device listed in "Universal Serial Bus Controllers" tab without any physical COM port number?

View 8 Replies View Related

What Do Need To Be Able Retrieve And Send Info Across To Device

Dec 9, 2011

I am attempting to write/read data to/from a device that is connected to my laptop via a USB-to-serial connection.The device getsa picked up in my device manager on com port 8.What do I need to be able retreive and send info. across to the device?

View 18 Replies View Related

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

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.


View 2 Replies View Related

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.


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

View 18 Replies View Related

Send Command To Device Connected To COM1?

Feb 3, 2012

I want to send a simple command, such as "v20" followed by a carriage control character, to a heating/cooling block connected to a desktop computer running Windows XP. I am able to get the commands to work within a terminal emulator. I want to compile a simple program that will be executed by software used to control a liquid handling robot.I've looked at the how to send strings to serial ports in visual basic page and modified that code ever so slightly to send the data that I want. However, it does not work and my heating/cooling block is not changing temperatures.á

Here's what I have written:

Sub SendSerialData(ByVal data As String)
data = "n65"
' Send strings to a serial port.


View 3 Replies View Related

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

Construct CommandáByte To Send To Another Device Using Bit Wise Operations

May 27, 2010

I have a need to construct a commandáByte to send to another device using bit wise operations.There seem to be plenty of article on how to do this for indiviual bits using an OR'd constantábut how do I do this forávalues that span multiple bits? eg "Bits 4-1" set the repeat count".so how to I inject a repeat count value of sayá7 into my command byte?

View 1 Replies View Related

Making An Application Which Can Send Recharge Amount By Using A Mobile Device

Mar 15, 2012

I am currently making an application which can send recharge amount by using a mobile device. (Nokia E71).

View 3 Replies View Related

Send A DataGridView WM_PAINT Message Directly To A DC (device Context)?

Oct 20, 2010

I want to do what I have done in the past, using the old VB6. Subclassing has changed a lot since VB6 and I still want to do the same:

I need to intercept WM_PAINT of DataGridView, send it to a memory device context (to avoid flickering), make some visual changes, like place a logo over all over the grid. With VB6, was easy to do. I have spend hours trying to convert VB6/API code to Visual Basic Express 2010 code, without success.

View 1 Replies View Related

Create Simple App Within Program To Send Timed Controls To External Device?

Mar 15, 2010

How can I create a simple application to send timed controls to an external device?

What I need is to create a very simple application that sends control signals or voltages out to an external device connected via serial perhaps. The external device will in turn trigger some electromechanical devices. There needs to be 24 independent controls each with a simple command equivalent to on or off.á What is important is being able to control the timings of the on and off on each control.[code]....

View 1 Replies View Related

.net - Microsoft.VisualBasic.FileIO.TextFieldParser Changes ▒ Ascii 241 To ? Ascii 63?

Dec 11, 2010

I am using Microsoft.VisualBasic.Fileio.TextFieldParser to parse a CSV file that was created with Excel 2003. The parser is working great with the exception that it is converting extended ascii values to question marks! So if the file content was:

▒ 3
The TextFieldParser is returning
? 3

I have tried all of the encodings in the System.Text.Encoding package with no luck. I thought I had it with UTF7 but it was dropping other characters like replacing the + sign with a space.

View 2 Replies View Related

Converting An ASCII 6-bit String To 8-Bit ASCII Characters?

May 9, 2011

I'm working on decoding a NMEA sentence that is a compressed 8-bit string. I'm having a very hard time of wrapping my head around the bit manipulation needed to convert this string. If someone could get me started with this it would be great.

Here is the incomming string:


and here is the expected output:


View 10 Replies View Related

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

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

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

What Is The 'whitespace' ASCII Or Unicode Character In System.Text.Encoding.ASCII.GetBytes (whitespace)

Nov 4, 2009

I would like to pass a whitespace character by using the System.Text.Encoding.ASCII.GetBytes(" "),á and System.Text.Encoding.Unicode.GetBytes(" ") , where " " is the whitespace Character required.á What do I need to type (" ") to get a whitespace character passed.?

View 6 Replies View Related

Send ASCII 0-255 From One Console To Another Console?

Feb 23, 2011

I am trying to send/print/write all possible ASCII codes (0-255) to another console-window application. From my application I would enter the name of the "receiving" application and the comma seperated hex values that should be sent/print/written to it. I have used AppActivate to select the "receiving" application and then have used sendInput and send.sendkeys to attempt to send the desired ASCII value. However, these appear to have limitations on values greater than 127. I need to be able to send all 255 values.

View 1 Replies View Related

Copyrights 2005-15, All rights reserved