Coder Profile - Show off your skills, get a coder profile.
 
 
 
All VB6 Global Functions & Objects
Programming
Note: The term global means it can be used “anywhere in a project”. The attachment contains a word document that is easier to read and print.

Global Objects – Have methods and properties that you can access

App - Gives general information about an application
Calendar - Sets or returns the current calendar
Clipboard - Provides access the systems Clipboard
Date - Sets or returns the current system date
Date$ - Sets or returns the current system date
Forms - All loaded forms in an application
Licenses - Manipulate a collection of control licenses for use with Controls.Add
Now - Returns the current system date and time
Printer - Enables you to communicate with a system printer (initially the default printer)
Printers - Enabled you to gather information about all available printers on the system
Screen - manipulates Forms according the their placement on the screen and controls the mouse pointer
Time - Sets or returns the current system time
Time$ - Sets or returns the current system time
Timer - Returns the number of seconds elapsed since midnight

Global Functions – Return values

Abs - Returns the absolute value of a number
AppActivate – Activates an application window
Array - Hidden Function
Asc - Returns the ANSI character code of the first character in a string
AscB - Returns the value of the first byte in a string
AscW - Returns the native character code of the first character in a string (Unicode or ANSI)
Atn - Returns the arctangent of a number
Beep - Sounds a tone through the computers speaker
CallByName - Allows control properties to be selected and modified by using string values
CBool - Converts an expression to a Boolean
CByte - Converts an expression to a Byte
CCur - Converts an expression to a Currency
CDate - Converts an expression to a Date
CDbl - Converts an expression to a Double
CDec - Returns a variant with a value converted to a decimal subtype
ChDir - Changes the current or default directory on a drive
ChDrive - Changes the current drive
Choose - Selects and returns a value from a list of arguments
Chr - Returns a string containing the character associated with the specified character code
Chr$ - Returns a string containing the character associated with the specified character code
ChrB - Returns a string containing the specified single byte
Chr$ - Returns a string containing the specified single byte
ChrW - Returns a string containing the specified native character (Unicode or ASCI)
ChrW$ - Returns a string containing the specified native character (Unicode or ASCI)
CInt - Converts an expression to an Integer
CLng - Converts an expression to a Long
Command - Returns the argument portion of the command line
Command$ - Returns the argument portion of the command line
Cos - Returns the cosine of an angle
CreateObject - Creates an ActiveX object
CSng - Converts an expression to a Single
CStr - Converts an expression to a String
CurDir - Returns the current path
CurDir$ - Returns the current path
CVar - Converts an expression to a Variant
CVDate - Converts an expression to a Date
CVErr - Returns a Variant containing a user specified error number
DateAdd - Returns a Variant containing a date to which a specified time interval has been added
DateDiff - Returns the number of time intervals between two specified dates
DatePart - Returns a specified part of a given date
DateSerial - Returns a Date for a specific year, month, and day
DateValue - Returns a Date
Day - Returns a whole number representing the day of the week
DDB - Returns double-declining balance depreciation of an asset for a specified period
DeleteSetting - Deletes a section or key setting from an applications entry in the Windows registry.
Dir - Returns the name of a matching file, directory, or folder
DoEvents - Yields execution so that the operating system can process other events
Environ - Returns the string assigned to an environment variable
Environ$ - Returns the string assigned to an environment variable
OEF - Returns a value that indicated whether the end of a file has been reached
Erl - Hidden Function – Returns the line number where error occurred
Err - Returns the error number for the error that occurred
Error - Returns the error message for a given error number
Error$ - Returns the error message for a given error number
Exp - Returns e (the base of natural logarithms) raised to a power
FileAttr - Returns the mode for files opened using the open statement
FileCopy - Copies a file
FileDateTime - Returns the date and time stamp of a file
FileLen - Returns the length of a file in bytes
Filter - Returns an array of matches
Fix - Returns the integer portion of a number
Format - Formats an expression
Format$ - Formats an expression
FormatCurrency - Formats an expression as currency
FormatDatTime - Formats an expression as date
FormatNumber - Formats an expression as a number
FormatPercent - Formats an expression as a percent
FreeFile - Returns the next file number available by Open
FV - Returns future value of annuity
GetAllSettings - Returns a list of key settings and their respective values from an applications Window Registry entry
GetAttr - Returns the attribute of a file, directory, or folder
GetObject - Returns a reference to an ActiveX object from a file
GetSetting - Returns a key setting value from an applications entry in the Windows registry
Hex - Returns a string representing the hexadecimal value of a number
Hex$ - Returns a string representing the hexadecimal value of a number
Hour - Returns a whole number representing the hour of the day
IIf - Returns one of two parts, depending on the evaluation of an expression
IMEStatus - Returns the current IME mode of the system
Input - Hidden Function
Input$ - Hidden Function
InputB - Hidden Function
InputB$ - Hidden Function
InputBox - Displays a prompt in a dialog box and returns users input text
InStr - Returns the portion of the first occurrence of one string within another
InStrB - Returns the byte position of the first occurrence of one string within another
InStrRev - Returns the position of the last occurrence of one string within another
Int - Returns the integer portion of a number
IPmt - Returns the interest payment for a given period of an annuity
IRR - Returns the internal rate of return for a series of periodic cash flows
IsArray - Returns True if the variable is an array
IsDate - Returns True is an expression can be converted to a Date
IsEmpty - Returns True if a variable has not been initialized
IsError - Returns True if an expression is an error value
IsMissing - Returns True if an optional argument has not been passed
IsNull - Returns True if an expression contains no valid data
IsNumeric - Returns True if an expression can be evaluated as a number
IsObject - Returns True if an identifier represents an object variable
Join - Join array elements into a string
Kill - Deletes files from a disk
LCase - Returns a string converted to lowercase
LCase$ - Returns a string converted to lowercase
Left - Returns a specified number of characters from the left side of a string
Left$ - Returns a specified number of characters from the left side of a string
LeftB - Returns a specified number of bytes from the left side of a string
LeftB$ - Returns a specified number of bytes from the left side of a string
Len - Returns string length or bytes required to store a variable
LenB - Returns the bytes required to store a variable
Load - Loads a form or control into memory
LoadPicture - Loads a graphic into a Form, PictureBox, or Image control
LoadResData - Loads data of several possible types from a resource file (.RES) and returns a Byte array
LoadResPicture - Loads a bitmap, icon, or cursor from a resource (.RES) file and returns it to the appropriate control
LoadResString - Loads a string from a resource (.RES) file and returns it as a property of a control
Loc - Returns the current read/write position within an open file
LOF - Returns the size (in bytes) of an open file
Log - Returns the natural logarithm of a number
LTrim - Returns a copy of a string without leading spaces
LTrim$ - Returns a copy of a string without leading spaces
MacID - Hidden Function – Converts a four-character constant to a Macintosh file type or signature
MacScript - Hidden Function – Executes an AppleScript script
Mid - Returns specified number of characters from a string
Mid$ - Returns specified number of characters from a string
MidB - Returns specified number of bytes from a string
MidB$ - Returns specified number of bytes from a string
Minute - Returns a whole number representing the minute of the hour
MIRR - Returns the modified internal rate of return for a series of periodic cash flows
MkDir - Creates a new directory or folder
Month - Returns a whole number representing the month of the year
MonthName - Returns localized month name
MsgBox - Displays a dialog box and returns the value of the users selection
NPer - Returns the number of periods for an annuity
NPV - Returns the net present value of an investment
ObjPtr - Hidden Function
Oct - Returns a string representing the octal value of a number
Oct$ - Returns a string representing the octal value of a number
Partition - Returns a string indicating where a number occurs within a series of ranges
Pmt - Returns the payment for an annuity
PPmt - Returns the principle payment for a given period of an annuity
PV - Returns the present value of an annuity
QBColor - Returns the RGB color code for a specified color number from a list of predefined standard colors
Randomize - Initializes the random-number generator
Rate - Returns the interest rate per period for an annuity
Replace - Find and replace a substring within a string
Reset - Closes all open disk files
RGB - Returns a whole number representing an RGB color value
Right - Returns a specified number of characters from the right side of a string
Right$ - Returns a specified number of characters from the right side of a string
RightB - Returns a specified number of bytes from the right side of a string
RightB$ - Returns a specified number of bytes from the right side of a string
RmDir - Removes an existing directory or folder
Rnd - Returns a random number
Round - Round a given number of decimal places
RTrim - Returns a copy of a string without trailing spaces
RTrim$ - Returns a copy of a string without trailing spaces
SavePicture - Saves a graphic from a Form, PictureBox, or Image control to a file
SaveSetting - Saves a setting under the specified appname, section and key
Second - Returns a whole number representing the second of the minute
Seek - Sets or returns the current read/write position within an open file
SendKeys - Send key strokes to an active window
SetAttr - Sets attribute information for a file
Sgn - Returns an integer indicating the sign of a number
Shell - Run an executable program
Sin - Returns the sine of an angle
Sln - Returns the straight-line depreciation of an asset for a single period
Space - Returns a string consisting of the specified number of spaces
Space$ - Returns a string consisting of the specified number of spaces
Split - Split a string into an array
Sqr - Returns the square root of a number
Str - Returns a string representation of a number
Str$ - Returns a string representation of a number
StrComp - Returns a result of a string comparison
StrConv - Returns a converted string
String - Returns a repeating character string of the length specified
String$ - Returns a repeating character string of the length specified
StrPtr - Hidden Function
StrReverse - Reverse a string
Switch - Returns the first value or expression in a list that is true
SYD - Returns the sum-of-years digits depreciation on an asset
Tan - Returns the tangent of an angle
TimeSerial - Returns the serial representation for a specific hour, minute, and second
TimeValue - Returns a time
Trim - Returns a copy of a string without leading and trailing spaces
Trim$ - Returns a copy of a string without leading and trailing spaces
TypeName - Returns a string that provides information about a variable
UCase - Returns the specified string, converted to uppercase
UCase$ - Returns the specified string, converted to uppercase
Unload - Unloads a Form or control from memory
Val - Returns the number contained in a string
ValPtr - Hidden Function
VarType - Returns a value indicating the subtype of a variable
Weekday - Returns a whole number representing the day of the week
WeekdayName - Returns localized weekday name
Width - Hidden Function
Year - Returns a whole number representing the year


Posted By VBAssassin
Please login to rate coding articles.

Click here to register a free account with us.
Attachment
Download Download Attachment
VB6 Global Functions & Objects List.zip ( 0.01Mb )
NEVER open a .exe, .bat, .cmd, or other executable file since that is where viruses are likely to live. Please virus scan all files you download.
Comments
Please login to post comments.
Page 1 of 1
More Articles By This Author
[PHP] - Lets kill the complex IF
All VB6 Global Functions & Objects
ASCII List
About Hashes
Recently Posted "Programming" Articles
thetrojan01's brainfuck tutorial - from the beginning to the interpreter.
My Experiences So Far with Languages
Selecting Your First Programming Language
[PHP] - Lets kill the complex IF
Basic PortScanner in VB6.0
N-Queens-Series Part I (Only the fittest survive)
Currying in JavaScript: Fun for the Whole Family!
[PHP] Create A Unique Page Hits Counter
Actionscript Events
Actionscript API
Recently Rated "Programming" Articles
thetrojan01's brainfuck tutorial - from the beginning to the interpreter.
[PHP] - Lets kill the complex IF
Actionscript API
Actionscript Events
My Experiences So Far with Languages
Selecting Your First Programming Language
Vectors in C++
[C++] Templates
Quick Threading Tutorial - C++
Intorduction to memoization.
source codes Categories articles
Browse All
Business & E-Commerce (1)
Databases (1)
Design & Creativity (1)
Hardware (1)
Internet & Web Sites (3)
Life In General (2)
Networking (1)
Operating Systems (4)
Other (2)
Programming (46)
Security (8)
Software Development (5)
Web Development (14)
search Search Inside
Programming
 
 
Latest News About Coder Profile
Coder Profile Poll
If you made money from keeping your profile up to date, say $30 and up, per month. What extra time would you spend on your profile?

No extra time
A few hours at weekends
A whole day each week
Every minute i can get free


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
3.20 Years Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2012, Scott Thompson, All Rights Reserved