Solved

Visual foxpro distributable application

Posted on 1998-01-19
6
644 Views
Last Modified: 2010-07-27
Dear Sir,

I have developed an application in Visual foxpro. Now I want to deliver it. I can run the application from the foxpro environment i.e. from command window, from menu (!) option and also from 'RUN after building. I can run the application from  Window 95 RUN, I have also created a short cut on the desktop and tried to run. System loads the application and it disappears within  4 to 6 seconds.

I also tried to make distributable disks from tool-> setup wizard. It made three disks but after installing from these disks I was again unable to run the application.

What can be the reason?
Which support librariess does it need?

I am using Visual foxpro ver  5.0

Please provide the detailed solution.
0
Comment
Question by:puzzled122397
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 37

Expert Comment

by:bbao
ID: 1025898
Which version of VFP you have?
0
 

Author Comment

by:puzzled122397
ID: 1025899
Edited text of question
0
 

Author Comment

by:puzzled122397
ID: 1025900
I am using Visual foxpro 5.0

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 37

Accepted Solution

by:
bbao earned 30 total points
ID: 1025901
M$ KB Q162004 relates to your problem:

The Setup Wizard for Visual FoxPro 5.0 has been  updated. The updated file is available for download from the Microsoft Software Library:
 
 ~ Setwiz5.exe

The Visual FoxPro Setup Wizard has been updated to address a number of known issues. This update runs only under version 5.0 of Visual FoxPro. Do not use it in Visual FoxPro 3.0 or previous releases.
 
Use the following steps to install the Setup Wizard update:
 
1. Replace the existing files in the following locations with the updated  files:
 
Wzsetup.app - \Vfp\Wizards
Wizset32.dll - \Vfp\Distrib.Src\Setup
Clireg32.exe - \Vfp
 
NOTE: If these files are not installed, then first rerun the Visual FoxPro 5.0 Setup, select Custom Install, choose Professional Applications, and choose the Microsoft Visual FoxPro Runtime and Setup Wizard component options.
 
2. Search your hard drive for other copies of Clireg32.exe and replace them with the new version. This file is a common component that other applications such as Visual Basic also use.
 
3. If you have already run the Visual FoxPro 5.0 Setup Wizard, delete the "\Vfp\Distrib" directory and all occurrences of the following files:
 
      Dkcontrl.dbf
      Dkcontrl.cdx
      Wzsetup.ini
 
The Setup Wizard will automatically re-create these the next time you run it.
 
Updated Features:
 
The Setup Wizard accommodates the latest version of Clireg32.exe, which now supports remote automation via Distributed COM (DCOM). There is a new option in the Custom OLE Servers Details dialog box for electing DCOM. If you select this option, you must ensure that the machine onto which you are installing your distributed application supports DCOM.
0
 

Author Comment

by:puzzled122397
ID: 1025902
Thanks bbao, you did well. I haven't checked this solution but trust that it will solve my problem. Incase of any problem I will contact you. What will be your personal email address is it qna@---- or any thing else. Please send me.

Regards
0
 

Expert Comment

by:bruck
ID: 1025903
You say you use a VFP menu and your application starts, runs for about 4 to 6 seconds and then stops? Are your sure it's running at all? Isn't it just the VFP desktop that is initializing before your app. is started. Try to add a 'read events' stamentent in the 'cleanup' code editor of your menu (you'll find it when you open the menu for editing, select the 'Menu' entry in the system nenu and choose for 'General Options'. I've had this one before. When you are actually in the VFP environment everything is fine, but event processing is disabled when your application is "on it's own".

Be sure to add a 'clear events' in the main .PRG file that starts your application before you open/init. the menu or more undefinable VFP 'features' will surface when you try to open the menu.

Good luck!
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question