Search results for query: *

  1. K

    Question Check if a button is clicked

    can you check if a certain button is pressed
  2. K

    Question cancel from input box

    I have a drink program with 4 staff members and want to know how to cancel the input box if they accidently click on another persons login. can you close the input box by clicking can and to close the loop. All Logins have the same code just different names 'Marys Login Button Private Sub...
  3. K

    Question Change Format from date to Day of week

    I want to convert =now date value and i want to change that to the day of the week (eg. Friday). I need to do this to compare it with which day it is today.
  4. K

    Question Write To Textfile

    I have a bar cash register and have buttons for the drinks and number pad. In the program I have it working and it is reading the File and storing it in a Array. the problem i have is writing back to the part of the textfile. Here is 2 of the drinks buttons, all the rest of the drinks are the...
  5. K

    Question If Statement for buttons

    I am doing a bar cash register and I want to use a if statement to see if fosters button and number 1 on the number pad are both pressed then multiply constant by quantity number
  6. K

    Question If Statement with a numericupdown control

    I have done some code so that when you choose a number from the numeriupdown it will look at the if statement and put the age into a category. the thing is the number in the updown doesnt go into the right category for me can you see what the problem is? 'Assigning Textboxes and Combo...
  7. K

    Question Restrict numbers entered into textbox

    I have a appointments program and the user must be over 18. I was wondering is there a way to restrict the numbers entered into a textbox to be from 18 to 100. can this be done with e.keychar
  8. K

    Question Print Windows Form

    Text and lines I just want the text and data. dont really want the buttons or textboxes
  9. K

    Question Print Windows Form

    I want to find how to print a windows form. I have a invoice program and and have a print button called print form and want to print the windows form that im on?
  10. K

    Question Counting Errors

    I am doing a project and have it all finished except for one thing. I have to count errors in the entire program and if it exceeds 5 errors the program will close. the program is a doctors treatment form and i am told to do. if the user makes 5 errors that the program will close. how do you...
  11. K

    Question For Loop for Login Form

    i am trying to do a for loop to give the user 3 trys to get the login username and password right. the username is User and the Password is VB. the code i got so far is a if function Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click...
  12. K

    Question Passport Number Textbox

    I have a passport number textbox and I want to limit the user to 7 numbers and a Letter in the textbox. How Do I do that?
  13. K

    Question Search Database

    I have a customer form in vb.net 2008 and binded with microsoft access 2003. I have a Name, Address, Telephone No Textboxes. I want to search for a name in the search box and display all the details back in the textboxes. I know how to search and display in a datagrid but don't know how to do...
  14. K

    Question search for items in the database

    I need help to create a search button vb.net to search a access database that is binded in vb.net. I want to search for 2 items in the database and display then in the datagrid. the code i done is here. Dim da = New OleDb.OleDbDataAdapter() Dim con As New OleDb.OleDbConnection() Dim sql...
  15. K

    Question function for textboxes

    I am doing a project and have it working but have to add a function and don't know how to do it. when i enter a number in the win textbox it will add 3 points or enter a number in draw textbox it will add 1 point to the PTS textbox and update database. can anyone help me? the code is here
  16. K

    Question New Record/Edit/Delete

    I am doing a project and i am linking to a access database table. I am writing my own code to connect to data adapter. i have a list of records in a database table and want ot edit one record and update it in the database or create a new record or delete a record but can't get it to work. can...
  17. K

    Question datasets ?

    I am doing an assignment in college and I have got most of it working. It shows the database and i can navigate through it but can't create a new record or update a previous record or delete a record. can you help me? Imports System.Data Public Class frmMain Inherits...
  18. K

    Sorting Columns

    Sorting listview I am doing a vb.net program for a project in college and i have a listview in which i added a grid and column headers and its detailed and i have 7 columns in it. I have to sort it by decending order by the price column and I don't know how to do it. can anyone help me?
  19. K

    Sorting Columns

    I am in college and doing a project and I have a listview with 8 columns which i entered the column headers in the listview properties. i want to know how to sort the columns?
Back
Top