?
Solved

Visual foxpro distributable application

Posted on 1998-01-19
6
Medium Priority
?
651 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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
LVL 37

Accepted Solution

by:
bbao earned 120 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

Technology Partners: 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!

Question has a verified solution.

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

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 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