Step 2 of 7
In the bFileHandler.bas
module, rename the File extension declarations to a file extension
appropriate for your project.
Before conversion
' bFileHandler.bas
' Common dialog filters
Public Const ALL_FILES_FILTER As String = "All Files (*.*)|*.*|"
' ***** MODIFY *****
' Change name of extension to something unique for your app
Public Const VDB_FILES_FILTER As String = "VB DB Data Files (*.vdb)|*.vdb|"
Public Const DEFAULT_EXTENSION As String = "*.vdb"
' ***** END MODIFY ***** |
After conversion
' bFileHandler.bas
' Common dialog filters
Public Const ALL_FILES_FILTER As String = "All Files (*.*)|*.*|"
Public Const QUOTE_FILES_FILTER As String =
"Quotes (*.quo)|*.quo|"
Public Const DEFAULT_EXTENSION As String = "*.quo" |
Tip! Use Replace All to
change all instances of SDB_FILES_FILTER to
QUOTE_FILES_FILTER.
|