Results 1 to 2 of 2

Thread: Visual Basic

  1. #1
    Join Date
    Apr 2009
    Posts
    4,289
    Tokens
    2,022
    Habbo
    iLogan

    Latest Awards:

    Default Visual Basic

    Hey, I've got some VB on a powerpoint, its a button and when you click it, it says ERROR 3448! The password you have entered is incorrect! Please try again. (Its for a movie thing)

    anyway, is there a way to make it, when you press retry to go to the next slide?

    Code:
    Private Sub CommandButton1_Click()
    MsgBox "ERROR 3448! The password you have entered is incorrect! Please try again!", 21, "ClinkTrueTM Systems - Error"
    End Sub
    ex-hxl manager
    ex-event organizer
    ex-gfx designer
    ex-competition staff
    ex-content staff
    OFWGKΔ

  2. #2
    Join Date
    Dec 2006
    Location
    UK
    Posts
    6,444
    Tokens
    6,671

    Latest Awards:

    Default

    if you do something like

    Code:
    Private Sub CommandButton1_Click()
    example = MsgBox "ERROR 3448! The password you have entered is incorrect! Please try again!", 21, "ClinkTrueTM Systems - Error"
    End Sub
    then you can use

    Code:
    if example = vbRetry then
    code here for when retry is clicked
    end if
    sorry havent used vb in ages so can't tell you completely
    Last edited by Stephen; 04-12-2010 at 03:58 PM.

Posting Permissions

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