Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveDoc Runtime question ??
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00539636
Message ID:
00539790
Vues:
15
This message has been marked as the solution to the initial question of the thread.
Claude,

There is a program RunActd.prg in VFP home directory that runs Activedocument menu item from Tools menu.
Take a look at cmdRun.Click method
DO CASE
	CASE nMethod = 1	&& runtime, hosted in browser
		thisform.hyperLink.NavigateTo(lcFilename)
	CASE nMethod = 2	&& runtime, stand alone
		thisform.Shelldoc(lcFileName)
	<b>CASE nMethod = 3	&& ide, hosted in browser
		CLOSE ALL
		SYS(4204)
		thisform.hyperLink.NavigateTo(lcFilename)</b>
	CASE nMethod = 4	&& ide, stand alone
				DO (lcFilename)
	OTHERWISE
	ASSERT(C_BADMODE_LOC)
ENDCASE
Now all you have to do is modify this program to run w/o interraction with user.
BTW, this program accepts defualt run method as a second parameter.

>I'll be surprised if I get an answer to this one, but, here goes: Is there any programatic way to tell the ActiveDoc being loaded which VFP Runtime library to use. The default seems to be the distributable dll, but, I want to use VFP6.exe because one of the commands in the app requires it. I know you can do this from the toolbar, but, I need a way to do it as a command line argument, config file, or in the app. Definite stars for anyone that helps...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform