Solved

Visual foxpro distributable application

Posted on 1998-01-19
6
582 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
  • 3
  • 2
6 Comments
 
LVL 37

Expert Comment

by:Bing CISM / CISSP
Comment Utility
Which version of VFP you have?
0
 

Author Comment

by:puzzled122397
Comment Utility
Edited text of question
0
 

Author Comment

by:puzzled122397
Comment Utility
I am using Visual foxpro 5.0

0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 37

Accepted Solution

by:
Bing CISM / CISSP earned 30 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In today’s complex data management environments, it is not unusual for UNIX servers to be dedicated to a particular department, purpose, or database.  As a result, a SAS® data analyst often works with multiple servers, each with its own data storage…
SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
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…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now