Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Vladimir Zografski
  Where is Vladimir Zografski?
 Sofia
 Bulgaria
 Vladimir Zografski
 To: rajesh kumar
  Where is rajesh kumar?
 patna
 India
 rajesh kumar
 Tags
Subject: RE: Run Time Code
Thread ID: 249159 Message ID: 249161 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Projects and Design
Date: Tuesday, December 29, 2009 6:54:18 PM         
   


> Dear Foxperts,
> Is it possible to write some line of text(Program Code) at run time in any specifyed/all method of the form or object.
>
> Any help will highly appreciated.
>
> Thanks in Advance.
> Rajesh kumar
> KSPL Patna

Yes,
Something like this
TEXT TO lcCommand NOSHOW
     lcPath = GETDIR()
     IF EMPTY(lcPath)
        MESSAGEBOX([No Path])
     ELSE
        MESSAGEBOX(lcpath)
     ENDIF
ENDTEXT

EXECSCRIPT(lcCommand) 



Vladimir Zografski
Systems Analyst

ENTIRE THREAD

Run Time Code Posted by rajesh kumar @ 12/29/2009 6:37:36 PM
RE: Run Time Code Posted by Vladimir Zografski @ 12/29/2009 6:54:18 PM
RE: Run Time Code Posted by Tony Vignone @ 12/29/2009 7:02:36 PM
RE: Run Time Code Posted by Cetin Basoz @ 12/29/2009 7:32:18 PM
RE: Run Time Code Posted by Anders Altberg @ 12/30/2009 5:12:11 PM
RE: Run Time Code Posted by rajesh kumar @ 1/2/2010 7:38:13 PM
RE: Run Time Code Posted by Stefan Wuebbe @ 1/3/2010 10:20:29 AM
RE: Run Time Code Posted by Anders Altberg @ 1/3/2010 4:19:01 PM
RE: Run Time Code Posted by rajesh kumar @ 1/7/2010 8:28:13 AM