CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Dock

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    12
    Views
    1,600

    Re: annoying text box filter

    even worse. no validation at all...

    dg : thank you for your reply. I havent tried your last suggestion, hope that it could work fine :)
  2. Replies
    12
    Views
    1,600

    Re: annoying text box filter

    See attachment, i cant assign - value
  3. Replies
    12
    Views
    1,600

    Re: annoying text box filter

    tried dg's and shuja's suggestion. it works fine, except that we cannot declare negative value.... still fails...
  4. Replies
    12
    Views
    1,600

    Re: annoying text box filter

    haven't. will try it tomorrow, new more important task to do...
    anyway,thx for the answer, hope that it will be able to solve the annoying text box filter. hahaha :)
  5. Replies
    12
    Views
    1,600

    Re: annoying text box filter

    it doesn't work... i cant even assign the "-" sign.. and then, we still can type 000056. by right, it should be changed to 56 automatically.

    does it mean that we have to add extra validation to...
  6. Replies
    12
    Views
    1,600

    annoying text box filter

    i am trying to filter text box, to be number only.

    i have found the way to filter the input to be1,2,3,4,5,6,7,8,9,0 or - only.
    However, the problem is that user still can input 432-22 (minus...
  7. Replies
    2
    Views
    882

    Re: How to set combobox to "" ?

    fast and accurate answer like usual from dg. hahaha..
    thx a lot ;)
    feel so stupid....
  8. Replies
    2
    Views
    902

    Re: Index As Integer ???

    Ah yes !!
    i assign the tab index to the "index" property instead of "tab index"...
    my own stupidity...
    thx for your answer !! =)
  9. Replies
    2
    Views
    882

    [RESOLVED] How to set combobox to "" ?

    Hi guys, i have searched the forum for similar question, but i still cant get a satisfying answer. So, is there any way to "un-select" the combobox with style 2-DropDown list ?

    so, i have 1 style...
  10. Replies
    2
    Views
    902

    [RESOLVED] Index As Integer ???

    i am just wondering, previously my program is working fine using this statement :

    Private Sub chkHoldLot_Click()
    EnableDisableControls ChkHoldLotCheck, chkHoldLot.Value
    End Sub


    but...
  11. Thread: List Box max item

    by Dock
    Replies
    31
    Views
    36,190

    Re: List Box max item

    The problem is, i cannot change how the application works since it is not designed by me. This list box is for listing down all the product that we have. Actually, there are some workaround for this...
  12. Thread: List Box max item

    by Dock
    Replies
    31
    Views
    36,190

    List Box max item

    Hi guys,

    I found that the max item for list box in VB is around 32k items (index will be negative if more than that amount). Is there any ways to add more than 32k items in List Box ? maybe use...
  13. Thread: vbgames

    by Dock
    Replies
    3
    Views
    822

    Re: vbgames

    Hi mark, You can use a timer to do this. And put your function under the timer. You miss the right bracket :



    if image1.left=image2.left then
    msgbox ("game over")
    end if
  14. Replies
    9
    Views
    1,221

    Re: TextBox events

    I found it !!! since after i try to comment all of the events and it still doesnt work, i try to comment the line with that textbox, and it turns out that in the form initialization stage, there is...
  15. Replies
    9
    Views
    1,221

    Re: TextBox events

    it does not work... i even try to comment all the textbox event, but it still happens.. could it be because of another event ? this is not my code, my role is only to maintain the existing code......
  16. Replies
    15
    Views
    1,696

    Re: ADO updating with weird errors of msg boxes

    Then the code should do fine, because if no record with the mentioned DetID, then the query will return nothing, which means rs.EOF will be true, and the error message will be displayed.
  17. Thread: Array problem

    by Dock
    Replies
    6
    Views
    1,051

    Re: Array problem

    ah okay, you get a point there... i was thinking to use 1 collection for each, so it means that we will have 5 collections/ComboBoxes. But now after i re-think it again, it is quite troublesome to do...
  18. Replies
    15
    Views
    1,696

    Re: ADO updating with weird errors of msg boxes

    I have just noticed that comITsolution has highlighted the reason, which is :

    conn.Execute SQL

    It is missing from your code... and maybe if you want, you can try to review your primary key ?...
  19. Replies
    15
    Views
    1,696

    Re: ADO updating with weird errors of msg boxes

    Ah okay, but it works fine, doesnt it ?
    I dont know which database you use, but i think there is some kind of command to update database, maybe like rs!update ?? or maybe rs!execute ? Sorry, i am...
  20. Thread: Array problem

    by Dock
    Replies
    6
    Views
    1,051

    Re: Array problem

    Maybe he also can use Collection ? or maybe can define ComboBox as a buffer to store all the data ? Because we dont need to define ComboBox.Count, rite ? Is it applicable ?
  21. Replies
    9
    Views
    1,221

    Re: TextBox events

    I think i didnt explain it clearly, sorry for that. the problem is not with the UpDown button, but it is with the TextBox.

    The textbox, cannot receive input '-' only, so if i want to type '-100',...
  22. Replies
    15
    Views
    1,696

    Re: ADO updating with weird errors of msg boxes

    If you still want to use your code, you can just make slight modification to your existing code. Your problem (6 times error message pop up) is because your previous code, will pop up the error...
  23. Replies
    9
    Views
    1,221

    Re: TextBox events

    Nope, i dont think that it is the reason. The min/max value have been set to -99999/99999. I have tried to make 1 new form, that only have Change, GotFocus, LostFocus & Validate event and it works...
  24. Thread: Book reference

    by Dock
    Replies
    6
    Views
    874

    Re: Book reference

    Hahaha, so basically all of your advice is for me to learn from forum ? It is a good advice, but sometimes i can only understand several topics. For most of other topics, i am really really lost......
  25. Thread: Book reference

    by Dock
    Replies
    6
    Views
    874

    Book reference

    I just want to ask for any advice of which book i should read first if i want to start to understand VB deeper. What i know for now is only the basic thing of VB, so i dont think i will need to go...
Results 1 to 25 of 73
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured