Microsoft Knowledge Base Email Alertz

KBAlertz.com: 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...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **


Community Site



We Send hundreds of thousands of emails using ASP.NET Email


ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








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

On This Page

SYMPTOMS

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.

RESOLUTION

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.

MORE INFORMATION

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

  1. With Visual FoxPro 6.0 installed on Windows Me, Windows 98, or Windows 95, create a new project named test.pjx.
  2. Install Visual Studio 6.0 SP3, SP4, or SP5. This will make several updates to your installation of Visual FoxPro 6.0.
  3. Using Visual FoxPro 6.0, create a new project named test.pjx.
  4. Add a new program file to the project. Place the following code in the program file and save it as test.prg:
    * This is a comment
    					
  5. Add a new class to the project. Name it "test," base it on the custom class and save it in test.vcx.
  6. 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.
  7. In the Project Manager, choose the Build button.
  8. In the Build Options dialog box, choose the Version button and enter a version number and any other information desired.
  9. Build your choice of a:
    • Win32 executable / COM server (exe)
    • Single-threaded COM server (dll)
    • Multi-threaded COM server (dll)
  10. 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.
  11. 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
Keywords: 
kbbug kbpending kbprb kbprojmanager KB235119
Retired KB ArticleRetired KB Content Disclaimer
This 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