Search found 352 matches

by ADutheil
Wed Jan 30, 2019 11:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: founding a percentage - Resolved !!!
Replies: 5
Views: 648

Re: founding a percentage

You discount isn't based on fixed %. Look: 1 -> 13/15 = 0,866% 2 -> 25/30 = 0,833% 3 -> 40/45 = 0,888% 4 -> 50/60 = 0,833% 5 -> 60/75 = 0,800% if you want to calculate the final amount based on the quantity of products according to the picture you sent, you should do something like this: FUNCTION Fi...
by ADutheil
Sun Jun 17, 2018 1:47 pm
Forum: FiveWin for Harbour/xHarbour
Topic: List of sheets in a excel-file
Replies: 2
Views: 403

Re: List of sheets in a excel-file

You can try something like this:

FOR nI := 1 TO oExcel:sheets():Count

do_whatever_you_want( oExcel:Worksheets( nI ):name )

NEXT
by ADutheil
Wed Nov 08, 2017 1:09 am
Forum: FiveWin for Harbour/xHarbour
Topic: Get real date from the Internet
Replies: 2
Views: 730

Re: Get real date from the Internet

I do it by running the following command: w32tm /stripchart /samples:1 /computer:0.pool.ntp.org /dataonly
by ADutheil
Wed Oct 11, 2017 12:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: task manager
Replies: 6
Views: 1007

Re: task manager

You could run this command: tasklist /v /fi "STATUS eq running"
by ADutheil
Thu Jul 06, 2017 1:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: SOLVED - Per mille symbol
Replies: 5
Views: 915

Re: SOLVED - Per mille symbol

Might not be the best way but it works.

Code: Select all

HB_SETCODEPAGE( "UTF8EX" )
oSheet:Cells( nK, 2 ):value := HB_UTF8ToStr( "‰" )
HB_SETCODEPAGE( "PTISO" )
 
by ADutheil
Thu Jul 06, 2017 11:32 am
Forum: FiveWin for Harbour/xHarbour
Topic: SOLVED - Per mille symbol
Replies: 5
Views: 915

Re: Per mille symbol

The problem is connected to codepage. When I comment HB_SETCODEPAGE( "PTISO" ) at the beginning of my program a character shows up in the cell but it's still not the per mille symbol and the rest of the cells loose all their accents.
by ADutheil
Wed Jul 05, 2017 11:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: SOLVED - Per mille symbol
Replies: 5
Views: 915

Re: Per mille symbol

I'm using Calibri, but I don't think it's a font problem because I can paste the symbol once the table is ready.
by ADutheil
Wed Jul 05, 2017 7:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: SOLVED - Per mille symbol
Replies: 5
Views: 915

SOLVED - Per mille symbol

To all

I am trying to use the per mille symbol in an Excel cell but it does not work. My code is:

Code: Select all

oSheet:Cells( nK, 2 ):value := "‰"
But the cell appears blank. What is the correct way to achieve this?

Thanks
by ADutheil
Sat Apr 01, 2017 8:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Quien me ayuda...Adquirir datos de respuesta de una web
Replies: 11
Views: 2470

Re: Quien me ayuda...Adquirir datos de respuesta de una web

What is the purpose of these lines?
softruz wrote: while upper(alltrim(cTextoHTML))==alltrim(upper(oIE:Document:body:innerHTML()))
SysRefresh()
end while
return
I'd add oIE:quit() after cTextoHTML:=oIE:Document:body:innerHTML() to free memory and avoid leaving hidden IE instances.
by ADutheil
Sun Mar 05, 2017 11:23 am
Forum: FiveWin for Harbour/xHarbour
Topic: shellexecute return code
Replies: 2
Views: 489

Re: shellexecute return code

Thanks.
by ADutheil
Fri Mar 03, 2017 9:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: shellexecute return code
Replies: 2
Views: 489

shellexecute return code

Hi everybody,

I'd like to know the meaning of a 42 return code. W100 64 bits

Thanks
by ADutheil
Mon Jan 16, 2017 1:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: transform records into dbf
Replies: 7
Views: 2156

Re: transform records into dbf

Marc Venken wrote:Where is the right location of finding ALL RECENT functions of FW?
Have a look at: https://harbour.github.io/doc/
by ADutheil
Wed Jan 11, 2017 9:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: MDI child window style
Replies: 2
Views: 1429

Re: MDI child window style

Muchas gracias.
by ADutheil
Wed Jan 11, 2017 4:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: MDI child window style
Replies: 2
Views: 1429

MDI child window style

Hi,

I'd like to know the way to have a child MDI window inherit the main window style.

Image
by ADutheil
Tue Nov 01, 2016 3:53 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?

Here it is: /* * libcurl 'easy' API - Harbour header. * * Copyright 2008 Viktor Szakats (vszakats.net/harbour) * originally based on: * Copyright 2005 Luiz Rafael Culik Guimaraes <luiz at xharbour.com.br> * * This program is free software; you can redistribute it and/or modify * it under the terms o...