Search found 352 matches

by ADutheil
Mon Oct 31, 2016 10:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Need CURL syntax with fivewin using HBCURL LIB?
Replies: 5
Views: 2601

Re: Need CURL syntax with fivewin using HBCURL LIB?

You'll have to set the proper parameters. Try something like: LOCAL cUrl curl_global_init() cUrl := curl_easy_init() curl_easy_setopt( cUrl, HB_CURLOPT_UPLOAD ) curl_easy_setopt( cUrl, HB_CURLOPT_USERPWD, "userid:password" ) curl_easy_setopt( cUrl, HB_CURLOPT_UL_FILE_SETUP, "The_File_...
by ADutheil
Mon Oct 31, 2016 12:00 am
Forum: FiveWin for Harbour/xHarbour
Topic: Need CURL syntax with fivewin using HBCURL LIB?
Replies: 5
Views: 2601

Re: Need CURL syntax with fivewin using HBCURL LIB?

I wrote a function that access a website to retrieve information about products. STATIC FUNCTION PesquisaProduto( cIP ) LOCAL hCurl curl_global_init() IF !empty( hCurl := curl_easy_init() ) curl_easy_setopt( hCurl, HB_CURLOPT_HTTPHEADER, {"Content-Type:application/json","X-Cosmos-Toke...
by ADutheil
Tue Sep 09, 2014 9:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: Help with string translation
Replies: 9
Views: 1090

Re: Help with string translation

Portuguese (BR):
Copiar para área de tranferência
by ADutheil
Tue Apr 29, 2014 10:43 am
Forum: FiveWin for Harbour/xHarbour
Topic: Encuesta
Replies: 11
Views: 1469

Re: Encuesta

Voted.

Click the "Ver respostas anteriores" link to see the results.
by ADutheil
Tue Dec 17, 2013 4:28 pm
Forum: FiveWin for Harbour/xHarbour
Topic: What about FWH 13.10 and 13.11?
Replies: 25
Views: 6154

Re: What about FWH 13.10 and 13.11?

What about a nightly build like release + a quarterly stable release?
by ADutheil
Fri Dec 13, 2013 9:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Reliable OS version detecting
Replies: 3
Views: 770

Re: Reliable OS version detecting

I don´t know if its available under Windows Server 2012 but most Windows version I ran had the ver command that returns the current version. It can be redirected to file and easily treated.
by ADutheil
Fri Nov 22, 2013 1:11 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to access FTP read-only?
Replies: 3
Views: 754

Re: How to access FTP read-only?

Did you try this:

Code: Select all

   oFTP              := tIPClientFtp():New( oUrl, file("c:\desenv.sys") )
   oFTP:nConnTimeout := 20000
   oFTP:bUsePasv     := .T.
   oFTP:nAccessMode  := TIP_RO // #define TIP_RO 0

 
by ADutheil
Sat Oct 12, 2013 5:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH, ole, Word and Excel
Replies: 4
Views: 1016

Re: FWH, ole, Word and Excel

Michel, I use a lot of copy and paste with excel. You may want to try to adapt the code oExcel := CREATEOBJECT( "Excel.Application" ) oExcel:WorkBooks:Open( "C:\Where_is_the_file\Name_of_the_file" ) nI := which sheet I want to use (1st, 2nd, 3rd ...) oSheet := oExcel:Sheets( nI )...
by ADutheil
Tue Oct 08, 2013 1:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 52
Views: 15300

Re: Migrating to Harbour

Rao,

I´ve got these in my excel.ch and a lot more. It´s 1555 lines long.

Code: Select all

#define xlMacintosh 1
#define xlWindows 2
#define xlMSDOS 3
 
by ADutheil
Tue Oct 01, 2013 2:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: how to retrieve field names...
Replies: 16
Views: 2768

Re: xBrowse: how to retrieve field names...

Has the command ADD FIELDS TO XBROWSE been introduced after FWH 13.04? I cant find it in my ch files.
by ADutheil
Mon Sep 30, 2013 10:36 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: how to retrieve field names...
Replies: 16
Views: 2768

Re: xBrowse: how to retrieve field names...

I don´t understand what you are trying to do. The fields already are in the array you used to build the browse. Field in column n is aFields[ n ] or am I missing something?
by ADutheil
Mon Sep 30, 2013 12:11 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: how to retrieve field names...
Replies: 16
Views: 2768

Re: xBrowse: how to retrieve field names...

Try this:

Code: Select all

MyArrayOfFields := ArrTranspose( oBrw:oMySql:aStructure )[ 1 ] )
by ADutheil
Thu Sep 26, 2013 1:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: encrypting dbf files
Replies: 67
Views: 14319

Re: encrypting dbf files

Most of the SX functions are documented in the SIX3.NG. It´s a 500kb file. I have it but I´m not sure it´s allowed to publicly share it. If yes I can upload it to my FTP server, if not I can send as email attachment. Just let me know.
by ADutheil
Wed Sep 25, 2013 9:03 pm
Forum: Off Topic / Otros temas
Topic: Google search
Replies: 0
Views: 331

Google search

Google is great but using the right operators makes it even better.

http://www.googleguide.com/advanced_ope ... rence.html
by ADutheil
Sat Sep 21, 2013 2:17 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Nag Screen
Replies: 9
Views: 1575

Re: Nag Screen

Check if U have oMeter:Set( nSecs ) before the WHILE of the CountDown function.