FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour text file
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
text file
Posted: Thu Jun 01, 2017 09: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 March-April 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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: text file
Posted: Thu Jun 01, 2017 09: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.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: text file
Posted: 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 March-April 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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: text file
Posted: Thu Jun 01, 2017 04: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 March-April 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

Continue the discussion