VB Functions by Category

Under construction. 
If you have any good URL's or white pages to enhance this web page, please EMAIL them to me -  michael@michael-thomas.com.

Use VB's help to find help on how to use the function and it's arguments.   Click on Help, then "Microsoft Visual Basic Help Tools".  Next choose "Language Reference".  Next choose the corresponding book:   Function, Method, Statement.  (Note:  If the command is not a function, then I'll specify.  EX:  (statement) )

I hope this table will help those starting out in VB.

Function Category Function/Method/Statement
String
  • LTrim, RTrim, Trim - Trim off spaces from left, right or both.
  • Left, Right - returns the specified characters from the left or right of a string.
  • Mid - returns a specified # of characters in a string from a specified starting point.
  • LCase, UCase - Upper or Lower case.
  • StrConv - Convert to upper, lower, etc...
  • String - replicate/repeat a string a specified number of times.
  • InStr - returns the position of a string with a string.
  • StrComp - Compares 2 strings
Math  
File
  • Dir[(pathname[, attributes])] - returns a string of the matching file/directory specified.  Returns "" is not found.
  • FileCopy [from] [to] - (statement) Copies a file.
   
   
   
   
   
   
   
   
 
Last edited: 12/12/13