Results 1 to 6 of 6

Thread: [VB6]Question

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2009
    Posts
    4

    [VB6]Question

    Well a good friend of mine told me to register here if i wanted to ask something

    Now, my english isnt perfect but ill try to explain as good as i can

    EDITED: Now i need to ask, if its possible to remove the beep sounds when a msgbox pops up, it gets anoying after awhile...

    ill edit this thread incase i got any other questions ( i actually got a project im working prutty much on, and i get stuck sometimes... i only have a month or so with knowledge )
    Last edited by HaGsTeR; Dec 10th, 2009 at 03:23 PM.

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: [VB6]Question

    Welcome to the forums, your English is very good

    Maybe, this:

    Label1.caption = Val(label1.caption) - 3 (or 4 or 5 doesnt mather, just under 0)
    If Val(Label1.Caption) < 0 Then MsgBox "Oops"
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2009
    Posts
    4

    Re: [VB6]Question

    Quote Originally Posted by LaVolpe View Post
    Welcome to the forums, your English is very good

    Maybe, this:

    Label1.caption = Val(label1.caption) - 3 (or 4 or 5 doesnt mather, just under 0)
    If Val(Label1.Caption) < 0 Then MsgBox "Oops"
    Ooh, this works great... Thank you

    Edited thread
    Last edited by HaGsTeR; Dec 10th, 2009 at 03:22 PM.

  4. #4

    Thread Starter
    New Member
    Join Date
    Dec 2009
    Posts
    4

    Re: [VB6]Question

    Bump (Becouse i edited )

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: [VB6]Question

    Please post new info/questions in replies rather than editing like that, because it causes confusion and lots of extra reading (and also makes the thread useless for people who have a similar problem later).

    Also please don't use one thread for all of your questions - you should create a new thread unless the question is directly related to the first post.

  6. #6
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    280

    Re: [VB6]Question

    The other downside to editing your first post is that this is a very busy forum and many here tend to use the "view first unread" button. Hence nobody will notice your edit or be able to answer your new questions.

    I only edit because of my really bad typing skills.
    Slower than a crippled Vista
    More buggy than a fresh XP install
    Look! Down the road, some 50 miles behind the drunken snail.
    It's Ubuntu!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width