PRJ4: MS Project and Visual Basic Library Files Available |
Q132325
The information in this article applies to:
- Microsoft Project for Windows, version 4.0
SUMMARY
Object library files and Visual Basic dynamic link library files are available for international versions of Microsoft Project and Microsoft Visual Basic Programming System, Applications Edition.
For information on how to download these files, please see the "Instructions for Downloading" section at the end of this article.
FILES AVAILABLE FROM ONLINE SERVICES
International Versions of Object Library Files
Item ID File name Description S15337 PROJFR.EXE French version (PROJFR40.OLB, VBAFR.OLB, VBAFR.DLL) S15338 PROJDE.EXE German version (PROJDE40.OLB VBADE.OLB VBADE.DLL) S15339 PROJIT.EXE Italian version (PROJIT40.OLB, VBAIT.OLB, VBAIT.DLL) S15340 PROJES.EXE Spanish version (PROJES40.OLB, VBAES.OLB, VBAES.DLL) S15341 PROJSV.EXE Swedish version (PROJSV40.OLB, VBASV.OLB, VBASV.DLL)
MORE INFORMATION
If your Visual Basic code in Microsoft Project is written in a language other than English, you should always include the appropriate language object library (OLB) files and Visual Basic dynamic link library (DLL) files when you distribute your Visual Basic application (in case the recipient doesn't already have these library files). If the macro code calls procedures written in multiple languages, then you should include the object libraries for each of those languages. You should also include all projects and other object libraries that are referenced by the application that you are distributing.
Microsoft allows all registered owners of Microsoft Project to distribute object libraries with their applications to other registered owners as necessary. The names of the object library files available from Microsoft are listed in the following table.
Microsoft Project Visual Basic for Visual Basic for for Windows Applications Applications Language Object Library Object Library Dynamic Link Library -------- ----------------- ---------------- -------------------- English* PROJEN40.OLB VBAEN.OLB VBAEN.DLL French PROJFR40.OLB VBAFR.OLB VBAFR.DLL German PROJDE40.OLB VBADE.OLB VBADE.DLL Italian PROJIT40.OLB VBAIT.OLB VBAIT.DLL Spanish PROJES40.OLB VBAES.OLB VBAES.DLL Swedish PROJSV40.OLB VBASV.OLB VBASV.DLL *The English versions of these files are included with all language versions of Microsoft Project.
Registering a Different Language Version
To register a different language version of an object library file and to reference this language version in a new Visual Basic project, do the following:
- Copy the OLB and DLL files (VBA*.OLB and VBA*.DLL) to the SYSTEM subdirectory of your Windows directory, for example if you windows directory is named WINDOWS, copy them to the C:\WINDOWS\SYSTEM directory.
- Copy the Microsoft Project 4.0 object library files (PROJ??40.OLB) to the SYSTEM subdirectory of your Windows directory.
- Start Microsoft Project version 4.0.
- Switch to the Module Editor view. From the Tools menu, choose References. Choose the Browse button. From the Directories list, select the Windows SYSTEM subdirectory.
- From the File Name list, select the object library file, for example PROJFR40.OLB, and choose OK.
A dialog box will appear with the error message "Object library's language setting incompatible with current project."
- Choose OK
- Repeat steps 5 and 6 for the Visual Basic, Applications Edition, object library file, for example VBAFR.OLB. In the References dialog box, choose OK.
- From the Tools menu, choose Options. Select the Module General tab, and under International, select Default Settings. From the Language/Country list, select the language and country of the object library file you want to use. Choose OK.
- Create a Visual Basic module in a new project file. This module will use the language selected in the previous step.
Determining Which Library Files to Distribute
Any library files referenced by the Visual Basic modules in your project file need to be distributed with the file in order for recipients to be able to execute the macros contained in the modules. To determine which library files are being referenced by your project file, do the following:
- Open your project in Microsoft Project and switch to the Module Editor view.
- From the Tools menu, choose References.
- From the Available References list, select a referenced library name. (The check box next to a library file is selected if the library is referenced by this Project file.)
The location of this referenced library file is listed next to Path under Visual Basic for Applications. This library file should be distributed with your Project file.
INSTRUCTIONS FOR DOWNLOADING
The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:
For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.
Additional query words: projfr projde projes projsv projit exe
Keywords :
Issue type :
Technology :
Last Reviewed: November 3, 2000 |