Designing A System That Enables The User To Input A Customer Record?

Nov 27, 2010

im currently designing a system that enables the user to input a customer record. the customer record is broken down into 11 fields: customer id, title, forename, surname, house no, town, city, county, postal code, contact number, date of registration. Problems - i need to be able to insert the new record into a file and for them to be organized into surname order (for a binary search to work) at this moment it will only sort by first field (which is unnecessary as the customer id number is generated automatically and is all ready created in order). Also, im having trouble with sorting the array that contains all the variables from the text file.

[Code]...

View 3 Replies


ADVERTISEMENT

Designing A Program Which Enables Us To Write?

Dec 1, 2009

I am designing a program which enables us to write our language in any computer program My language is basically written completely opposit from english ( bilingual the program has to press the left arrow key everytime a letter/number/symbol is entered! i am having success with this code

For i = 32 To 32
result = 0
result = GetAsyncKeyState(i)
If result = -32767 Then
SendKeys.Send("{left}")
Timer1.Enabled = True

[Code]...

View 5 Replies

Program - Permit User To Input Customer's First And Last Names And Number Of Days That Car Was Rented

Oct 6, 2009

The local car rental company rents cars for 29.95 per day with unlimited mileage. There is a refueling fee of 12.95; regardless of what the level of fuel is when the car is returned. Write a program that will permit the user to input the customer's first and last names and the number of days that the car was rented. The program should compute the total charge for the car that was rented.

I have to do this:
A. using a standard window
B. Using a WPF window (And I don't even know what that means)
C. Using a console application

View 14 Replies

Inserting A Record From User Input Into Sql Using VB

May 25, 2009

i've added new item called service- based database. after that, i've created doctor table, course table, exam table, and an empty table called exam_report to allow program selects randomly from the other tables.

how it works: first the user will get a form with many buttons: courses, doctors, exams, and exam report. second if the user click over exam report, a new form will appear with many columns. this form should has exam course - exam day - exam time - 3 doctors name who will observe the students.

behind code: the doctors shouldn't be the instructors of the course - the doctor has no appoinment in this day - the doctor has no hloiday and so on..

okay my code is the following :

Public Class Form6
Dim j, a As Integer
Dim d, f, h As Integer

[Code].....

View 3 Replies

Return Data From An Access Record From User Input?

Feb 17, 2011

It's been a good few years since I dabbled in VB and I'm very very rusty so any help would be great! What I'm looking to do is search an access database with user input and display the relevant record.I have a single table set up in an access database called school_info with the following fields and data:

Tres________DfE________Name_________Type
001________1234________School 1________Primary
002________4321________School 2________Secondary

[code]...

I've linked the database to my new project, connected the database and added the 4 fields to my form. When I run it, the data shows in the boxes fine.The Tres and DfE fields are show in text boxes on the VB form, and the school and Type are show in labels. What I really want to do is be able to manually type in either a Tres or DfE number into the relevant text field and have the other labels auto populate with the relevant data that's stored in the database table.

View 9 Replies

User To Be Able To Add/remove An Employee Record And Update The Input File Before The Program Is Closed?

Apr 25, 2011

I'm trying to create a program, that upon opening, will read an input file containing a delimited employee record. The record will contain the name of the employee, their salary and the number of years they have been employed.I'm looking to display only the name of the employees in sorted order(alphabetically) and then when the user of the program selects a particular employee, I want to display the salary and number of years for that employee.I would like the user to be able to edit the recors for the employee and I would also like to have a way for the user to be able to add/remove an employee record and update the input file before the program is closed.

View 5 Replies

Restict The Input Of A User Based On What The System Needs?

Oct 6, 2011

how to restict the input of a user if im going to accept account e.g.,

View 7 Replies

Designing A Better Tag System

Dec 31, 2009

Iīm having a problem designing a recipes program with tag(url...) support/I dont know exactly hows the best way to build the tag system, the idea I had is this, Ill try to explain it though english its not my first language, sorry about that.[code]The idea is that since I cant save memory references, at the start of the program I rebuild the references of refRecipe iterating through stTag, searching for recipes which contains its tag name. Also, when creating a new recipe, I must search if the tags exist in stTag to just set refRecipe or create a new tag.I think this systems have a lot of disadvantages because of tag name duplicity. Though its fast to show tags and related recipes, its not when creating and editing recipe tags because of all the iterations, but its the better way I found to do it.

View 5 Replies

Designing An Auto-login System

May 26, 2009

I have this code to log me into dreamincode.net:

[Code]...

How can I adapt this code so the user can input the password, and the username and the site for which it is entered. so the user can do this with any numer of websites, and any number of different usernames/passwords)

View 5 Replies

VS 2008 - Validation Functions / System Displays A Message Telling The User To Input Any Fields?

Apr 1, 2010

iam currently working on my uni project and i have encountered a problem with valadation section.My system displays a message telling the user to input any fields that they have missed out on, listing the name of the field. However as these IF functions are in order the user must input the data in the order of how it is in the code. for example if the "consweight" is inputed and the calculate button is pressed, it thinks that all valadation above it has occured, when those fields are still empty.

[code]...

View 1 Replies

Designing Information Retrieval System For Estate Agents

Dec 30, 2008

I have an assignment where I have to design an information retrevial system for estate agents. I have to be able to view the houses for sale, and delete them when there sold. I am new to vb script: Opens the Policy Details file and reads in the
'== records into the arrays (parameters) which are
'== passed back to the calling routine for
'== processing.
'== N.B. Use Sub SavePolicyDetails(...) to write
'==the data back to the file.
[Code] .....

View 2 Replies

Record Deletion - Customer And Booking Data Sets On My Form

Mar 15, 2012

I have a customer and booking data sets on my form. customer id is a foreign key in booking table .but when i click delete button. it gives me an error: The DELETE statement conflicted with the REFERENCE constraint "FK_Booking_Customer". The conflict occurred in database "photoshoot", table "dbo.Booking", column 'Cust_id'. The statement has been terminated. Its a one to many relation between customer and booking. one customer can make many bookings each booking will belong to only 1 customer.

View 1 Replies

Code A TryParse To Get The Input From Customer From A Textbox Named Strands And Convert It To A Number?

Oct 21, 2009

How would I code a TryParse to get the input from customer from a textbox named Strands and convert it to a number (this number will always be a whole complete number, cannot be 5.6 or 4 1/2 or whatever) then have that Strand number be muliplied by the selected item in my listbox1. This listbox has an access database bound to it with 2 columns Size and Area, the Size equals the Area and I set the Value to the Area column but set the Size to show up in the list box. and the Strands textbox has to muliply by the Size picked, but by the Area # not the Size #. And the results of that multiplication showing up in another textbox named total.

View 14 Replies

Designing A Windows Based Computer Program That Will Allow A User To Enter Some Number (n)?

Dec 10, 2010

I need designing a Windows based computer program that will allow a user to enter some number (n) and a choice of a count up or count down for that many numbers. So for example, the user enters 5 as their number and selects the count down option, the message box displayed would contain the message: "Here are your numbers: 5,4,3,2,1,0"

View 7 Replies

Take A Bill Of Material File From A Customer In Xml Format And Import It Into System?

May 13, 2011

I need to take a bill of material file from a customer in xml format and import it into our system. The problem I'm running into is that the terms they use to describe the types of material may vary. So, for example, if they are specifying a piece of threaded rod, they may call it "THREADED ROD", "THREADEDROD", "THRD ROD", "THRD'D ROD" or some other variation. Another example might be rectangular tubing. They might call it "RECTANGULAR TUBING", "RECT TUBING", "RECT TUBE", etc. There will be many types of material besides these two that I need to catch. Once the program determines what the material is it then branches to the appropriate subroutine to do further parsing. I was trying to think of a way to use regex or the "Like" or "Contains" operators to do this. Here is one way I thought of using "Select ... Case" but it isn't very flexible & will only catch hard-coded terms:

Select Case material
Case "THREADED ROD", "THRD ROD" 'etc...
Case "RECTANGULAR TUBE", "RECT TUBE", "RECT TUBING" 'etc...
End Select

View 7 Replies

LINQ To SQL Query - Select Customer From Dropdownlist And Then Gridview - Load All Items Of All Orders Of That Customer

Oct 4, 2011

I have the following problem: I select a customer from a dropdownlist and then the gridview should load all items of all orders of that customer. I have the following query:

Dim allorders = From ord In db.Orders

Where ord.CustomerID = Convert.ToInt32(CustomerDropDownList.SelectedValue)

[CODE]..............

I also tried to modify the query as follows:

Dim orderitems = From oi In db.OrderItems

Where oi.OrderNumber = (From From ord In db.Orders

[CODE]...........

But this does not work. I just started using LINQ.

View 5 Replies

Using Microsoft Acres Database - Table Named Customer Info To Store Customer Details When Registering

Oct 5, 2011

A registeration sys using a Microsoft acres database I have a table named customer info to store customer details when registering and I need coding that will add the following to my table customer I'd , firstname, lastname , phonenumber and user also has to make selection between radio buttons male or female.

View 2 Replies

Autocomplete Customer Surnames Direct From The Customer Datatable?

Jan 5, 2010

I am trying to autocomplete customer surnames direct from the Customer Datatable, using the code below which I got from another thread, but nothing is happening.

[Code]...

View 6 Replies

VS 2010 - Input Validation To Verify User Selected Input For 'cb Length Of Stay'

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

Creating User Input With Textbox.text Input Then Displaying In Messagebox?

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

Handle My Record Update, And Move To The Record Number The User Entered?

Oct 27, 2009

I am handling many of the BindingNavigator tasks (MoveFirst, MoveNext, etc.)in code to ensure that I always ask the User to save his changes.

The one area I am have a problem is PositionItem. I would like to sense that the User has changed the Record Number in the BindingNavigatorPositionItem, handle my record Update, and move to the Record Number the User entered I have looked all over and have not found any way to do this.

View 3 Replies

Get User Input Data Into The Loop Of The Input Box?

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

Visual Basic Input User - Save What The User Types In The Vb Code

Jul 14, 2009

I'm trying to save what the user types in the vb code Dim user as Inputbox("") for example in a .txt file i can save the textbox and listbox but i cnt figure out how to save the inputbox i really need this to be saved the most.

View 7 Replies

Auto-fill A User Input Control With The User's Windows?

Feb 11, 2011

I am creating a form for work where managers can report when they find a customer's personal information laying around on a desk (we work at a call center where agents answer calls for a wireless cell phone provider, so we take personal information security very seriously). Anyway, I am wondering if there is a way to have a text box autofill with that manager's windows username (since they will need to be logged into their own profile to use the form).

View 2 Replies

User Input - Tje User Can Type In Data To Such A Parts QTY Cost

Mar 11, 2010

I need something tje user can type in data to such a parts QTY cost etc. There are no predefined parts list so the user can enter any part name/Number and there is no limit to amount of parts that can be entered.

Does anyone have any idea what might be useful. It was thinks of a listview bu i can't see that you can type into that. I cant use comboboxs because there are no predefined list and i know there is some way to generate text at runtime (i think) but i don't know how to do it and i would prefer a clearer approach.

View 3 Replies

Enables Any Control On A Disable GroupBox?

Jun 6, 2011

How To Enables any Control on a disable GroupBox

View 1 Replies

Enables Timers With Out The Code To Enable It?

Mar 24, 2012

I'm making a blackJack Game for my programing class and at the Form Load it enables one of my Timers for me with out the code to enable it, and the I've checked the designer multiple times and its Enabled is set to False.I"ve tried Changing the name of the Timer and it still runs the code and I've even deleted the Timer and made a new one and it still runs it.

Private Sub GameInterFace_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Login.ShowDialog()
If Login.Pass <> 1 Then[code]....

View 12 Replies

C# - .NET WinForms - Listen To Events For System LogOff - User Locked - Hibernate Started And System Resumed?

Feb 11, 2010

I want to listen to events in my windows forms .NET application for the following system wide events :

[Code]...

View 1 Replies

VS 2005 - Login System - Application Which Has User Authentication System

Apr 1, 2009

I'm writing an application which has user authentication system, basically, when the user open the software, he has to enter his/hers username and password which are retrieved form a access data base, and if the user is set as admin then it enable some features, I couldn't figure out how to read the column lets say, IsAdmin table, which will store an value of 1 or 0 for example. I need a concept of how build a login system with levels or whatever you guys call it...

View 2 Replies

Multi-line Doesn't Fit The Scroll Enables?

Jul 6, 2010

im developing like a chatbot.i got a vertical scroll. when it is so much text (multiline) that it doesnt fit the scroll enables but it stayes at the top and i need to scroll down after every text update. so i want to be in the button but still be able to scroll up and down. So every time the text updates i want to scroll down. If you donīt Believe in it, Then it Doesnīt Exist!

View 2 Replies







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