.VB - File Extension for Visual Basic Source Files

Q

What is VB? VB, short name for Visual Basic, is used as the file extension for Visual Basic Source files. .VB files are text files that can be opened by Notepad or any text editors. See the sample .VB file included below.

✍: FYIcenter.com

A

File Extension: .VB

MIME Type: text/plain

File Content: Visual Basic Source

.VB files are Visual Basic Source files, which contain Visual Basic (VB) programming source codes. Here is a sample .VB Visual Basic Source file, mapInsert.vb, containing some simple C++ statements:

    Dim StartPos, Counter As Integer
    Dim FindString, ReplaceText As String
    FindString = "test"
    ReplaceText = "MyString"
     
    For Counter = 1 To Len(Text1.Text)
            StartPos = InStr(Text1.Text, FindString)
            If StartPos > 0 Then
                    Text1.SelStart = StartPos - 1
                    Text1.SelLength = Len(FindString)
                    Text1.SelText = "" + ReplaceText
            End If
    Next

.VB Visual Basic Source file sample: Click sample.vb to download.

Since .VB text files are in text format, you can use Notepad or any text editor to create or modify them. No special software is needed.

For for information on how to use .VB Visual Basic Source files, see links below:

2012-07-08, 2711👍, 0💬