Search found 697 matches: exists

Return to advanced search

Question about wfReadUrl() - SOLVED

Hello, I use this code to check if a website exists or not. FUNCTION wfReadURL(cUrl)   LOCAL cFile  := SUBSTR(cUrl,RAT("/",cUrl)+1)   LOCAL cExist := .F.   LOCAL oUrl,oCli   cUrl := LOWER(cUrl)   BEGIN ...
by driessen
Fri Apr 05, 2024 7:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about wfReadUrl() - SOLVED
Replies: 20
Views: 2781

Re: Question about performance RowSet

... "Washington" }// Edit the array and thenoCn:Upsert( "states", nil, { aRow } ) Mr Rao, this works when there exists any record from select. When the select there no result, insert does not work. I am try this: aRow := oCn:QueryResult( "select field1,field2 ...
by Eroni
Wed Mar 20, 2024 1:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4039

Re: Data exchange between PC and Android device on the same loca

... program prepares all the data for the report and stores the data in a CSV file. PHP program is waiting: while ($x <= 2) { sleep(1); if (file_exists($filename . "csv")) { echo "filename:" . $filename . "csv" . "<br>"; if (file_exists( $filename ...
by Arturo Lopesoria
Fri Feb 23, 2024 11:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Data exchange between PC and Android device on the same loca
Replies: 17
Views: 798

JSON2DBF adapter

... to fill JSON data into a DBF file in the following manner: json2dbf(dbfFile, jsonData, {aFields}) However, perhaps such a function already exists and I am just not aware of it. ----------------------------------------------------------------------------------------------------- It would ...
by Otto
Mon Jan 29, 2024 8:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: JSON2DBF adapter
Replies: 3
Views: 505

Re: erase files

The command ERASE <cfile> is preprocessed as FERASE( <cfile> ). This command or function should work (and it works for me) if the file exists and is not in use and can be deleted. If the ERASE command does not really erase an existing file, there can be a valid reason like the file ...
by nageswaragunupudi
Wed Jan 24, 2024 2:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: erase files - Resolved!!
Replies: 20
Views: 1544

Re: random sentences generator

Dear Otto,

When you call function Generate( <cInitialWord> ) you have to provide an initial word that exists in your sentences,

in your case:

? Generate( "the" )
by Antonio Linares
Fri Dec 01, 2023 3:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 713

Fivewin controls similar to javascript elements

... can bubble up the DOM tree, allowing parent elements to handle events triggered on their children. In Windows programming, a similar concept exists where messages not handled by a control can be passed to the parent window or a default window procedure for handling. Subclassing Controls: ...
by Otto
Tue Nov 21, 2023 7:33 am
 
Forum: mod_harbour
Topic: Fivewin controls similar to javascript elements
Replies: 2
Views: 1124

Re: Help splitting up a character address string

... to create a table with columns for Street, City, State, and Zip. Here's an example SQL statement for creating a table: ```sql CREATE TABLE IF NOT EXISTS Addresses ( Street VARCHAR(255), City VARCHAR(100), State VARCHAR(50), Zip VARCHAR(20) ); ``` 5. Insert data into the SQL table: Iterate over ...
by frose
Wed Nov 15, 2023 11:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help splitting up a character address string
Replies: 10
Views: 602

Re: cFilePath issue.

... I just availed the opportunity to discuss other options. Their functionality is not exactly like cFilePath One more. Works only of if the file exists: ? FileSysObj():GetFile( cFile ):ParentFolder:Path
by nageswaragunupudi
Wed Nov 01, 2023 8:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cFilePath issue.
Replies: 4
Views: 316

Re: DBF . Commit

... of problems in concurrent file access in current days. If OS (or FS) does not ignore COMMIT request then using it reduces the time when new data exists only in file server buffers and can be lost by server power off event so in some cases it's good to use it. Anyhow it strongly reduce performance ...
by Carles
Mon Oct 23, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2342

Re: Mr. Rao, more about xBrowse

... so this message goes to error handler. There it checks if there is any data of a Column class with that name without trailing "s" If exists then the rest of the logic is simple.
by nageswaragunupudi
Wed Aug 23, 2023 7:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao, more about xBrowse
Replies: 11
Views: 558

BLINK EN CELDA/FILA XBROWSE - Mr RAO / ???

... be very practical to highlight records under some condition, it's an idea that came to me and I know many might need to use it, and if it already exists, some example of how to use it... thanks, regards... :shock:
by joseluisysturiz
Mon Aug 07, 2023 4:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BLINK EN CELDA/FILA XBROWSE - Mr RAO / ???
Replies: 2
Views: 175

Re: Lost connection to MySQL server during query

I had the same problem when I work in the cloud and I solve it with DEFINE TIMER to check each time interval if the connection exists At the beginning of the application I activate it ** oMAE00VAR:tiempo = number of minutes, normally I put it 2 minutes and define it as an external variable ...
by cjcardoza
Sat Aug 05, 2023 3:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Lost connection to MySQL server during query
Replies: 37
Views: 12386

Adding a register key to the Windows register - SOLVED

... "DisableWarningOnIncludeFieldsUpdate"=dword:00000001 How can I check in my application if this key already exists? And in case it doesn't exist, how can I add it in my application? Thank you very much in advance for any help.
by driessen
Mon Jul 10, 2023 10:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Adding a register key to the Windows register - SOLVED
Replies: 17
Views: 698

Re: Copy Directory

... folder with one line of code: oFs:CopyFolder( cSourceFolder\*.*, cDestFolder, lOverWrite ) We need to make sure the destination folder exists and if not create it first. This is a working example: function TestCopyFolder()   local cSrcFolder  := "c:\fwh\bitmaps\"  ...
by nageswaragunupudi
Thu Jul 06, 2023 5:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy Directory
Replies: 11
Views: 495
Next

Return to advanced search