Berikut merupakan kode untuk merubah nama atau rename Active VB Project:
READ MORE - Merubah Nama (Rename) Active VB Project - VB6 Add-Ins
VBInstance.ActiveVBProject.Name = "prjDatabase"
apabila Active VB Project ingin dirubah namanya menjadi 'prjDatabase'. Public VBInstance As VBIDE.VBE
Public Connect As Connect
Option Explicit
Private Sub CancelButton_Click()
Connect.Hide
End Sub
Private Sub OKButton_Click()
RenameActiveProject "prjDatabase"
End Sub
Private Sub RenameActiveProject(s As String)
VBInstance.ActiveVBProject.Name = s
End Sub