Results 1 to 6 of 6

Thread: ?

  1. #1
    Guest

    Question


    How do I use Visual Basic?

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    well j-hole...

    Perhaps you could be a little more specific?
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    Lively Member Feras's Avatar
    Join Date
    Sep 2000
    Location
    Homs, Syria
    Posts
    85

    Red face

    What a question!!!
    - Open vesual basic
    - creat a new form (defult)
    - add a comman button from the toolbar at your left hand (double click its icon)
    - double click the command1 newly created on the form
    - right this line: MsgBox "This is a ??? question to ask"
    - click run
    - click the Command1 button

    Tell me what you got!!!.
    Yesterday is history ... Tomorrow is mistry .. Today is a gift.

    VB6 , intermidiat

  4. #4
    Guest

    Thumbs up THANX!

    Code:
    MsgBox "This is a ??? question to ask"
    CooL!

  5. #5
    Guest

    Re: THANX!

    Originally posted by anonymoshe
    Code:
    MsgBox "This is a ??? question to ask"
    CooL!
    You should look in your VB help file. Whether it's MSDN Libary or a regular help file, you will be able to find a lot of information which will help you with your programming .

    You can do more with a msgbox too.

    Code:
    Msgbox "Hi!", 16
    Msgbox "Hi!", 32
    Msgbox "Hi!", 48
    Msgbox "Hi!", 64
    Msgbox "Hi!", 4

  6. #6
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Code:
    'to learn anything you have to get in there and do it
    '
    Option Explicit
    
    Private Sub Form_Load()
        Dim Question As String, Answer As Integer
        Question = "Am I sure that I really want to know how to use VB?"
        Answer = MsgBox(Question, vbYesNo, "The Answer Is Here")
        
        If Answer = 6 Then
           Dim msg As String
           msg = "Get busy, there are tons of code samples on this site alone" & vbCrLf
           msg = msg & "Start something: when you get stuck ask for help." & vbCrLf
           MsgBox msg, vbCritical, "Put some effort into it."
        Else
           msg = "Maybe I won't try some of these samples on the site and see!" & vbCrLf
           msg = msg & """Maybe""" & vbCrLf
           msg = msg & "I'll just ask someone to give me the world on a platter."
           MsgBox msg, vbExclamation, "The ball is in your court!"
           
        End If
       
    End Sub
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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