File I/O API - Visual Basic Sample Program
04 Feb 03
Overview
[Link] is a Visual Basic sample program which utilizes the File I/O API. It is a multiple
document interface (MDI) application which displays the dictionary information from SPSS data files in one or more child windows. The user simply selects Open from the File menu to get a standard Open File dialog. If the selected file is an SPSS data file, its dictionary information is displayed in an edit control in a child window. The application is terminated by selecting Exit from the File menu. Building The sample program has been built with the 32 bit implementation of version 4 of Microsoft Visual Basic. Other compilers may work, but they have not been tested. In order to build the sample program, perform the following steps: 1. Copy all the files from the SPSS\Developer\io_dll\smpl_vb directory on the distribution disk to a directory on your hard disk. 2. Copy [Link] to the directory containing the sample program. 3. Insure that [Link] will be accessible at execution time. 4. Use the Open Project item on Visual Basics File menu to access the sample programs project file, [Link] . If you select Make EXE File from the Visual Basic File menu, the compiler will default to a file name of [Link] . Constituent Files The following files are included as part of the sample program:
[Link] [Link] [Link] [Link] [Link] [Link] [Link]
the form for the About box bit map for the About box child form to display one files dictionary - does all the work icon for the child form project file MDI form for the application - drives the file open dialog icon for the application