dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE

Discussion in 'Programming General' started by alexandr, Mar 20, 2008.

dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE
  1. Unread #1 - Mar 20, 2008 at 9:36 AM
  2. alexandr
    Referrals:
    0

    alexandr Guest

    dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE

    hey , i was wonderin how to dim a letter as a whole bunch of code...
    ex.. a = msgbox "hello"
    i want to be so if i put the letter "a" in the coding of a button it will be msgbox "hello"
    thanks for any he,lp
     
  3. Unread #2 - Mar 20, 2008 at 3:32 PM
  4. Elkins121
    Joined:
    Sep 18, 2007
    Posts:
    63
    Referrals:
    0
    Sythe Gold:
    0

    Elkins121 Member

    dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE

    The closest thing to that I could find was Dim a As MessageBox...
    But, in your code, you would have to put a.Show and then all kinds of variables...
     
  5. Unread #3 - Mar 20, 2008 at 6:43 PM
  6. alexandr
    Referrals:
    0

    alexandr Guest

    dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE

    yea, that didnty work, and im not sayin just messageboxes, i m talking diming any code as a letter
     
  7. Unread #4 - Mar 20, 2008 at 10:35 PM
  8. Elkins121
    Joined:
    Sep 18, 2007
    Posts:
    63
    Referrals:
    0
    Sythe Gold:
    0

    Elkins121 Member

    dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE

    Dim a As String
     
  9. Unread #5 - Mar 20, 2008 at 10:38 PM
  10. alexandr
    Referrals:
    0

    alexandr Guest

    dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE

    i did that.... still didnt work
     
  11. Unread #6 - Mar 24, 2008 at 2:05 AM
  12. hmm
    Joined:
    Jan 21, 2007
    Posts:
    181
    Referrals:
    2
    Sythe Gold:
    5

    hmm Active Member

    dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE

    dim a as string = "Hello"
    messagebox.show(a)

    uhm im guessing thats not what you want..why dont you just call the messagebox to say hello in the first place?

    messagebox.show("Hello")
     
  13. Unread #7 - Mar 24, 2008 at 3:31 AM
  14. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE

    You could always create a reference to the MessageBox class.
     
  15. Unread #8 - Mar 24, 2008 at 5:59 AM
  16. Stuart
    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10

    Stuart Guru
    Banned

    dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE

    o_O what are you actually trying to do, If you actually gave a half decent explaination it would be alot easier then people just posting random code.
     
  17. Unread #9 - Mar 24, 2008 at 6:07 AM
  18. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE

    I think he's trying to reference or assign variables to blocks or statements of code.

    In which case, classes and methods are his friend.
     
< Any ideas? | 0wn_b0t >

Users viewing this thread
1 guest


 
 
Adblock breaks this site