text file

text file

Postby Silvio.Falconi » Thu Jun 01, 2017 9:09 am

Wich class I must use to create a text ascii file ?

I must also cal an .bat file from fwh , how I can call this file bat ?
thanks
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: text file

Postby ukoenig » Thu Jun 01, 2017 9:19 am

Silvio,

// At end of job, we add the last line to cText :
cText := cText + cNewLine + CRLF

// Then we write it to disk as a .TXT file:
MEMOWRIT(cTxtfile, cText)

I think .BAT is executed like a EXE

regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: text file

Postby Silvio.Falconi » Thu Jun 01, 2017 10:23 am

I'sorry
I am having a memory void and i'm worried that i should deliver the application early and i'm really desperate
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: text file

Postby Silvio.Falconi » Thu Jun 01, 2017 4:26 pm

Uwe,
sample :

nSticketnumber:= "123456" number of the ticket

ShellExecute(GetActiveWindow(),'Open',oApp():cPath+"\"+nSticketnumber+".bat",,,4)
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 108 guests