Read Inputs From A Digibee?
May 18, 2012Has anyone any experience in using a Digibee. I am trying to read 4 switches.
View 8 RepliesHas anyone any experience in using a Digibee. I am trying to read 4 switches.
View 8 RepliesIs it possible to have a Textbox on a form that when the user inputs data, ( during Runtime )that data remains in the Textbox for good and the Textbox then becomes read only ? Is it also possible to make it so that the CD with the programme on, is in the PC when the programme is being used. Perhaps writing the Textbox data back onto the CD ?
View 1 Repliesvb.net
'' Project name: Golf Pro Project
' Project purpose: Displays the commission based on a
[code]......
i dont know how to assign variables and im juist totally lost right now and this is due today and i was sick 2 weeks and am 2 chapters back.
Probably another crazy question here, I have my rc car able to move by inputs I make to the keyboard of my laptop, is there a way for my vb code to record those inputs so that I can push a button and it will recreate my inputs?
View 24 RepliesI am developing an FTP program which: Watches a folder. If a new file is dropped there then upload it. Tells user if uploading and when complete. All the above works, however I wan to add the items to a listbox that are being uploaded. So if I dropped 3 items there it would look like :
Upload Listbox:
cake.jpg
myExcelFile.xls
woot.docxAnd as each one is done, or new files are added it removes them or adds them.
I tried using que, but with no luck as the program just hangs whilst it uploads. So I had a search and looked into multithreading and I tried to implement it, but I can't get it to work as it gives me some 'delegate signature' related error message as you can't pass in values when trying to use 'AddressOf'.
Here is my code for the The .created sub:
Public Sub FSystemWatcher_Created(ByVal sender As System.Object, ByVal e As System.IO.FileSystemEventArgs) Handles FSystemWatcher.Created
'if any file created add fullpath to the listbox
ChangeLog.Items.Add("Created: " & e.Name)
QueueListBox.Items.Add(e.Name)
[Code] .....
I am stuck on a homework problem and was wondering if anyone could help out a beginner.The question reads:Calculate the amount of a server's tip given the amount of th bill and percentage obtained via input dialog boxes. The output should complete sentences that reiterates the inputs and gives the resulting tip.
here is what I have so far:
[Code]...
It works fine if I input the tip percentage as a decimal, but I need to be able to input a whole number for the percentage, and in turn, output the correct decimal. I'm sure this is a pretty easy fix,
how can i select all inputs of thisweek entry.in my database i have fromdate and todate fields, now how could i select if i'm in anyday of the week but i have select to display thisweek activities. it will display into the datagridview all the activity setted for this week...exam in Microsoft outlook there, Day or today, and work week and month button..if i select today or day it will deplay in the datagrid all activties for the day, and if i select work week it will display activities for the entire week.. and month also...i'm using visual studio 2005 and access 2003
View 17 RepliesI migrated an application from Vb6 to .NET and there are still a few bugs to fix.One of them is when I want to edit a record, the inputs should have been populated with the coresponding data from the database. Instead, only the drop-downs are populated, the text inputs are blank.
View 10 Repliesi want to convert text box inputs into a list box. i have 7 text boxes like; fname, lname , email, phone, etc
how would would i call those textboxes into a list box. also it it possible to make headers for the the listbox.
I have three different textboxes on my form. What I am trying to do is send the inputs the user puts into the text boxes in an email. I have the email working but all the text is run together. I would like to have the inputs from the different textboxes to be on separate lines.
Here is the code I have.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim mymailmsg As New MailMessage
Try
mymailmsg.From = New MailAddress("gdy3eg3oyge@gmail.com")
[Code] .....
I'm not sure the best way to accomplish this, what i have is 10 checkboxes on a form named chkbox1 to chkbox10, say ther user selects 4 then clicks a button, i was wanting to execute code one after each other like[code]...
View 3 Replies[code]What I am trying to do is to navigate to a website and download all the inputs of the form on that page. Doesn't matter what website I use I can't get beyond this error code.
View 1 RepliesI have a recursive function that causes a stackoverflow for big inputs. So I want to enlarge my stack. I have never worked with threads so maybe I'm doing something wrong but when I try to make a new thread, the description for the second argument (StackSize) says that if I use a stacksize bigger than the default one, this argument will be ignored and the default size will be used. How to increase the stacksize? Or how to create a thread with a bigger size than the default one?
View 3 RepliesHow can I save and open a file with inputs as follows:
1. numeric up and down
2. combo box
3. picturebox
how can i do it in visual basic 2008!...
I'm trying to create a User form that has six inputs.
1.) User input textbox 5.00 to 60.0 inches only accepted.
2.) User input textbox 2.50 to 30.0 inches only accepted.
3.) User input textbox 6, 8, & 10 nominal input only accepted.
4.) User input textbox 60% or 65% only accepted.
5.) User input textbox 2.50 to 30.0 inches only.
6.) User input textbox where 500 shows up in the box as "standard" but can be changed by user input.
Then an "OK & Cancel" button. I don't know whether to use a dialog box or a form, what class, masked text box vs. not masked, etc.
How can I prevent users inserting sql injection in my database? How can I validate their inputs? I am new with this sql injection. I don't know how to prevent users to insert this sttmnentif and I don't have the idea of sql injection how can I be sure that I am safe with sql injection??
View 1 Repliesworking with Adobe .pdf files. I have an Adobe .pdf template that allows the user to enter text into different parts of the .pdf template (such as name, address, etc.) I have been developing a VB.Net program that is made up of a set of user forms. I would like to be able to have data that the user enters into textboxes on the VB.Net user forms write to specific areas of the Adobe .pdf template on the click of a command button. I have searched MSDN and Google but I have been unable to find any information on this particular task. If it is can you recommend a MSDN type article or any articles/books/message board posts that provide guidance on how to proceed with something like this.
View 3 RepliesI was trying to find examples of how one would make a webpage using asp so that I could have the visitor enter information on a form and then when they hit submit it will be attached to my webpage indefintaly and any visitor can view it.
View 4 RepliesPublic Class Form1
Dim conn As String
Dim ds As New DataSet
Dim da As New OleDb.OleDbDataAdapter
[code]....
How do i check if user has entered all inputs and go to the next form.
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
t1.Focus()
End Sub
[code]....
In this code it gives an error, but after displaying the error it jumps to next form.
At the moment im working on an encryption program, just to prove something to myself. At the moment I have a problem, when I run the program it will drop a few characters and return wrong characters, here is the encrypter code.[code]the difference between the encryption and decryption code is that the decryption is the addition the square of the position of the characters and the encryption is the subraction of the sqaure of the position of the characters [code]
View 2 RepliesI am using a datagridview as an input screen for repetitive inputs of a similar nature. Once I have saved the data, is it possible to clear the input in the grid for the next round of inputs. At present, all I seem to be able to do is clear all the rows and then create a new set of rows.
[Code]...
How to filter inputs from keyboard in all windows applications while our written code is running and lives in notification area
it's like: user opens our application, now when typing in for example MS Word, when he types "s" it is said in our code to filter "s" and change it to "M" so if he press "s" on keyboard, "M" is typed in MS Word document.
I have several text boxes that I will input answers into and I want them to catch the values if they are incorrect or correct.
Example: the user will input a Letter for the answer, A or a, and I was curious to how the correct input can detect if the answer is correct.If the answer is A B C or D then no message should display but when it's some other value this message will come up.How do I use true or false in this code?
Dim dbl1 As Double
dbl1 = CDbl(txt1.Text)
If dbl1 Not 'A OR a' Then
'Display message
MessageBox.Show("Enter A, B, C, or D")
I am trying to create a little project for my college course.firstly, i will say from the off that one of the specifications of my course is that i dont use DATAGRID's. i know its a pain but unfortunately it has to be done?i have a form which inputs data into a database which isn't working.
here is the code:
rownumber = 0
dbProvider = "Provider = Microsoft.ACE.OLEDB.12.0;"
dbSource = "Data Source = G:UsersRossDesktopEXTENDED PROJECT !!!!!!DatabasesLogin Details.accdb"
[code].....
i have created a simple form which takes some input from the user. Now, I want that the input should be saved to my harddisk and can be seen later as well. Can you please tell me how to save the inputs as a record on my harddisk.
I mean the first time the form appears, it has four options. All the four options will be a record. The next time the form is re-loaded, then the same four fields will have data for someother client. It should be saved as another user.
I would like to know how can we know if current active windows accept an character keyboard input. For example, if a non textbox control in an active window is in focused and user press "a" key, then the current active window will not accept the "a" input.
View 1 RepliesI want to write a regex to verify inputs. The inputs have the following format:
N. Crystal
O. J. Faucon
A. V. E. David
"^[A-Z. ]*+([a-zA-Z])*$" is not working. How can I match the above examples?
2005] Repeated Inputs to an inputbox until NO is selected on a messagebox
View 2 RepliesI have several text boxes which a user is supposed to input a numeric value and the program will use an array to verify whether the input in each text box falls within the numeric range allowed for that text box. So one text box will only accept number 3-7 and i'm supposed to create an array that will verify the input in that text box falls within that range. Personally, I would just do:
Dim intInput1 as Integer
intInput1 = CInt(txtInput1.Text)
If intInput1 >= 3 or <= 7 Then
messagebox.show("Input Verified")
Else
messagebox.show("Input must be a numeric value between 3 and 7")
End If
But this isn't what the assignment asks.