Confirm What User Enters In The Program?
May 2, 2012
Well, I have a form called customers. Login form and mainform.
So my clients want to have an option that explains this: If a user enters information in the customer form, then that information has to be confirmed by admins panel.
Get me well. When application program loads with a limited user, I set some buttons hidden so that only admin can see it when they log in. so in that case, users are not capable of inserting anything in the customer form.
But this time they want users to insert information then the information goes to administrators to confirm the information...if admins accepts the information, then information is then goes to customers table in database. If they don't confirm it, then that information will be ignored.
am using vb.net 2008 with sql server database.
View 7 Replies
ADVERTISEMENT
May 2, 2012
Just a pretty question that seem to me a bit difficult to do it. Well, I have a form called customers. Login form and mainform. So my clients want to have an option that explains this: If a user enters information in the customer form, then that information has to be confirmed by admins panel.
[Code]...
View 3 Replies
Jul 2, 2009
I have a login form that I made. The user enters a username in textbox1 and then enters a password in textbox2. The user then hits the submit button (button2) and from there it works beautifully. The problem is, I would also like the user to be able to hit the "enter" key after they fill out the password textbox (textbox2) and have it be like they pressed the submit button. When the user hits enter right now, the form hides.
View 4 Replies
Mar 1, 2009
i was wondering how i can make a simple program that when for eg a user enters 4 it gives this figure **** and so i want that if the user enters 5 it gives ***** etc.
View 9 Replies
Jun 27, 2011
I am trying to write the code for a conference:
1 person costs $695.00
2-4 people costs $545
5-8 people costs $480
8 or more costs $395
If the company has been before they get a 15% discount and no company can have more than 16 people. The program asks that the user enters valid data.?? (error msg boxes)
View 33 Replies
Dec 7, 2009
Ok so i made a program where the user enters 3 inputs in a 3 textboxes (First Name, Last Name, Bday) and when the person presses enter a check list is made under the checklistbox with the Lastname. So can any1 tell me if i click on that checklist then everything i entered shows up in a label.
View 11 Replies
Nov 21, 2010
The latest assignment from my teacher was to create a console program where the user enters a character and the respective ASCII value in Denary, Hexadecimal and Binary, Even Parity, Odd Parity and Hamming code is returned.I've managed to implement all of them except the latter with relative ease, I am familiar with the concept of Hamming code and can compute it easily by hand, but don't really know how to implement it as a function in my program. [code]
View 1 Replies
Jun 12, 2011
I am trying to create a program that the user enters the number of enrollments for 5 different campuses during two semesters. I just got started and here is what I have so far but when I run the program it is stuck in an infinite loop and will not go to the next function. I am not sure how to end the loop.
Here is what I have so far:
Module Module1
Dim SIZE As Integer = 5
Dim campus() As String = {"Decatur Day", "Decatur Evening", "Huntsville Day", "Huntsville
[CODE]....
View 1 Replies
Feb 9, 2010
So i've to write this program whose purpose it this:
Purpose: The user enters the item name and amount of the item purchased. The program calculates the tax for the item and the final total, and then displays these values. Tax on all items will be 7.75%.
And so far i've this code but it's not working:
' Program: Cash Register
' Author: Nidhi Shah
' Date: February 2, 2010
' Purpose: The Cash Register Window application will
' computer the tax and the final cost of a
' purchased item.
Option Strict On
Public Class frmCashRegister
' Tax per item - used in multiple procedures
Const _cdecTaxPerItem As Decimal = 0.0775D
[CODE]...
View 6 Replies
Mar 27, 2011
My code works correctly if I do not have the DO WHILE statement, however we are suppose to have it loop. Which it will continue to ask for the salesman's name, code, etc. but when the user enters the name "eugene" the program is suppose to calculate and output the total monthly sales and the total commission dollars. What is happening is that when a user enters "eugene" the program is not recognizing it to do what it is suppose to do(calculate and output the total monthly sales and the total commission dollars) I am stuck and need assistance on how to make it recognize eugene. I am also having trouble with trying to figure out how once eugene is entered to tell the program to add the salespersoncommission and monthly sales of each case to get the totals to output to the user. Can you add the cases?
Option Explicit On
Option Strict On
Module Lab14
[code].....
View 8 Replies
Jun 11, 2011
I was developing my own project in the university so what i am stack is to have save button which firstly validates what the user enters the form. for instance if the user skips the text fields, i wanted to restrict the user to fill all the form and when he completes, the save must be accomplished.
Here's the code i was trying to put but i was having problem saying the windows.forms.etc is unable to convert the save as Boolean and something like that.
Dim success As Boolean
Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click
[CODE]...
View 5 Replies
Nov 30, 2010
If I have a form in my application that has a datasetview and allows users to edit entries, how best can I present the information back to them to show them the changes that they've made, and ask them to confirm changes?
View 3 Replies
Oct 6, 2009
how to take the value that a user enters into a textbox and add it to values entered into other forms by the same user. I want the values to all add together onto a new form in a label. Code for textbox:
[Code]...
View 2 Replies
Jul 28, 2011
I've been using KeyPress to help limit what the user enters into certain textboxes. e.g. here's my code for a Phone number. It only allows for numbers and dashes: [code]It's all working fine; however, the thing I hate about using it is that when ever have to do debugging of the screen, for each keypress into this textbox, it goes into debug.I'm wondering if it's possible to do something similar when the user clicks the save button. Has anyone done any type of validation like this?
View 6 Replies
Sep 17, 2010
I want to write a program that if ping www.microsoft.com is success,than caption title it's "ok,connected Internet",if ping it's failed,the program "caption" title is "sorry,not connected",but I don't know how to write those code
View 10 Replies
Sep 6, 2011
I've watch the videos on asp.net and I've looked online and have found nothing.
I have a search box on a site, that searches for recipes. Each recipe has a what you're making image, a title, and type(dessert, lunch, dinner).
All of these items are in a DataService, which I can query against and get a list of the items they are searching for.
Now I'm using VB's ASP.NET MVC3 w/ Razors for the site and I'm trying to get some auto completeness going on when the user enters text.
What should happen is when the user enter text, it will call an ActionResult in the Search Controller. Which queries the DataService and puts all the search results in a model. With that model I return a PartialView, results, with the Model included.[code]...
View 1 Replies
Sep 22, 2010
how I can get the LIKE statement to work if the user enters a number like 403* ? The sql works if I do not enter an *
strWildCardFound = InStr(TNSearchTextBox.Text,
"*")
TNSearchTextBox.Text = Replace(TNSearchTextBox.Text,
[Code].....
View 2 Replies
Jun 22, 2011
I have two textboxes on the screen. They are used for startdate and enddate. If the user does not enter anything in the textboxes I pass nothing (VB.NET) to the webservice. When the webservice receive it on the other end it shows the value "#12:00:00 AM" which I think is the default for the datetime field. Anyway, now I do not want to pass this value to Stored procedure since it will not work. How can I check before sending values to sproc that the value is not the default datetime.
View 3 Replies
Jan 15, 2009
Is there any way to use a DTP and have nothing but the slashes show until the user enters a date?
View 7 Replies
Apr 20, 2011
codes one that validates that user will enter only uppercase letters in a textbox and no numbers and symbols. The second one should validate user only enters string no symbols and the third should only accept string and symbol
View 1 Replies
May 20, 2009
count the number of times when a user enters a character followed by , and I want to count , number of times. So far here is what I have if you also know a little about the split function can you check to see if what I have is right?
Private Sub Strat0_LostFocus()
Dim q1 As New rdoQuery
Dim LO As Integer
[code]....
View 6 Replies
Feb 2, 2012
I started learning visual basic a while back but stopped, now I am trying all over. I created this very basic windows form application. What I am trying to do is add a greeting based on the time of day. Example, the user will enter a name and click the button to get a greeting; example: Good morning Bob.This greeting is based on the time of day; example if time after 12:00pm, good afternoon, if greater then 5pm good evening and so on.Here is what I have written so far:
[code]...
View 8 Replies
Oct 2, 2009
Im using Visual Basic 2005."Devise a program to create a multiplication square for any size the user enters, up to a maximum of 10x10. The program should output something like this for a 4x4 square.
1234
2468
36912
481216
You will need to make use of the RichTextBox, along with concatenation to make the output format correctly within the box.When you have created the working program, document it properly by printing out and annotating the code to explain how it works."
View 4 Replies
Apr 1, 2011
so my program takes what the user enters into a textbox and searches through the data i have stored and if it matchs one of the peices of data it displays the apropriate data to the user. This all worked fine till i changed the textboxes to be added dynamicly to the form when it is load and i put all textboxes in a collection. So now when the text is sent to the search sub it sends the data over but always returns that it didnt find a match. But if i go into the search sub and just tell it what to search for automaticly it finds it no problem.
View 3 Replies
Oct 5, 2011
I'm playing with XML, DataGridView control, DataSet and DataTable. [code] the user can edit/add records via DataGridView control. So, when the user enters a string value where it is expected to give an integer value(first column and third column), it would give a big error message. Instead of showing that, I would like to apply custom validations.
View 3 Replies
Jun 20, 2008
Using VB2008, Access
I have 2 fields defined as date/time (short date).
I need to store dates fields which may at times be blank (null), how do I go about that?
I tried using:date.minvalue and that stores the value of 12/30/1899. I would like the field to be blank until the user enters a valid date.
View 10 Replies
Jan 22, 2010
I'm using a bindingnavigator. My datasource has the column "key1" marked as unique = true. The user presses the "+" button on the screen. A blank form is presented as expected to allow entry for the new record. The user enters "A" in the "key1" field, "A" already exists in the dataset as all records have been returned by the fill command of the tableadapter, the user then, without attempting to click the save button, clicks in the "PositionItem" textbox in the bindingnavigator. They then enter a number (say "1" for instance to go to the first record in the bindingsource), when they press enter an unhandled exception of type ContraintException is thrown. The exception is expected since the Constraint is not met. But how can I handle this exception, or how to I reimplement the code to do the work of the "PositionItem"? I know how to override the "movenextitem", "movepreviousitem", etc.
View 2 Replies
Jun 17, 2011
I've got a VB.net web app, and its start page is http:\<myServer> myApp>webformslogin.aspx
I'd rather they didn't have to enter this whole address. Is there a simple way to redirect my users to this page if they just enter the root i.e. http:\<myServer><myApp> ?
View 2 Replies
Apr 22, 2009
i have a textbox and a button on tool strip. i wan to set focus on the button when user enters data in textbox. after enter key is pressed it shoul focus on the button.
View 1 Replies
May 11, 2009
I want help emergency for a project i have, I have to make a program to do hamming codes, since now i have done the part for converting a character that the user enters in a textbox to binary.This binary now is displayed in a textbox. So now i want to save this binary to an array
e.g i have this binary 10101110
CODE:
and so on .. how can i do it?
View 14 Replies