Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically load a Debugger Configuration?
Message
 
 
À
24/10/2007 09:59:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01262918
Message ID:
01263060
Vues:
16
Hi Frank,

You're welcome.

>
>Very nice.
>
>A minor adjustment...
>I found that I needed to merely add the DEBUG command; so it came out as:
>
>LOCAL oShell AS wscript.SHELL
>LOCAL lcDbgFile AS STRING
>lcDbgFile = FORCEPATH("FILE1.DBG",HOME(7))
>IF FILE(lcDbgFile)
>    oShell = CREATEOBJECT("wscript.shell")
>    DEBUG
>    oShell.AppActivate("Visual FoxPro Debugger")
>    oShell.SendKeys("%")
>    oShell.AppActivate("Visual FoxPro Debugger")
>    oShell.SendKeys("~L")
>    oShell.SendKeys(lcDbgFile)
>    oShell.SendKeys("{TAB}{TAB}~")
>    RELEASE oShell
>ELSE
>    MESSAGEBOX([Configuration File: ] + CHR(13) + CHR(09)+ CHR(34) + 
DISPLAYPATH(UPPER(lcDbgFile),65) + CHR(34) + CHR(13) + 
[ was not found!],16,[Load Debugger Configuration])
>ENDIF
>RETURN
>
>
>Thank you once again.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform