VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



PhoneBook XML With GUI

by Justin Largey (2 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

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

Upload

Download this snippet    Add to My Saved Code

PhoneBook XML With GUI Comments

No comments have been posted about PhoneBook XML With GUI. Why not be the first to post a comment about PhoneBook XML With GUI.

Post your comment

Subject:
Message:
0/1000 characters