VB

Visual Basic 2025-07-27

VB

A library of Visual Basic functions for use with the Xojo programming language.

To use this library in your projects, simply copy the VB module and paste it into your project.

All functions are accessed by using the VB prefix, so to get the current directory:

Dim dir As Text = VB.CurDir

String Functions

  • Filter
  • InStrRev
  • LCase
  • Like
  • LSet
  • Mid
  • Replace
  • RSet
  • StrReverse
  • UCase

Date Functions

  • Date
  • Day
  • Hour
  • Minute
  • Month
  • Now
  • Second
  • Time
  • Timer
  • Year

File Functions

  • ChDir
  • ChDrive
  • CurDir
  • FileCopy
  • Kill
  • MkDir
  • Name
  • RmDir

Number Functions

  • ATn
  • Fix
  • FV
  • Int
  • IPmt
  • Pmt
  • PPmt
  • PV
  • Randomize
  • Rnd
  • Sgn

Settings

  • DeleteSetting
  • GetAllSettings
  • GetSetting
  • SaveSetting

Other Functions

  • AppActivate
  • ASCIIToScanKey
  • Command
  • IsObject
  • QBColor
  • SavePicture
  • SendKeys
  • Stop
下载源码

通过命令行克隆项目:

git clone https://github.com/xojo/VB.git