Wrox Programmer Forums
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 10th, 2007, 07:17 AM
Authorized User
Join Date: May 2007
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default prg

hi all:)
we have a program named "main.prg" developed in visual foxpro 6.we have run this using showopen method from vb 6.is it possible ?

if yes please explain how ?help with code


Old August 10th, 2007, 01:07 PM
Friend of Wrox
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts

You say that you have done something, then ask if it is posible. So I presume what you mean is:

We have a program named "main.prg" developed in visual foxpro 6. We want to run this file from VB 6. Is it possible? (No space between the end of a sentence and the punctuation at the end of it.)

If so, please explain how? Help with code.

If my understanding is right, then my answer would be that I don't believe it can be done. That file would have contents designed to be picked up by foxpro. Foxpro would then take actions that the file described; the file itself would not be something that could be directly run. (If Windows has had the extension ".prg" associated with Foxpro it might be possible to run it with a Shell statement.)

I would think the way to run it would be to run foxpro explicitly, “pointing” to the .prg file in a command line argument.

Similar Threads
Thread Thread Starter Forum Replies Last Post
error in prg? Tony Tiger BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 July 15th, 2008 01:52 PM
CGI Prg., keep counts of Number of user visit site davekrunal46 HTML Code Clinic 0 December 28th, 2005 01:41 AM
Run prg file tsimsha Pro VB 6 0 December 13th, 2004 05:41 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.