I need to write a program allowing the user to enter up to five passwords at one time. I have the textboxes set the way I need. When the user presses the button, the code should check every password they ve entered, and flag any passwords that are invalid. A valid password includes the following:
At least 6 and not more than 15 characters At least one uppercase alpha character At least one lowercase alpha character At least one numeric character
I'm a little confused about how to check each character of the entered passwords for these conditions.Because it must include alpha characters, I believe I have to do something with ASC and CHAR variables. This is my first post and I need to have this done within a few hours, haha. Help would be awesome.
I am really stuck in FarPoint Spread. I have a FarPoint Spread in my WinForms. In the run time I am putting the values in the Spread to do some calculation. But I want to know how I can export / save the data that I have enter into the cells during the runtime. I mean I want something like export to excel or Save as filename.xls / .xlsx.
I have a DatagridView control. I have 4 columns. What I want to do is allow the user to add rows and enter data into the grid and then click a button and save the data in the Gridview to a table. I can't find any information on how to do this
I want to limit and verify the textboxes data which enter by the user i want to make a class in which i pass the textfield and the methods in that class return boolean value . First method check only numbers with decimal point. second method check only A to Z or a to z with some specify charecters. In java it is very easy by the parse INt methods or use class.
I have a gridview and a LinkButton which is not in the gridView. What I need to to is, when the user clicks the LinkButton AddNewRecord, the gridview allows the user to enter the new data. I know this is possible (and easier) using FormView, but I need to to using the GridView. Does anyone know if this is possible, and, if so, how I can do it?
If i double click on the dataset. i am not sure which statement to write to restrict the user so that he/she cannot enter the date in the past. i have droped the data set on the form and my data entry is through datagrid view.
I am creating an application which requires user to enter some data using popup. There will be text boxes and drop down list which will be filled by the user. Once the user fills the required information and submits it using a button, the popup will dissapear. Can anyone direct me how to use Popup control to contain textbox, drop down list and buttons.
I am using visual basic 2008 and trying to create an application to plot data from text files. I have several data files of various sizes. They have an unknown number of rows and either 2 or 4 columns.I need to put the data into 2 dimensional array, so value(,) becomes either value(lines,3) or value(lines,1) depending on the number of columns.My program needs to be able to count how many columns there are, and redim value(,) appropriately.I have written a piece of code to count the number of lines (rows) in the file using 'While not (EOF(1)) ....' but I'm stuck on how to count the number of columns.I could ask the user to indicate how many columns there are before the file is read, but I would prefer the program to detect the number automatically.
The company require an application that displays coffee usage information for the managers of CostaB Coffee. Sample data has been provided for last years (2011) monthly usage amounts in kilos and is as follows: 400.5, 450, 475.5, 336.5, 457, 325, 220.5, 276, 300, 320.5, 400.5 and 415.
Requirements: The main form will allow the user to enter and store monthly amounts in an appropriate data structure. It will enable the users to calculate the total usage for the 12 month period and average monthly usage. A further requirement for the application is for the users to be able to display the monthly totals in ascending (smallest to highest) and descending (highest to lowest) order of the monthly usage amounts. Utilise appropriate formatting for input/output and include appropriate error trapping and data validation in the application.
i am coding a program in vb.NET, it will be used for people to vot for their favourite food.I have let the users input the name of favoutie foods into an inputbox and tehn store the name of each favoutie food into an array called foodarray. Then the array outputs each item inside it into a checkedlistbox, which will be used to vote from by the voters.The problem is that i want to add 1 to the value of the name of the food each time it is selected by a user. How do i do this, i want to add 1 to the names in the foodarray to find out how many votes each food gets.
Haveing troubles with an assignment. I am writting code that will allow user to enter a score and the program returns a grade based on the score entered. I can get it to work using "IF" statements but want to use code for ranges. My "IF" code is as follows.......
I am trying to enter the following on an excel spread sheet from vb.net:applic.activesheet.cells(1,1)="=server|topic!" & Item & My.computer.keyboard.sendkeys("{CNTRL} {SHIFT}{ENTER} ")The error says: "Expression does not produce a value"I tried even {ENTER} and still the same error.
I want to make live search form like when user enter 1 char then it ll find all data start with or contain letter.i have use the sql like query with textbox textchanged event but it is too slow any other method to make it fast?
I have a program that allows a user to select a program to run at a certain time for a specific amount of time all choosen by the user. Everything works with the exception of if my program has launched the other program, my program become non-responsive. Meaning I am not able to look at that window again. Not that one really needs too, because when time is up my program closes the program it opened, then closes itself. I just want to be able to see my program when the other program is running. how to do this and perhaps drop me some links, that would be wonderful. This is what I have coded, but like I stated there are no code errors.
how to load data (Book) to text box when user just enter the book code?how to load data (student) to text box when user just enter the student id?how to write the code when user click the save button , the book quantity(Book) will reduce 1 and the all the data in textbox will save in database(Issue)the interface is like
[URL]
the database is show at
[URL]
the code is
Public Class frmIssue Dim dt As New DataTable() Dim rowIndex As Integer = 0 Dim rowIndex1 As Integer = 0
how to enter a data that i enter in textbox to a datagridview... for example i enter in the textbox is round and when i click add it will go to database... im using ms access database
On VB.NET 2005 and 2008, if you were debugging you could roll over the variable you set as an array and a little "+" would pop up next to the array variable and you could click it and see all of the data loaded into the array.
I want to work on a project I have in mind and this envolves saving data which would need to be updated every time the user exits the program. I suppose I need to know how to save a file to a blank text document, and how to get the application to read the information when it is called for. I believe I need to set delimiters or such, the helpfile is useful, but limited and some information is not listed at all.
I have an ASP.NET application with a SQL Server back end. I am storing all my dates in UTC format and doing the appropriate conversions to the local time zone of the browser viewing it. One of the pages asks for a start date and end date (no times).
I am taking the start date and setting the time to 00:00:00 hours (midnight) and I'm taking the End time and adding a time of 23:59:59, so that the date range covers the whole day. Now what I'm trying to do is do a SQL query to do a search for records in this date range. The problem is, the data in SQL is in UTC time and the user is typing their dates and times in their local date and times. My quickest solution was to convert the date and time to UTC, then search the records. However, by doing this, I am to believe ASP.NET converts the given time and date to UTC based on the server time zone. How can I convert a date and time to UTC time based on the time zone of the user?
I'm trying to make a program where user can input data from a textbox into an array and when the user hit the enter key, it compare it to a data grab from a text file. Here is my code so far:
Private Sub TextBox_KeyDown(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox.TextChanged Dim input As String
[Code]....
I got the part where the program can graph data from text file and put it into an array called "varia3". The part I could not get is allowing user to enter data into the textbox. When I run the program, the sec I try to enter a letter or number into the textbox the program ended.
I am upgrading user control from vb6 to vb.net.In the vb6 application I am loading 3000 labels using a label control array.In vb.net I am doing same but it's taking too much time to load.In vb6 it's taking 1-2 seconds, but in vb.net it's taking 30-40 seconds for same work. Why does it take too much time in vb.net for same work?Code is given below, here Led is the label control array.
For l = 1 To 3000 Led.Load(ledCounter) ColLed.Add(Led(ledCounter))
In the screenshot, you'll see three things- a start time, end time and total time. So the goal is this A user puts in a current start time by hitting F1 at the start of shift. They tab across the end time to the "time field", then go across the row. Then they enter their case number, then hit F1 again, and it will enter the current time in the start box on the next row, as well as putting that time in the end box in the row above.
to trace the days of a program installed in user's computer.However, the user can changes the system time of his computer to a advancing date. How can I get a SNTP time from internet to solve this problem?
I'm making a speed game in VB.Net (Console Application) and users have a certain time to press a certain key. So how can I give the Console.ReadKey function a timeout without just waiting until a key was pressed?
I am pulling three coloums of data from a SQL view into my data drid Day,TimeIn,TimeoutI want to colour my datagrid rows red if timeout is null and green if both the timein, timeout have data in them.[code]
I am making a local database in visual studio 2010, i need to have one column that auto enters time and date when a new entry is made. How would i do this?