VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

PhoneBook XML With GUI

Justin Largey  (2 Submissions)   Internet/HTML   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This is an enhancement on the PhoneBook XML project that was uploaded earlier. There is now a GUI that is using this PhoneBook DLL. This gui performs saving and loading of data to an XML file. All controls used in this project are all Windows common controls so it should run on most machines.
NOTE: The code that deals with the windows common dialog boxes (CFileDialog, CPrintDialog) was developed by Total VB SourceBook 6. I take no credit for the work that was put into these classes.

Assumes
This is an example of how one would use the PhoneBook DLL to save and load data to an XML file.

API Declarations
Private Declare Function GetOpenFileName _
Lib "comdlg32.dll" _
Alias "GetOpenFileNameA" _
(pOpenfilename As OPENFILENAME) _
As Long
Private Declare Function GetSaveFileName _
Lib "comdlg32.dll" _
Alias "GetSaveFileNameA" _
(pOpenfilename As OPENFILENAME) _
As Long
Private Declare Function PrintDlg_API _
Lib "comdlg32.dll" _
Alias "PrintDlgA" _
(pPrintdlg As PRINTDLG) _
As Long
Private Declare Function CoCreateGuid Lib "OLE32.DLL" (pGuid As GUID) As Long

Rate PhoneBook XML With GUI (2(2 Vote))
PhoneBook XML With GUI.bas

PhoneBook XML With GUI Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters