Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 235119 - Last Review: September 27, 2004 - Revision: 3.1
PRB: No Version Info if COM DLL/EXE Is Built Under Windows Me/98/95
This article was previously published under Q235119
When the properties of a Visual FoxPro COM server, either EXE or DLL, (created with Visual FoxPro 6.0 with the Visual Studio 6.0 Service Pack 3, Service Pack 4, or Service Pack 5 updates) are displayed, there is not a version tab even though version information was entered into the EXE or DLL when it was built.
Build the EXE or DLL with Visual FoxPro 6.0 running on the Windows NT or Windows 2000 operating systems instead of on Windows Millennium Edition (Me), Windows 98, or Windows 95.
This problem only occurs with Visual FoxPro 6.0 with the Visual Studio 6.0 SP3, SP4, or SP5 updates, running on Windows Me, Windows 98, or Windows 95. The original release of Visual FoxPro 6.0, without the Visual Studio 6.0 SP3, SP4, or SP5 updates, does not exhibit this problem.
To determine if you have the Visual Studio 6.0 SP3, SP4, or SP5 updates, on the Visual FoxPro
Help menu, select
About Microsoft Visual FoxPro. The version will be listed as "Microsoft Visual FoxPro 6.0 SP
#."
In addition, this only happens to COM servers. Run-time EXEs that do not have an OLEPUBLIC class do not have this problem. Note that to build a DLL from a
Visual FoxPro project, there has to be at least one OLEPUBLIC class in the project.
Steps to Reproduce Behavior
- With Visual FoxPro 6.0 installed on Windows Me, Windows 98, or Windows 95, create a new project named test.pjx.
- Install Visual Studio 6.0 SP3, SP4, or SP5. This will make several updates to your installation of Visual FoxPro 6.0.
- Using Visual FoxPro 6.0, create a new project named test.pjx.
- Add a new program file to the project. Place the following code in the program file and save it as test.prg:
- Add a new class to the project. Name it "test," base it on the custom class and save it in test.vcx.
- With the Class Designer open, choose the Class Info command from the Class menu. Check the OLE Public checkbox. Choose OK to exit and save the class.
- In the Project Manager, choose the Build button.
- In the Build Options dialog box, choose the Version button and enter a version number and any other information desired.
- Build your choice of a:
- Win32 executable / COM server (exe)
- Single-threaded COM server (dll)
- Multi-threaded COM server (dll)
- Once test.exe or test.dll is built, go to Windows Explorer and select the file. Right-click the file and choose Properties from the
Short Cut menu. The ALT+ENTER key combination can also be used to bring up the properties once the file is selected.
- Note that there is no version tab in the properties sheet for the file. The version and any other information that was entered is not there
either.
APPLIES TO
- Microsoft Visual FoxPro 6.0 Professional Edition, when used with:
- Microsoft Windows 95
- Microsoft Windows 98 Standard Edition
- Microsoft Windows Millennium Edition
| kbbug kbpending kbprb kbprojmanager KB235119 |
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please