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.
puzzled122397Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Databases

From novice to tech pro — start learning today.