Ales Zigon
12-23-2001, 10:06 AM
Hi guys!
I never thought I'd ever ask this but... is there a <font color=red>complete</font color=red> list of Built-in functions for VB6 that I can put my sticky hands on? You won't believe it, but every now and then, when I look at some other peoples code, I find that there is allready a built-in function for something, I was messing around for hours (even days!).
I've searched the web over and over but found nothing usefull.
Volte
12-23-2001, 10:11 AM
Yup:
Type<pre>VBA.</pre>with the period (dot) and teh Inteliisense will come down with all the functions. An alternative to that would be to press F2 to start the Object Browser and select VBA in the combo-box.
Spike
12-23-2001, 10:11 AM
hmm...i think there is a list in the object browser. (shortcut of F2)
orufet
12-23-2001, 10:11 AM
I think there is a somewhat list of functions in Practical Visual Basic, published by Que. Not sure exactly how complete it is, but I find it useful. Remember that other people may has written a dll and set a refrence to it. This means that they can access functions in that dll, and it might look like it's a built in VB function. Try not to get fooled. As for a list on the web, I'd spend a few minutes playing around on Google...
Ales Zigon
12-23-2001, 10:21 AM
Thanx guys - Silly me!
I did spend aprx 3hrs on google and it came out with three hundred+ pages, but none of them had the complete list.
For VBA and Object browser: funy, but there is no explanation of the "StrPtr" function. Strange!
Thinker
12-23-2001, 10:26 AM
VarPtr and StrPtr are undocumented functions, as is Erl. You won't find
anything much about them in the object browser. If you turn on hidden
members, you can at least see them.
ChiefRedBull
12-23-2001, 02:07 PM
I know of StrPtr and VarPtr, but Erl? What's that when it's at home?
Banjo
12-23-2001, 02:12 PM
I asked the exact same thing on IRC. According to Thinker it is returns the error line number.
Volte
12-23-2001, 06:24 PM
Yes, it does, but it will only work when you have actually manually numbered the lines (like in BASIC, remember?). MZ-Tools will do this for you. You can find a link in the Handy Sites for Handy Tools thread (I think).
hashir56
12-23-2001, 07:33 PM
and Get and Put and Open and .Print member and lots of other things found in qbasic. When ever i find these kinds i just open up qbasic use the help thing there.