How can open any specified .p through another .p file?
(don't want to RUN .p).
ex:
DEFINE VARIABLE vcFileName AS CHARACTER NO-UNDO.
vcFileName = "sri.p".
IF vcFileName EXTERNAL "KERNEL32.DLL".
I count not find out what is the procedure name and how many parameters should use?
is there anybody?
Don't is _desk.p the procedure that open the procedure editor?
I thik that you must run that procedure with your cvFileName as parameter, but is just a my intuition, i never do it.
/
You can use the Procedure Window - adecomm/_pwmain.w */
run adecomm/_pwmain.w
(input "", /* Parent ID String */
input "src/applhelp.p", /* File(s) to open */
input ""). /* Startup commands */
It will create an editor in a window and allows a user to edit the contents of a file.
HTH,
Wim
But, its opening the new Untiled1 file.
tried,
vcFileName = sri.p.
RUN adecomm/_pwmain.w
(input "", /* Parent ID String */
input vcFileName, /* File(s) to open */
input ""). /* Startup commands */
I just open the vcFileName as the normal way we open the file to read the content.
thanks,
If I specify sri.p instead of vcFileName, then working fine.
But, I would need to specify the file name at run time.
DONE!!!!!!!
Thanks a lot!!!!!!!!:)
Now I want to open any specified .w by another .w through AppBuilder?
In appbuilder all related dbs connected.