How To Accept Data From User

Sep 7, 2009

I want to know how to accept data from user? I want to accept about 10 datas from user. Before this I use Input box, but it is not a best way for user to key in 10 times data that required. What should I do and what the appropriate way to accept 10 data from user in 1 screen?

View 2 Replies


ADVERTISEMENT

Make A ComboBox Of A DataGridViewComboBoxColumn Accept User New Items?

Sep 19, 2011

Using a DataGridViewComboBoxColumn, the goal is to make the ComboBoxes accept user's new items and also the possibility of choosing items that are already present.I'm aware of using EditingControlShowing event of the DataGridView to change the DropDownStyle of the DataGridViewComboBoxEditingControl at run time to allow this, but I'm wondering if this can be done at a lower level.

What I'm doing now is extending DataGridViewComboBoxColumn, DataGridViewComboBoxCell and DataGridViewComboBoxEditingControl, hoping to change the EditingControl's DropDownStyle in the moment I instantiate it. So far, no luck.The debugger shows the right assignment is being executed, but nonetheless, the DropDownStyle is popping at the EditingControlShowing (using the event for debugging purposes) as DropBoxList, not DropBox, which is the intent.

Here follow the classes:

Public Class DataGridViewComboBoxColumnALT
Inherits System.Windows.Forms.DataGridViewComboBoxColumn
Public Sub New()

[code]....

View 1 Replies

Make The Textboxes Only Accept Letters A, B, C, Or D As Answers From The User?

Nov 15, 2011

I'm having trouble with the Try...Catch code. I'm trying to make the textboxes only accept letters A, B, C, or D as answers from the user. I'm also having trouble matching the two arrays. I wanted it to be like if textbox1 is A then it is correct but in a loop. Please take a look at my code.

This is the programming challenge instruction for reference: The local Registry of Motor Vehicles office has asked you to create an application that grades the written portion of the driver's license exam. The exam has 20 multiple choice questions. Here are the correct answers to the questions:

[Code]...

View 9 Replies

Tool To Accept An Address From The User And Return A 9 Digit Zipcode

Nov 15, 2011

I am looking for a tool that will accept an address from the user and return a 9 digit zipcode as well as validate the address or suggest an address, like on fexed or ups website. Its got to work with vb.net and asp.net Is there a tool like this available? any recommendation?

View 2 Replies

Custom WPF RIchTextBox Will Not Accept User Input - Even After Setting IsReadOnly=false

Feb 3, 2010

I have written a custom Bindable RichText Box, so I can bind to the Document property. However, as soon as I set my document content, the only keyboard input it accepts is the backspace key (???). No other keyboard input is acknowledged (including the arrow keys).

[Code]...

View 1 Replies

Detect The Insertion Of USB Memory Sticks And Prompt The User To Accept The Device Or Reject It?

Sep 14, 2009

I'm writing a small application to detect the insertion of USB memory sticks and prompt the user to accept the device or reject it. Rejecting it would prevent its being loaded by Windows. I have the code that detects insertion & removal working fine but have no idea how to cancel the insertion.I was thinking that I could intercept the DEVICEARRIVAL message and kill it off before its actioned by Windows but I am lost with this.code to show the way.Heres the main part of the code I have so far-

Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
'This kills off any 'autoplay' capability in the stick
If QueryCancelAutoPlay = 0 Then[code]......

View 1 Replies

Get A .Net PDF Viewer Tool That Will Accept The Barcode Font As Well As Allow The User To Save, Email, And Print The PDF?

Aug 25, 2009

I'm looking for a .Net PDF Viewer tool that will accept the barcode font as well as allow the user to save, email, and print the PDF. I tried the tool by SkySof, but it doesn't handle barcodes. We're having trouble using the COM PDF control because of other stuff that needs to be installed on our servers. Our customer would prefer that the tool be under $1000. We're using Visual Studio 2008 and this is a windows application being served up by Citrix.

View 1 Replies

Accept Weight Data From Detecto AS-350D?

Oct 27, 2010

I've found a scale, Detecto AS-350D [URL].. that hooks up to a computer. I was hoping someone could help me figure out how to get the information (weight) from it. I've looked around but can't seem to find any information on it. I've never wrote a program where I accepted data from a device likes this so kind of confused where to look.

Update: I'm coding in VB, and the device connects to the computer via serial port.

View 1 Replies

Asp.net - Accept Post Data In Asp And Insert Into Sql Server?

Mar 9, 2012

I just re did my question and added a few other scripts needed to pull everything together This is the small script I am using to receive the post and push the data into the SQL Server (2008 if that matters):

[Code]....

View 2 Replies

Field Is Too Small To Accept The Amount Of Data?

May 12, 2011

Updating an Excel file from a dataset seems to work fine. But if I have text that's longer than 255 characters then I get the error above.I've been working on this for a couple of hours and I haven't gotten anywhere. I've tried messing with the connection string and changing a registry setting, but no luck.

View 2 Replies

Do List View Controls Accept Blank Data

Jul 1, 2010

I'm trying to fill a ListView control in a VB2005 project. It works fine from underpinning (Access) database IF all the data is present. However, if a field is blank (in this case - a field called "Actual Date" which is meant to be blank for this record), the ListView will stop populating at that point.I thought this may have been the 'CausesValidation' property of the ListView but that doesn't seem to change the behaviour.Is this an inherent feature of the ListView - if so it seems daft - or is there a property I need to change or an override that I need to code?

View 4 Replies

DB/Reporting :: Crystal Does Not Accept Dataset And Show Saved Data

Oct 15, 2008

is my code in VS 2008 (VB) to show Crystal Report. but crystal show saved data not my dataset:[code]

View 4 Replies

Accept Only File Word And Pdf File And Other To Accept Only Images

Jun 2, 2011

One to accept only file word and pdf file and the other to accept only images(.jg|.bmp|.png|.gif)

View 1 Replies

Input - DataGridViewTextBoxColumn - Column Should Not Accept Input Of Data

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

Multi-user Application - Updating All Clients When A User Updates Data (push Vs Pull)?

Aug 26, 2009

I am designing a fairly small application to manage a waiting area for a clinical department. There will be a receptionist who books appointments and updates exisiting appointments to say that a patient has "Arrived". In seperate rooms will be nurses who call patients who have "Arrived" and update the appointment as "In Session" and finally as "Discharged". The appointments are viewed in a flexgrid with nurses across the top and time down the left, patient names are displayed at the relevant times and the cells are shaded a colour to represent the current appointment status ("Booked", "Arrived", "In Session" and "Discharged").

I am using SQL Server as the back-end and Visual Basic 6 (I know) as my front-end.I have been told that there will be 2 or 3 nurses plus the receptionist logged in to the system but I would like to cater for growth.My question is what is the best mechanism to use in order to reflect the status change made by one user on the screens of the other users currently logged in?

I have been thinking about using a timer to refresh the data at a set interval but I do not want to keep hitting the server excessively (although what is considered excessive? we would be talking about a call for data every 60 secs per user). Plus the server could be serving data for many other applications so this is another consideration.Alternatively I have been thinking about sending some kind of message via Winsock to the other users notifying them of data changes as they happen. I don't have a lot of experience with this and am concerned about clients not receiving messages and users seeing old data. It also seems strange to me that once the days appointments have been retrieved from the database that "in theory" a client could go the whole day without having to query the database again to pick up changes - kind of scary.Some information on the data:We would probably be looking at around 100 appointments per day We capture patient name, date of birth, date and time of appointment and appointment status.What is the standard approach / best practice for this kind of scenario?

View 6 Replies

User Data - SQLCE Files - One Database With Multiple User On PC

Mar 3, 2010

I'm designing a PC-based app that has a little local database. I'm using VB.NET with SQL Server Compact Edition. The user will only ever have access to one database file, because it's all about storing a user specific data. However I'm thinking of the situation where there could be multiple users that access the PC, each with their own Windows account. So ideally I'd need separate database files for each User.

I'm not sure how to implement this. I was hoping to deploy the 'empty' database as a ClickOnce deployment, but I can't see how I can have a database per user doing this. Also I'm not sure where to store the database files anyway. perhaps in MyDocuments for each user? Or perhaps I need to stick to just one database, but add a 'User' column into every table, so it can hold data for every user. I didn't want to do this though - because I wanted to keep the nice separation between the data offered by physically separate files.

View 3 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

Write Code For Application, In Which Data Is Get By User And Entered Data Is To Print In A Particular Format?

Mar 2, 2012

i just write code for application, in which data is get by user and entered data is to print in a particular format?give me a code for vb.net button by which after click on it will print entered data?

View 1 Replies

Create A Graph Where The User Can Input Data Into Textboxes And Then Plot The Data?

Jun 15, 2009

I'm just trying to create a graph where the user can input data into textboxes and then plot the data. I am attempting to use Zedgraph, but open to other suggestions. The program below creates a plot, but it won't update when the textboxes are updated.

Imports ZedGraph
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[code]....

View 7 Replies

Arrays - Get The Data From The Datagrid After The User Entered Data In Textboxcolumn?

Mar 5, 2011

Possible Duplicate: DataGridView - Validating for Cell?i have a requirement. i dont know how to get the data from the datagrid after the user entered data in textboxcolumn. i also want to validate the entered text in datagrid cell.

View 2 Replies

Create Something That Will Hold The Data And Will Allow The User To Add And Remove Sets Of Data?

Aug 2, 2009

I have a program that simply checks if the account number and pass word match. And if not it allows you to create it. But i have no idea on how to create something that will hold the data and will allow the user to add and remove sets of data.

View 1 Replies

Have A List Box With A Custom Data Template Populate With User Data?

Jul 2, 2011

I am working on a project and I want to have a list box with a custom data template populate with user data. My question is, when I click on an item in the list box, how can I tell what item I selected? Basically, if I select "kevin", I want to display his data. If I select Dave, I want to display his data. I do not know how to get the data our after it is bound...

View 4 Replies

Create And Write User Input Data To XML Through Data-set

May 10, 2010

I have used following code to create and write the user input data to XML through Dataset. Hope it can be understood by looking the following code:[code]But the above code is not working. it is not writing the value in XML file.

View 8 Replies

Adding User Data To Data From A Database

Apr 19, 2012

I'm displaying data from a database in a datagridview, but the player also needs to be able to add new rows, which isn't allowed because the datagridview is data-bound. What is the simplest workaround to this problem?

View 10 Replies

Copying Data A File Int An Existing File Where The Filename Of Both The Data File And Existing File Will Vary From User To User

Aug 5, 2011

I have a workbook (Workbook1) that runs through some steps using visual basic, which ends up opening another workbook Workbook2). Once Workbook 2 is opened, I need to copy a section of data from it, into Workbook1 int a specific worksheet. I was able to do this by recording a macro, but the challange is, the name of Workbook 1, and Workbook 2, will vary by User. When I created the macro it uses the files as they are currently named. The section of code is below.

[Code]...

View 1 Replies

VS 2008 - Choose Data Source - User To Easily Create A Connection To Any Installed Data Types They Have Installed

Jun 1, 2011

I have been trying for days now how to create a process to the user to easily create a connection to any installed data types they have installed. I have found an example right inside vb2008. I never use this because I code my own connections, but this would be real nice if I could include it or duplicate it.

View 1 Replies

User Can Just Start Typing In The Data Without Having To Physically Click In The Cell To Start Entering Data?

Aug 12, 2009

I have a form where the user chooses a facility and then the list of patients for that facility are displayed in a data grid view. When I click to add a resident, the last name field on the data grid view is highlighted in blue below the last record that already exists.If I try to start typing without clicking in that cell, the facility changes - it looks like the control is still in the facility drop down box. How can I code it so that the user can just start typing in the data without having to physically click in the cell to start entering data?

View 5 Replies

AWS API - Won't Accept Signature

Apr 8, 2011

I've tried everything here, but the Amazon Load Balancer API just will not accept my signature.

Whatever I try, I get a "403 SignatureDoesNotMatch" response. I'm probably missing something obvious, but having spent hours trying to figure out what that is, I'm at the end of my tether.

Here's my code:

Public Sub DeregisterInstanceFromLoadBalance(ByVal strServerID As String)
Dim strURL As String
strURL = "http://elasticloadbalancing.amazonaws.com/?"

[Code].....

View 1 Replies

VBA - How To Accept A Download

Oct 12, 2011

I have a VBA script that connects to a site.On that site, it puts in criteria to filter on a database. It then submits it.A pop up window appears asking to Open / Save / Cancel. I don't know how to interact with that window.It is possible to Save, and specify the download location without having to use Sendkeys?Note: There is no file to directly download. You have to run the report and it kicks back the file.I know this is VBA, but I think VB.NET has probably has the same result.

View 1 Replies

[02/03] How To Accept Parameters

Oct 11, 2007

i have a Function in my Component(DAL), the Function Accept an input from textbox and return a dataset.

Public Function Search_lis(ByVal lis_key As Integer) As Dssearchlis
dasearchlis.SelectCommand.Parameters.Add(lis_key)
dasearchlis.Fill(Dssearchlis)

[code]....

View 9 Replies







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