Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.paradox    |    To crash or not to crash, asks Borland    |    9,834 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 7,854 of 9,834    |
|    Rodney Wise to All    |
|    Re: WriteText et GPV    |
|    15 Oct 06 14:59:43    |
   
   From: NSpamPlease_rodney1@bellsouth.net   
      
   Régis,   
      
   In Pdox 9, I had no trouble. However, what happens if you open the Form   
   using the   
      
   WinStyleDefault+WinStyleHidden   
      
   Parameters? (see below)   
      
   Below is the code I tested:   
      
   //=== Begin   
   ------------------------>   
   Var   
      
    f Form   
    strCurrentDir String   
      
   endVar   
   <------------------------   
      
    strCurrentDir = cpCurrentDir() ;//- returns my current directory   
    if f.open(strCurrentDir + "\\Sample.fsl", WinStyleDefault+WinStyleHidden)   
   then   
   if f.open(strCurrentDir + "\\Sample.fsl") then ;//- <--- this worked   
   also   
    f.writetext(":PRIV:test.txt")   
    sleep() ;//- I added this sleep()   
    f.close()   
    endif   
      
   //=== End   
      
      
      
   --   
   ...   
    `·.¸¸.·´¯`·.¸¸.·´¯`·-> rodney   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca