Can't Send Command Using Pop3?

Jun 3, 2012

my problem is i can't send command using pop3 in vb.net every time i try to send its nothing happen but i can connect in tcp client server and server reply +ok when i connect

View 10 Replies


ADVERTISEMENT

Send A Command To A Command Line And Then Submit The Command?

Apr 30, 2010

First let me say that I am not sure whether or not this should go in this section or the API section, and if it needs to be moved I apologize. My issue is fairly straight forward, but for some reason I cannot get it to work.

I am trying to send a command to a command line and then submit the command. I have been trying without success to get this to work in v2008 Express and v2010 Express, Here is the code I am trying to us:

Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( _
ByVal lpClassName As String, _
ByVal lpWindowName As String _

[Code].....

View 6 Replies

Using Psexec.exe From PsTools To Send A Command To A Remote System To Fire A Command

Mar 17, 2010

I am currently using psexec.exe from PsTools to send a command to a remote system to fire a command through a command prompt however I am finding that the shell I am doing does not seem to like the spaces in the path.

[Code]...

View 3 Replies

Send Command To Command Line From Windows Form Application?

Mar 11, 2010

I am trying to send a command to the external command line (cmd.exe) from the Windows form application that I'm writing in VB.NET (using VS2008).

I can only access the external program thru the command line (its not my program) and I must do so from a form app.

I am trying to use the following code. I am able to call a cmd.exe window, but I can't pass the command line my command.

Using mp As New Process
With mp.StartInfo
.FileName = "cmd.exe"

[Code].....

View 8 Replies

DOS Net Send Command Use In VB?

Oct 18, 2011

I use below code to run DOS command Net send through VB code but not work I need help to solve this problem Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code]...

View 1 Replies

Send The Command In Hex?

May 24, 2010

I am new to programming and VB.. so go easy my buffer is about full :) I am trying to talk to a box with serial port and only need to send the command in hex. here is the protocol for the device and my code below it to turn on the box. I am not calculating/sending the correct checksum because if I sniff the string being sent to the box from another piece of software that comes with it I get 04 1C 01 DF (spaces put in for clarity) and it works. my code produces 04 1C 01 21..

View 17 Replies

AT Command To Send Scheduled SMS?

May 25, 2012

Is there any AT Command to send Scheduled SMS from PC via GSM Modem?

View 1 Replies

Send A Command To A Server?

Jul 28, 2009

how to creat a client and a server and pass text between them (like a messenger), and it works just fine

so my question is : how do I send a command to the server, for example, open a program (like notpad) or do tasks or search the remote pc or even shutt it down??

note that am not trying to make a trojan or anything like that, I have two pcs and I was just wondering how to do it ?

View 3 Replies

VS 2008 Send Key's Command?

Mar 17, 2009

i have a textbox that my mouse double click's on so it highlight's the text and i need it to copy that text

sendkeys.send({^+C})

i know it's something like that but it's not working for me i just need to send ctrl+c to copy it and i dont know the code's

EDIT> k someone gave me the code it's
System.Windows.Forms.SendKeys.Send("^c")

now i need the space key what is the code for it i tried this and it dident work

SendKeys.Send("{SPACE}")

View 7 Replies

Delay The Execution Of The Send Key Command?

Apr 16, 2012

I am trying to delay the execution of the send key command. In VB script, it was relatively easy:

obj.sendkeys "{enter}"
wscript.sleep 1000
obj.sendkeys "{tab} {tab}"

When I do it via VB express, it is clumping the code together. For example

Threading.Thread.Sleep(5000)
SendKeys.Send("enter was entered ")
Threading.Thread.Sleep(5000)
SendKeys.Send("double tab was input ")

Instead of pausing for 5 seconds, typing the keys then pausing for another 5 seconds, it pauses for 10 seconds and then immediately types the input. I tested this on notepad.

How do I replicate the sleep feature in VB script into VB? There appears not to be a sleep feature in VB Express 2010

View 5 Replies

Send A Command To Another Instance Of My Program In Net?

Jan 12, 2010

I have a program that needs to see if it is already running and if so bring the other instance to the front and then close itself. Now I figured out how to see if another instance of the program is already running using GetCurrentProcess, but how do I tell the first instance to "BringToFront" from the second instance?[code]...

View 3 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 Keys To Command Prompt?

May 25, 2009

I have an application that will open a command prompt (cmd.exe), and then types "ipconfig/renew". How do I send the enter key, to execute the command?

View 3 Replies

How To Send A Command To A Running Application Via Commandline

Nov 10, 2011

I want to exit my GUI application (vb.net 4) using a commandline parameter.I should send thive! from the commandline:

myapplication.exe quit and an already running instance of the application should exit.

Now, I have a mutex detection in place so that I can only have one instance of the application running at a time. It seems that if I send a commandline, it won't work on an already running application; it will only work on one that is launching.

View 3 Replies

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.

[code]....

View 3 Replies

C# - Send Folder Rename Command To Windows Explorer?

Dec 27, 2011

I have a shell extension made in .NET that creates folders (think of it as a context menu New -> New Folder option clone) and uses a InputBox to input the name of the folder from the user. Instead I want to send the rename command on the folder to the already open Windows Explorer window. It should be just like how Explorer lets us name a new folder:

On searching, I found this : Windows Explorer Shell Extension: create file and enter "rename" mode. It says to use the IShellView::SelectItem function with the SVSI_EDIT flag. How do I do that with .NET?

View 2 Replies

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

How To Send EPL2 Command From Zebra TLP 2844 Printer Connected By USB

Nov 10, 2009

I have a Zebra TLP 2844 Printer connected by USB to my computer. I want to send EPL Commands from Visual Basic .Net to the printer through the USB Port wich the printer is connected to. USB is a Serial port but IT IS NOT COM PORT. So, I don't want the method of connecting the COM port with VB.Net. I want a USB method or any helpfull idea or code.

I searched the net for many days but no solution was found.

Briefly, I want to print to Zebra TLP 2844 from Vb.Net over USB port.

View 10 Replies

Make A Program To Send A Command Through A Textbox When A Button Is Clicked?

Dec 15, 2011

I'm trying to make a program to send a command through a textbox when a button is clicked, THEN grab the output and put it into another texbox. If you could help i would be great full. This is what I have so far....

Public Class Form3
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Shell("C:DFUs-irecovery.exe")

[code]....

View 1 Replies

Send A Command To A Tenma DC Power Supply Over An RS232 Cable?

Jan 17, 2009

I am doing wrong? I am using VB2008/VB.NET to send a command (set to 4 volts) to a Tenma DC Power Supply over an RS232 cable. I don't have documentation from Tenma that lists the commands that the instrument understands, I got "VOLT040" from a program in an older version of VB that someone else wrote for this instrument. The code is below:

[Code]...

View 2 Replies

Send A Tare Command To A Weighing Scale Through Rs 232 Using Serialport Control

Aug 27, 2009

i am developing an application which needs to connect to a weighjng scale throug rs 232 and capture the output. after inserting the record however the pc needs to send the tare command to the weighing scale in order to set the scale to zero. now he tare character as far as i guess ia T i sent the command like this

serialport1.write(chr(27) & "T" & chr(13) & chr(10))

View 1 Replies

VS 2008 Send A POST Command To A Login Form's Action

Jul 24, 2009

How can i send a POST command to a login form's action...in easier words. how can i login to a webpage without opening it in a webbrowser control and after that how can i send text from a vb application to a webpage(sort of like posting) im making an autoposter application.

If u dont know wot an autoposter is see this:

Quote:

This program posts inside many forums (you can choose). It's main objective is to allow a user to distribute their posts to many forums easily without opening each individual page on the in a web browser therefore you get more points to your filehoster's account.

Note: you must still create each forum's account manually.

If u want an example of an autoposter...go here [URL]

View 20 Replies

C# - Send Command To A Application In The System Tray To Launch A Form For Input

Apr 26, 2010

This is what I'm trying to accomplish: I have a Point of Sale application that integrates with a credit card processesor. I wan't to remove any user interfacing logic in regards to the credit card processor in the point of sale and add it to a application that sits in the background or system tray. I want to be able to send a command to the background app to popup a form for user input.

For example: User in the Point of Sale clicks a button "Credit Card" at this point it will send a command to the background app say "ProcessCC" which will pass a transactionid and an amount , this will open a form for the user to enter in the credit card information and submit the payment to the credit card proccessor.

Reason: I need to get a padss certification and don't want to submit the point of sale to do it. Rather send the simple background app that will control any credit card processing functionality such as encryption , storing etc. I know it can be done using sockets but was hopping for an alternative solution.

View 1 Replies

Make A LAN IM Client Using The Net Send Command - Intercept Messages From Windows Messenger Service

Jun 5, 2009

I'm trying to make a LAN IM client using the net send command and I was wondering if there is any way to capture the text of the messages received through net send and display them in a label.

View 6 Replies

Send Last Entry On A Listview On The "Save" Command To A Textbox?

Sep 23, 2010

I have a listview and on save or update of the database it saves the TicketID to the listview. It also shows all the prior tickets created in the listview as well. I would like to pass the very last entry ie in this case TicketID to a textbox so that it prints out a ticket with the ticketID for the user.

Don't really want to loop through all the other tickets in the listview since it could end up running into the tens of thousands of numbers.



View 3 Replies

VS 2008 Use .net For Pop3 With Ssl?

Aug 16, 2009

searched 2 days, but can not find a good example. any class? or free component? found one, but it is C#.

View 1 Replies

Stop The Serialport.write Command To Send "0D 0A"?

Oct 10, 2009

I am using Visual Basic 2005 and Serialport class. My target device is a WinCE 5.0 Emulator.When I send bytes using serialport.write(byte(),offset,count), the serial port always output "0D 0A" between the bytes and after the bytes sending complete. like this:34 0D 0A A5 5A 0D 0AHow to stop ouput the '0D 0A"? It seems like a terminator "", I have tried to search the serial port settings but cannot find the proper setting. The seiral port is 19200, no parity, one stop bit, 8 bits.

Imports System.IO.Ports
Imports System
Imports System.Windows.Forms

[code]....

View 6 Replies

Create Pop3 Account Using VB

Sep 18, 2009

I have started a project in VB 9.0 (or if you like Visual Basic 2008 Express Edition), it's called bEdit (Basic Edit). It is like notepad for writing basic files (.bas). And now, my problem is:If you press enter to start a new line and then save the file, and then open that file in Notepad and there will be no blank line, all words will be together and blank line will be replaced with some weird ASCII character.
Source code is attached.

View 4 Replies

Pop3 (tcp Client) Connection?

Jan 16, 2009

I created some apps with the system.io and .net namespace. Sending an email and save files and such. Now I want to use pop3 to receive and read the messages on that account. I used TELNET to connect to my pop3 account and that is going well.

Here is the code I used in vb.

Dim client As New TcpClient
client.Connect("Pop3.whatever.com", 110)
If client.Connected = True Then

[code].....

How can I verify if the connection is ok and I'm logged in with this name and password? In Telnet I receive +ok after a command and input is correct, otherwise it generate -err.

View 5 Replies







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