Airfield Models - Visual Basic Database

Converting VB DB to a Daily Quote Applet (Developer's Version) - Step 2

December 19, 2021



Home
About
Site Feedback
Register
Contact
Site Map
Add to Favorites
Comments
Search Airfield Models

Back to VB DB

 

Airfield Models (http://www.airfieldmodels.com/)Converting VB DB to a Daily Quote Applet
(Developer's Version)

Download VB DB Source Code here.

 
 

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.

 
 

Previous —
Next —

Step 1 of Converting VB DB to a Daily Quote Applet (Developer's Version)
Step 3 of Converting VB DB to a Daily Quote Applet (Developer's Version)

Comments about VBDB

 
 

Back to VB DB
Airfield Models Home

 
 

Copyright © 2002-2005 Paul K. Johnson