[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 665
  • Last Modified:

Visual foxpro distributable application

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
puzzled122397
Asked:
puzzled122397
  • 3
  • 2
1 Solution
 
bbaoIT ConsultantCommented:
Which version of VFP you have?
0
 
puzzled122397Author Commented:
Edited text of question
0
 
puzzled122397Author Commented:
I am using Visual foxpro 5.0

0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
bbaoIT ConsultantCommented:
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
 
puzzled122397Author Commented:
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
 
bruckCommented:
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now