Recieve Input From Robot Sensors?
May 20, 2009
1 how to work a robot with vb ?
2 how do i recieve input from robot sensors ?
3 how do i send output commands to the robot ?
4 can you refer me to sources about the above ?
5 can vb interact with the software tobotbasic ?
6 is there a vb procedure for recieving text strings from another software that runs at the same time as a vb application ( like a revese getkeys()
7 can vb send commands to a robot via bluetooth if so how ?
View 9 Replies
ADVERTISEMENT
Sep 27, 2011
when creating a tcp chat, Im able to send and set everything up but. the application(form) freezes everytime stream is going to be readed
heres the code
Imports System.Net, System.Net.Sockets, System.IO, System.Text
Module client
[code]....
View 1 Replies
Apr 19, 2010
I wanted to add to my program a way to write and recieve emails through Gmail and others like it. I can already write the emails through SMTP and works great. But after hours of forum reading and searching google I have yet to find a way to read my emails through my program. Is SMTP able to do this? If not is there another way?
View 6 Replies
Jul 15, 2009
i tried finding some links from this forum , however still can't get my problem solved. Anybody who has done some projects on stimulating images using sensor of an accelerometer..kindly step forward to assist..Below are the part of code which i can only move the car from right to left..I thought of making the car move in different directions (diagonal ways, up down etc.
[Code]...
View 1 Replies
Apr 28, 2010
I am suppose to make a form with a recieve, ship, value, and exit button. You are suppose to be able to click a button an input box comes up and whatever your put in there is suppose to show up in the text box and whatever number you put in is suppose to keep adding to textbox. Does anybody know how to do this?
View 14 Replies
Oct 13, 2010
I got a robot. And i want to drive it with numpad. So you can go in reverse, forward, left and right. I use a K8055 from velleman. Can someone help me with writing a program?
View 4 Replies
Dec 18, 2009
how to incorporate a PIC with VB.
I`m trying to find out the steps needed to achieve that, i`m i correct?
1) i need to find a PIC that is suitable for my project (to handle wireless motion sensors)?
2) I need to write the code for the PIC? (does the manufacture of the PIC provides an environment to write the assembly language?)
3) Then i need to write the vb code?
4) Finally to use a serial port to create a communication between VB and PIC. Also are their any all ready made PIC`s that can support VB code direct without the need of writing the assembly code?
View 16 Replies
Jun 22, 2009
I was thinking is there anyway VB2005 can be done if I create an animation( car) such that its movement can me opearted using another external component(example a sensor).
View 2 Replies
Oct 19, 2011
I just wanted to know if visual basic 6.0 or Visual Basic 2010 can be programmed to create a system that uses both smart card reader and sensors (photoelectric sensors) and be recorded their information into a information management database for date and time log.
Example:
1. A personnel will have to tag their smart card to the smart card reader. It will then be checked from the database and approved if their record is available in the database.
2. He will then have the access to enter and take a particular stuff from a rack (which has the sensor) guarding on each item on the rack. If the personnel take the item. It will then be logged into the database for the 1. personnel I.D, 2. item position on the rack, 3. time and date when the item is collected.
Question:
1. What hardware are needed to incorporate all this (smart card reader and sensors to database)? a controller perhaps? terminal for all the sensors?
2. What software to create the information management database so an authorized personnel may check the event history? also software to incorporate with the sensors? will it have to be on separate software or all can be done in the package given in VB6 or VB2010 or an additional software to be used?
3. Does MSComm Control have any relevance on this subject? All i know is what it does (vaguely) and no idea how to implement it.
View 7 Replies
Mar 26, 2012
create a chat robot from theprogramming Currently I use Compiled language is VB.NET.From VB.NET in a few months exposure to MS SQL and use of these twotools to design my chat robot. That is fluent sentences of everyday language, a sentence stored in MSSQL.
As follows:
I say: <What did you say?
AI: I returned to what?>
A few months down the progress of the lack of progress.I can not find a better solution to enhance the smart until I found the AIMLchat robot.AIML is derived from the Artificial Intelligence Markup Language-basedword processing streaming XML.It is specifically designed to deal with sentence structure and the birth ofcomputer technology.I recently started slowly in contact with this technology AIML?[URL]
View 1 Replies
Jun 28, 2011
This program is being used to analyze an excel document with coordinates for a robot. The entire program works...My boss indicated he wanted me to throw an exception in whenever a coordinate that wasn't being given a tolerance wasn't supposed to move, he wanted the program to give an error message. Which I figured out and outputs a message box saying "Result Compare Fail!"
Now here is my dilemma..whenever I encounter a section in the excel sheet analyzing multiple variables, I still get the error message, because the program doesn't think of it as multiple variable coordinates changing. Is there an easy way to fix this? I'm stumped! This is one of the cases, but they are all very similar.
[Code]...
View 3 Replies
Feb 16, 2009
Can i please get a copy of the code which you used to get the MSCOMM to connect to the robot and send single bytes of information? Having loads of errors with my code.Working on a similar project but using the mind-storm nxt kit.?
View 4 Replies
Oct 7, 2010
Just want to share the Robot motor control I made I used vb.net to control it, this is the first time I made anything like this and would love feedback on improvements[url]...
View 2 Replies
Jan 15, 2011
I need some help with the input validation of my application. Attached is the code that I have written as well as a screenshot of the front end. I specifically need input validation to verify that the user selected input for cbLengthOfStay is a number between 1-10 as well as input validation to verify the user input for txtMedication, txtSurgicalCharges, txtLabFees and txtRehabilitation is a positive numerical number. Please feel free to critique my attached code. [Code]
View 2 Replies
Feb 19, 2012
If my Category and Forum selection is incorrect I am sorry and feel free to move it. I'd like to have the users input in the message box that will show. For example: There is a textbox and the user puts in their name as Bob. Then the message box would be: What my main goal is, is being able to include the users input they type inside the textbox inside the message box.
View 6 Replies
Sep 25, 2010
I have a problem with the code, I have input the valid username and password in the form textbox to input the strings in php, but it keep displaying the messagebox that says login failed.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MessageBox.Show("Please enter your username")
ElseIf Textbox2.Text = Nothing Then
MessageBox.Show("Please enter your password")
Else
[CODE]...
I don't really know why it keep displaying the messagebox that says it failed when I have input the valid strings in the first place.
View 1 Replies
May 10, 2010
I am writing a calculator app in VB Express 2008. I'm trying to get the app to accept numeric and operator input while ignoring all the alpha input. In other words taking input from the numeric keypad and the top of the keyboard and ignoring all the letters.
Here's the block of code I have so far:
Private Sub TextBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
If (e.KeyCode >= Keys.D0 OrElse e.KeyCode >= Keys.NumPad0) And (e.KeyCode <= Keys.D9 OrElse e.KeyCode <= Keys.NumPad9) Then
Select Case e.KeyCode
[code]....
I can't get vb to recognize the above code it seems to skip right over it. BTW, is 'Keys.Crsel' the same as the caret '^' symbol?
View 7 Replies
Jul 29, 2009
On geting input into DataGridViewTextBoxColumn but the column should not accept input of data that is not integer like; 10003, 2.00, 1500.00
View 3 Replies
Sep 28, 2011
My objective is to, instead of entering in the data manually into the text boxes, I want to read in a textfile. The Calculate button will contain the code to read in the file and assign it to the appropriate textboxes. Save the separate file in the \bin\Debug folder.
The text file just needs to have 3 integers on 3 separate lines.The code I posted works without and errors, but.I am having some trouble integrating the Stream Reader.
[Code]...
View 14 Replies
Jun 26, 2010
i wish to apply an input-mask or a format on an input box so it can check if the input data is an email or not.the inputmask/ format would be as folowing &&&&&&&&&&&& "@" &&&&&&&& ".com ".That is in Access but how to do it on VB.net and an input mask. Here is a part of the code which I use
Dim x As String = InputBox("please enter new E-mail" + vbNewLine + "eg.(username@domain.com)", "Change Email", My.Settings.Email)
If x <> "" Then[code].....
View 4 Replies
Nov 3, 2011
Option Strict On Public Class Form1 Private Sub btnDistance_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDistance.Click 'The btnEnterSpeed click event accepts and displays up to ten speeds from the user'and then calculates and displays average speed
[Code]...
I cannot figure out how to incorporate the number of days into the input box then get it to loop and count the number of times the User inputs in the number of days. Then I have to incorporate it into the equation to get the total distance D = MPH * Hours. What I have right now wil not count up the number of days and locks up after I input one number and will not add anything to the listbox. Because I also have to make sure that they cant add nonnumaric values and the number of hours per day cannot exceed 20. I have put things in and taken them out but it has been 2 days and I am lost now
View 1 Replies
Mar 16, 2009
how to input a data/value to excel through vb input form and get the data/value from excel back to the input form?? (For example: put a number into exel A1 from input form and get another number from ecel B1 bact to the input form)
View 1 Replies
Sep 23, 2010
Part of my assignment is to check if input to Group Number and Number of Units are correct input by making error handling exceptions...
I have to check the following:
a) group number is neither 501 nor 062
b) number of units are NOT numbers
c) number of units is NOT a positive number
So my first question is, am I checking correctly? 2nd question is, How do I make sure my Exceptions will pertain to their correct respective things (a, b, and c.. above)?
[Code]...
View 6 Replies
May 2, 2009
I've been working on some code to add together input from an input box to make a string and display it in a message box. I've put the code in a loop so that it will add all input into the string until nothing is entered in the input box.
Dim stringInput As String
Dim message As String
Do Until stringInput = String.Empty
[Code].....
All I get is just the last input entered to show up in the message box and none of the previous entries. How do I get all the input to be added together and show up in the message box?
View 10 Replies
Jul 7, 2009
i use visual basic 6 i already try making a button to play sounds. by clicking the button and the sound will out. so that i want to know were could i start, when you input words in textbox the program will speak what you have type in the textbox.
_
View 5 Replies
Feb 24, 2011
I have 2 pages, one is HTML and the other is ASPX. In the HTML I am able to get input from a user and then process a return email to them.The HTML looks like this:
<input type="text" class="input" value="e-mail" id="txtEmail" name="contactEmail" onclick="SelectAll('txtEmail');" >
[code]....
View 2 Replies
May 22, 2010
i'm making a multi-line text box, i need somone to add input in a InputBox, and it to write it to a setting (My.settings) but, i need each input to start with a new line, i've tried chr(10) + chr(13), but nothing works!
View 3 Replies
Feb 15, 2012
I'm fairly new here and based on the help that i've seen people give I though this would be a great place to ask! Basically, I'm new with coding, so I decided to work with Minecraft - specific a Minecraft Server Starter. It has a built in text box to display all the stuff that the console would normally display and an input tetbox to use commands.I have it so you can either use the Normal Minecraft Server or a Bukkit server. Basically, when I run minecraft.jar it works perfectly, I get the Output from the console and I can input commands.When I use craftbukkit.jar (bukkit) I get the Output of the console fine, but I can't input any commands... I can't figure out why it's doing this!
[Code]...
View 1 Replies
Aug 27, 2010
Searching found many answers along the lines of it depends on the device driver", but I don't think that it's that way here.
I have a cheap & nasty RFID tag reader. You just have to open notepad, touch a tag to the read and its serial number appears in notepad (I have not tried it in Linux).
Anyhoo, how can I programatically capture this serial number in VB.net (20088 express)?
View 2 Replies
Jan 12, 2010
I have a form set up where users can enter their booking for a room at my college. I want to validate the user input to avoid SQL injection (my program uses a MS Access database) and also stop numbers and synbols in their name, etc.I can do the validation fine, but there is to be a lot of validation and then methods executed only if all validation tests come back as true. I did have something like this:
If txtName.Text = "" Then
frmBookErr.SetError(txtName, "Name field cannot be left blank.")
fail = 1
Else
[code]....
And then check the fail variable, but it obviously gets overridden later in the form if one of the validation tests come back as true.
View 3 Replies