Search found 31 matches: readwrite

Return to advanced search

Re: file date and time - how to set

Hello, I think I found an example: function setfiledate(cFile, dDate) local hFile := FOpen( cFile, FO_READWRITE ) local aInfo SET DATE FRENCH SET CENTURY ON SetFTime( hFile, "13:00:00", dDate ) // MsgInfo( "D o n e !" ) FClose( hFile ) return nil I will test. Best regards Otto
by Otto
Fri Feb 21, 2020 11:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: file date and time - how to set
Replies: 12
Views: 1557

Re: Retomo Problema de uso de Word

Por favor postea el error que se genera, y disculpa, olvidé comentarte que es una funcion de bajo nivel y usa fileio.ch* Pon al inicio del fichero principal de tu programa #include "fileio.ch", o usalo como variable local. ej local FO_EXCLUSIVE := 16 ---------------------------------------...
by FranciscoA
Sat Oct 12, 2019 1:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Retomo Problema de uso de Word "FUNCIONANDO"
Replies: 17
Views: 2938

Re: Cambiar nombre a campos en tablas

Please use this function. This is very fast. function FW_DbfRenameField( cDbf, cField, cReplace )   local lSuccess := .f.   local hFile, nHeaderSize, nAt   local cBuf     := Space( 32 )   if !File( cDbf )      ? cDbf + " not found"      return .f.   endif   if Empt...
by Compuin
Sun Nov 04, 2018 3:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar nombre a campos en tablas (SOLUCIONADO)
Replies: 8
Views: 2238

Re: multiple defintions, forst defined here

*************************************************************** * NOTE - I DO NOT OWN, OR DEVELOPED, THIS CODE AND AM POSTING IT ONLY FOR THE PURPOSES OF GETTING ASSISTANCE. IT IS NOT TO BE * COPIED OR REUSED. * THANKS FOR UNDERSTANDING. **************************************************************...
by lmheimendinger
Mon Dec 05, 2016 3:52 pm
 
Forum: FiveWin for CA-Clipper
Topic: multiple defintions, forst defined here
Replies: 15
Views: 20251

FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )

... // Last error in the selected language cSqlInfo // Last sql execution informatuon in selected language lOpen // If connection is open or not. ReadWrite: lLog DEFAULT .f. // If .t. all sql statements and results are logged to <exename>.log Cargo // read-write by user METHODS: Connect() ...
by nageswaragunupudi
Fri Jul 01, 2016 9:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )
Replies: 76
Views: 28419

Re: FindWindow in a server

If I open exe in this way it works
FOPEN( "cic_spi.exe" , FO_READWRITE )

in this way not
FOPEN( "cic_spi.exe" , FO_EXCLUSIVE )

because I can open exe even if it is already running

Best regards
Marco
by MarcoBoschi
Mon Feb 09, 2015 12:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FindWindow in a server
Replies: 9
Views: 1201

Re: create an arra from txt file

FOpen() Opens a file on the operating system level. Syntax FOpen( <cFileName>, [<nMode>]) --> nFileHandle Arguments <cFilename> This is a character string holding the name of the file to open. It must include path and file extension. If the path is omitted from <cFileName>...
by sambomb
Tue Jan 27, 2015 1:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create an arra from txt file
Replies: 7
Views: 2441

Re: TDbf PRO disponible...

... que hace el trabajo, y varios accesorios. TQuery - Clase para gestionar las consultas - ReadOnly TModel - Similar a tu propuesta de TTable. ReadWrite. Hace las veces de TDBF: es un buffer de edición, sabe hacer un BLANK para editar un nuevo registro, etc. Con estas 3 clases vengo haciendo ...
by Carlos Mora
Thu Sep 11, 2014 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TDbf PRO disponible...
Replies: 69
Views: 17204

Re: BACKUP/RESTORE DATABASE MYSQL CON TDOLPHIN

Jose Luis, yo hago el mysqldump por medio de un .bat cFile := "backup.bat" lEsc := .f. FErase( cFile ) if ! FILE( cFile ) nHand := FCreate( cFile ) FWrite(nHand, cComando ) FClose(nHand) // Respaldo Antes de la Auditoria, Nombre del DUMP cFileBackup := 'respaldo_' + DTOS(Date()) + '_' + Ti...
by Francisco Horta
Mon Aug 25, 2014 9:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BACKUP/RESTORE DATABASE MYSQL CON TDOLPHIN
Replies: 6
Views: 1490

Re: Fichero de texto creado queda oculto

Estas usando FO_READWRITE + FO_EXCUSIVE que son parametros del fOpen para identificar el modo de apertura. En teoria si cambias el fCreate actual por algo parecido a esto, deberia crearte un fichero normal. local nHandle := fcreate( cFile, FC_NORMAL )  FC_NORMAL 0 Normal Creates a normal rea...
by Biel EA6DD
Tue Feb 11, 2014 7:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fichero de texto creado queda oculto
Replies: 1
Views: 527

Re: Fivedroid on Qt

... http://i1176.photobucket.com/albums/x332/CyberDevilz/Android/zMdd6jo4V1JwDGZM3ozwvlccrytf1V2Otvk.jpg http://readwrite.com/files/files/files/hack/images/android-code-editor_screenshot_0611.jpg https://lh6.ggpht.com/PkuLClxM7J6JKrhODvBA3c_sjiguA7DmMfI2jrfdKVBZ56Aev3DvgFAQWudmVAqiWQ ...
by Antonio Mart.
Fri Jun 21, 2013 3:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivedroid on Qt
Replies: 135
Views: 37154

Re: Porting from Fwh to Mac

... Newegg’s SVP of product management told ReadWrite that Windows 8 sales “did not explode,” though he noted that they’re slowly improving. Meanwhile, manufacturers like Asus and Fujitsu have ...
by Antonio Linares
Wed Jan 09, 2013 5:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Porting from Fwh to Mac
Replies: 58
Views: 11799

Re: ¿ Serial del Board

... // -------------------------- * * && NDOSNUME := FCREATE ( 'info_system.txt', 1 ) && FO_READ := 0, FO_WRITE := 1, READWRITE := 2 FWRITE ( NDOSNUME, sMensaje ) FCLOSE ( NDOSNUME ) MsgInfo ( sMensaje, "Información Hard" ) Return ( NIL ) * JOHNSON RUSSI /* ...
by J. Ernesto
Tue Nov 06, 2012 7:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿ Serial del Board Solucionado
Replies: 7
Views: 3617

Re: programa colgado en memoria

He utilizado esta function desde hace tiempo, y hasta el momento no he tenido problemas. //-------------------------------- Function CrlProceso(cCadena) local cFile := (cPathDef)+"\Bitaco.txt", nHand local cCad:=Dtoc(date())+" "+time()+": "+cCadena local FO_READWRITE:=2...
by FranciscoA
Sun Feb 19, 2012 4:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: programa colgado en memoria
Replies: 16
Views: 5527
Next

Return to advanced search