Search results

  1. B

    Textbox contents dissapear

    levyuk I cant because some of the values are 77.50 and the drivers get paid 75. Thanks anyways. DavidT_macktool thanks for the tip I will have to give that a try
  2. B

    Textbox contents dissapear

    Back at ya dDAmount is a variable that for the Driver Amount, since they get a different amount from the Tow Amount. I store it in the variable so I can format it into currency later.
  3. B

    Textbox contents dissapear

    Well I have two text boxes one is called Tow Amount and one is Driver Amount If the Tow Amount is like 67.50, when the user hits enter i want it to fill in the Driver Amount with 65.00 and move to a combobox. So I have this Private Sub TAmountFocus(ByVal sender As System.Object, ByVal e As...
  4. B

    Textbox contents dissapear

    I have a textbox that is bound. No problems with this, but if I enter the box, hit enter, whatever I entered disappear from the textbox. I have no code on this either, so I dont see how It can be a coding problem. i need whatever i put in that box to stay there then add to my db
  5. B

    Obtain row number (not primary key)

    Solved (In a Way) Nevermind I figured it out. For future reference what I did was a loop Dim i as Integer = 0 drVedor = DataSet.Table(i) Do Until drVendor.ID = txtId.Text drVedor = DataSet.Table(i) i = i =1 Loop Since Id is my primary key and I have to have a primary key I just...
  6. B

    Obtain row number (not primary key)

    How do I get the row number like if I have 5 records 1 John 2 Jacob 3 Angela 4 Holly 5 Matt if Angela is called how do I get the row number of 3. Now 3 is not my primary key, just the row number. How would I go about coding this. I am using a data adapter, dataset, and a data reader...
  7. B

    Directory Dialog Box

    Didnt work. It says System.Windows.Forms.FolderBrowserDialog() is not defined Microsoft Development Environment 2002 Version 7.0 Microsoft .NET Framework 1.0 Not sure if the version matters but as you can see I dont have the folder browser dialog. Kinda funny.....
  8. B

    Directory Dialog Box

    I do not have an FolderBrowserDialog nor do I have it when I look at my COM Components or .NET Framework
  9. B

    Passing in 2 dates and sort

    Thanks, works great. Another problem well solved by Kulrom.
  10. B

    Passing in 2 dates and sort

    How can I pass in two dates one say 05/16/2005 and the other 05/24/2005 and it gives me all the data in between the dates. I setup a parameter and assigned it to the group header in which it will sort it by. Didn't work, Thanks for any help
  11. B

    Modifying Data after Find

    OK my next problem is this. I am using a find feature that when I put in a stock number it goes to the number and brings up the info on it. This is how I am doing it. #Region "Finding Stock" Private Sub btnFind_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  12. B

    Directory Dialog Box

    Ive been looking online for a Directory Dialog Box. I'm on Vb.Net 2003 V1 and I have the File Open Dialog. Is there any way of coding it so it selects a directory instead. Thanks,
  13. B

    Writing zeros to DB

    Thanks for all the help guys. I got it working although I ran into a new problem, but I will post a new thread for that one. Thanks a lot, Drew
  14. B

    Writing zeros to DB

    Here is all my code just so youy dont miss anything You can make fun of it and critique it cuz im still quite new at this sooo I dont care. the more help to code the better Dim bmbAdd As BindingManagerBase Dim S As String = "$0.00" Dim dTotal As Double = 0.0 Dim dHaul As Double = 0.0 Dim...
  15. B

    Writing zeros to DB

    Ok I have mistaken, The DB is set to numeric not currency or text. Here is some code If txtTextBox.text = "$0.00" Then txtTextBox.text = 0 End If When I read a number like 0 from the database I convert the value to the $0.00 option. Then when i write it I just want to write the 0 I can get...
  16. B

    Writing zeros to DB

    It was currency, but I figured it was easier to code the $ on the VB end rather than dealing with writing currency values to the database and getting confused so I switched it to text. I will try the quotes.
  17. B

    Writing zeros to DB

    I have a text box that when the form loads the text box displays: $0.00 The user can then put in a value or leave it the way it is. If they leave it the way it is then it doesnt write 0 to the database, it just leaves it blank. In order for my Crystal Report to work I need it to be 0 if the...
  18. B

    DatePicker and DB

    Makes a lot of sense. I had to do the from listbox to another when making an audio player. Just never thought I would need it here. I will give it a try and if anything goes wrong I will write back. Thanks for the fast respose as well Drew
  19. B

    AutoDetect on ComboBox

    Nevermind I figured it out. Just had to use the whole If keypress = keys.A and so on Thanks anyways. Unless someone has a better way of doing it.
  20. B

    AutoDetect on ComboBox

    If I have a combo box that has say 4 values: Apple Banana Carrot How Can i make it so If I hit A then Apple will and B then Banana will appear in the box. I would assume I would have to use some ASCII values to compare the letter hit to the first letter of each of the 4 Values. Just need...
Top Bottom