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 9,466 of 9,834    |
|    Mark Bannister to All    |
|    Re: MODI dead or worthless; Trying new d    |
|    24 Sep 08 14:33:03    |
   
   From: markRemove@ThisINjection-Moldings.com   
      
   Here's snips of code that do that work:   
   stExe = ""   
   scan mytc :   
    stexe = stexe + " \""+mytc."FileName"+"\""   
   endscan   
      
      
   sthold = "c:\\program files\\gs\\gs8.54\\bin\\gswin32 "+"@c:\\test.rsp"   
      
    ts.open("c:\\test.rsp","nw")   
      
    ts.writeline("-sDEVICE=pdfwrite")   
    ts.writeline("-dBATCH")   
    ts.writeline("-dNOPAUSE ")   
    ts.writeline("-I\"C:\\gs\\fonts;c:\\PSFONTS;C:\\Program   
   Files\\Adobe\\Acrobat 4.0\\Resource\\Font\"")   
    ts.writeline("-sOutputFile="+"\""+destfld.value+"\"")   
    ts.writeline(stExe)   
    ts.close()   
      
      
      
   if execute(sthold,Yes,ExeShowNormal) then   
    ;launch adobe with created file   
    libMisc.LaunchFile(destfld.value)   
   endif   
      
   Old code. All the hard coded paths should be grabbed from the registry.   
   --   
   Mark B   
      
   --- 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