473,780 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Proble about "send"

I want to use "send" to send a string
like
Code:
send "p" & OutputString
if OutputString is "1234" , "p1234" will be sent.

but it is sent too fast, my robot' cpu cant receive the whole string.
Sometime it
get "p123" . Can we set some delay between them in this code?

Mar 16 '06 #1
5 1167
<Sw*********@gm ail.com> schrieb
I want to use "send" to send a string
like
Code:
send "p" & OutputString
if OutputString is "1234" , "p1234" will be sent.

but it is sent too fast, my robot' cpu cant receive the whole
string. Sometime it
get "p123" . Can we set some delay between them in this code?

How can we reach your robot? By email, snail mail, phone, train? Where does
he live?

;-)

SCNR
Armin

Mar 16 '06 #2
are you communicating to the device via network connections, wifi, serial,
parallel, usb connections? if so which one?
<Sw*********@gm ail.com> wrote in message
news:11******** **************@ z34g2000cwc.goo glegroups.com.. .
I want to use "send" to send a string
like
Code:
send "p" & OutputString
if OutputString is "1234" , "p1234" will be sent.

but it is sent too fast, my robot' cpu cant receive the whole string.
Sometime it
get "p123" . Can we set some delay between them in this code?

Mar 16 '06 #3
<Sw*********@gm ail.com> schrieb:
I want to use "send" to send a string
like
Code:
send "p" & OutputString

if OutputString is "1234" , "p1234" will be sent.

but it is sent too fast, my robot' cpu cant receive the whole string.
Sometime it
get "p123" . Can we set some delay between them in this code?


\\\
For Each c As Char In "p123"
Send(c)
Thread.Sleep(10 0)
Next c
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Mar 16 '06 #4
thanks so much
one more question:

For Each c As Char In "p123"
...
Next

this edition only works in VB.net
I want it works in VB6.0. what's the change?

Mar 18 '06 #5
<Sw*********@gm ail.com> schrieb:
this edition only works in VB.net
I want it works in VB6.0. what's the change?


Ask your question in a more appropriate group ("microsoft.pub lic.vb.*"
hierarchy).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Mar 18 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3349
by: Erik T. Nomad | last post by:
I've created a link that will enable the reader of any page on my website to click it, enter an e-mail address, and have it arrive in that inbox with a hyperlink to the site. However, I'm wondering if there's a way to customize it further, such that the hyperlink they are sent is the web address of the page the "send to friend" link was on. I don't want to convert my entire site over to .asp, so having a pop-up .asp page seems to make...
3
7216
by: Kurda Yon | last post by:
Sorry for a very stupid question. Can you tell me what does the following html source does if I press button "Send"? If I read this code by Netscaspe from my local file system and then press "Send", I see in my browser directory where the considered html source is located. If I publish the given html source, open published page and again press "Send" nothing changes... What I want to do, is to know what choice did people who were visiting...
2
6276
by: Gary | last post by:
I am trying to use the "System.Windows.Forms.SendKeys" class for triggering the Ctrl+P key. Syntax: System.Windows.Forms.SendKeys.Send("^(P)"); This is not working ..what could be the reason..? Situation: I have a menu in my form, which is given a short key "Ctrl+P", now when the
3
2669
by: Greg Arnold | last post by:
I have created a "Send To" application that allows users to rename files. The user selects files in Windows Explorer, right clicks and selects Send To > File Renamer. The problem is when a large number of files are selected, the app gives an error that says "Windows cannot access the specified device, path or file". I am currently testing on Windows XP. I have been able to reproduce the problem with an "empty" command line application...
6
31112
by: Gary | last post by:
Hi, I am trying to use the "System.Windows.Forms.SendKeys" class for triggering the Ctrl+P key. Syntax: System.Windows.Forms.SendKeys.Send("^(P)") This is not working ..what could be the reason..?
4
4289
by: Rvo | last post by:
Hi all, I need to use the Netware "send" function to send messages to some/all attached netware users on a server. However, I can't find any documentation on this topic on the Novell site or anywhere else. If any of you has experience on this topic (or knows of any online documentation about it) I would realy appreciate your help. (Which references do I set? Which class to instatiate? What methods do I need to call, ...)
15
8592
by: cj | last post by:
How can I get a button in VB to send the contents of a text box via email in a manner similar to the "Send To\Mail Recipient" functionality that you can select via right clicking a file in Windows Explorer? I want the user to click a button and it lunch the users default email client and put the contents of a multi line text box in the body of the message and the contents of another text box in the title box and be sitting there read for...
0
973
by: koraykazgan | last post by:
Hi all, I am writing a C# WinForms application. This app should recieve files and will do operations to them. I want to be able to provide an easy approach for using files with my app. So I have written an Installer, which is installing the app and afterwards putting a shortcut of my app to the windows Send To folder. So the user can right click a file and send it to my app. So far so good. Now I want, for example word documents, also...
1
6095
by: groupie | last post by:
Hi, I'd like to know how to implement the "Forgot Password" feature on many websites which require a login, exactly like this ebay example: http://cgi4.ebay.com/ws/eBayISAPI.dll?UserIdRecognizerShow I've already retrieved the users password from the database - I just need to send it to the email address entered. From reading many posts, I need a server-side script and rather not use form mailto: nor use javascript on the users PC.
0
9636
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10306
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8961
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.