Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically load a Debugger Configuration?
Message
 
 
To
24/10/2007 09:59:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01262918
Message ID:
01263060
Views:
15
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform