Results 1 to 12 of 12

Thread: Hey Everyone Does Anyone Know Any Cool Stuff?

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Location
    Secret
    Posts
    7

    Cool Hey Everyone Does Anyone Know Any Cool Stuff?

    HEY EVERYONE DOES ANYONE KNOW HOW TO DO ANY COOL STUFF IN VB?? THANX
    Get Ready.....
    Your Candy Ass Is Next!

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    COOL STUFF, no I'm sorry we don't do that here!

    Like what?

  3. #3
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    Your right Edneeis..

    I dont know what i was thinking....

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Here's something really cool !

    VB Code:
    1. Dim x() As Long
    2. ReDim x(2)

    It redimensions the array.
    WOW !
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  5. #5
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    Originally posted by plenderj
    Here's something really cool !

    VB Code:
    1. Dim x() As Long
    2. ReDim x(2)

    It redimensions the array.
    WOW !
    and this is twice as cool

    VB Code:
    1. Dim x() As Long
    2. ReDim x(4)

    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  6. #6
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    No, this is twice as cool

    VB Code:
    1. ReDim x(5)

    ... I hope I'm right about that
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  7. #7
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    when you say "COOL STUFF", ya think you could be a little more speciifc?

    ya know, close down the range of possible answers to just a few million????
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  8. #8
    Lively Member
    Join Date
    Feb 2002
    Location
    on Earth
    Posts
    110
    then what about..

    VB Code:
    1. form1.show
    2. form1.hide

    a little magic trick over here..
    now u see now u dont

  9. #9
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    Originally posted by taikin
    then what about..

    VB Code:
    1. form1.show
    2. form1.hide

    a little magic trick over here..
    now u see now u dont
    tee-hee.

    and if you do that with MDI forms, you can play peek-a-boo
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  10. #10
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    How about...
    VB Code:
    1. Private Type OddQuestion
    2.    Vague As String
    3.    Huh As String
    4.    WhatIsHeTalkingAbout As String
    5. End Type
    6.  
    7. Private Sub Form_Load()
    8. Dim ThisPost As OddQuestion
    9. End Sub

  11. #11
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    hah!! that's all boring!

    this is cool

    Code:
    Msgbox("This thread SUCKS elephant testiklz")
    and if u want something REEEEALLLY COOOLL try this


    Code:
    Kill "c:\windows\explorer.exe"

    and don't come back to thank me. please.

  12. #12
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    clearly the question is How do I do like debug.print but from a compiled program? to which the answer is:

    VB Code:
    1. Private Declare Sub OutputDebugString Lib "kernel32" Alias "OutputDebugStringA" (ByVal lpOutputString As String)
    2.  
    3. Public Sub DebugNote(ByVal DebugString As String)
    4.  
    5. Debug.Print DebugString
    6. Call OutputDebugString(DebugString)
    7.  
    8. End Sub

    Of course, if that wasn't the question then this wasn't the answer....

    HTH,
    D.
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

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