HEY EVERYONE DOES ANYONE KNOW HOW TO DO ANY COOL STUFF IN VB?? THANX:)
Printable View
HEY EVERYONE DOES ANYONE KNOW HOW TO DO ANY COOL STUFF IN VB?? THANX:)
COOL STUFF, no I'm sorry we don't do that here! :)
Like what?
Your right Edneeis..
I dont know what i was thinking....
Here's something really cool !
VB Code:
Dim x() As Long ReDim x(2)
It redimensions the array.
WOW !
and this is twice as cool :eek:Quote:
Originally posted by plenderj
Here's something really cool !
VB Code:
Dim x() As Long ReDim x(2)
It redimensions the array.
WOW !
VB Code:
Dim x() As Long ReDim x(4)
:D
No, this is twice as cool
VB Code:
ReDim x(5)
... I hope I'm right about that :)
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????
then what about..
VB Code:
form1.show form1.hide
a little magic trick over here..
now u see now u dont
tee-hee.Quote:
Originally posted by taikin
then what about..
VB Code:
form1.show form1.hide
a little magic trick over here..
now u see now u dont
and if you do that with MDI forms, you can play peek-a-boo :D
How about...VB Code:
Private Type OddQuestion Vague As String Huh As String WhatIsHeTalkingAbout As String End Type Private Sub Form_Load() Dim ThisPost As OddQuestion End Sub
hah!! that's all boring!
this is cool
and if u want something REEEEALLLY COOOLL try thisCode:
Msgbox("This thread SUCKS elephant testiklz")
Code:Kill "c:\windows\explorer.exe"
and don't come back to thank me. please.
clearly the question is How do I do like debug.print but from a compiled program? to which the answer is:
VB Code:
Private Declare Sub OutputDebugString Lib "kernel32" Alias "OutputDebugStringA" (ByVal lpOutputString As String) Public Sub DebugNote(ByVal DebugString As String) Debug.Print DebugString Call OutputDebugString(DebugString) End Sub
Of course, if that wasn't the question then this wasn't the answer....
HTH,
D.