Silvio,
for printing, did you try shellexecute?
Shellexecute(nil, "print", cFile)
With cFile as the path and file to your document.
But I guess it would open the associated program for printing.
Search found 274 matches
- Thu Aug 03, 2017 7:29 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: a small utility
- Replies: 3
- Views: 917
- Fri Jul 28, 2017 7:25 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Simple conversion with array gives me problems
- Replies: 6
- Views: 843
Re: Simple conversion with array gives me problems
Mr. Rao, Marc with that code I get an error message: Error description: Error BASE/1005 Class: 'NIL' has no property: CARGO in the line oItem:Cargo := aTrainingen[ i, 2 ] but this seems to be working: MENU oPop POPUP 2007 for i = 1 to len(aTrainingen) MENUITEM aTrainingen[i,1] ...
- Thu Jul 27, 2017 12:51 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Creating an XML file
- Replies: 9
- Views: 1621
Re: Creating an XML file
If you have an (x)harbour object from class TXml, say oXml, you can make a string by calling: oXml:ToString( nStyle ) works too, if you don't pass a parameter for style. The source of the class is in \source\rtl\txml.prg, if you've downloaded (x)harbour source code. There even is a Method Write, whi...
- Tue Jul 25, 2017 11:14 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Possible to run 2 or 3 browser synchronously ?
- Replies: 10
- Views: 2186
Re: Possible to run 2 browser synchronously ?
Uwe, sorry, I neglected one of your parameters from the example, this works with me (forgot the .t.): oBrw1:OnKeyDown := {|| oBrw1:SelectCol(oBrw2:SelectedCol():nCreationOrder, .t.), oBrw1:Refresh()} oBrw2:OnKeyDown := {|| oBrw2:SelectCol(oBrw1:SelectedCol():nCreationOrder, .t.), oBrw2:Refresh()} Bu...
- Tue Jul 25, 2017 6:50 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Resource leak in menus
- Replies: 27
- Views: 4446
Re: Resource leak in menus
James,
thanks for the explanation, now I found it!
thanks for the explanation, now I found it!
- Mon Jul 24, 2017 8:52 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Resource leak in menus
- Replies: 27
- Views: 4446
Re: Resource leak in menus
James, Antonio,
how does the GDI count work? Ist it part of spy++ (spyxx.exe)?
how does the GDI count work? Ist it part of spy++ (spyxx.exe)?
- Mon Jul 24, 2017 8:40 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Bloated EXEs (reprise)
- Replies: 33
- Views: 4526
Re: Bloated EXEs (reprise)
Enrico, just had a quick look into errsysw.prg and found this comment in it: // Note: automatically executes at startup proc ErrorSys() ErrorBlock( { | e | ErrorDialog( e ) } ) return So I assume as it executes automatically at startup and it is fivehx.lib which contains ErrorSys(), it will au...
- Mon Jul 24, 2017 6:54 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Possible to run 2 or 3 browser synchronously ?
- Replies: 10
- Views: 2186
Re: Possible to run 2 browser synchronously ?
Uwe, this is a bit tricky, but this might work: oBrw1:bChange := {|| oBrw2:PostMsg( WM_KEYDOWN )} oBrw2:bChange := {|| oBrw1:PostMsg( WM_KEYDOWN )} oBrw1:lColChangeNotify := .t. oBrw2:lColChangeNotify := .t. oBrw1:OnKeyDown := {|| oBrw1:SelectCol(oBrw2:SelectedCol():nCreationOrde...
- Mon Jul 24, 2017 1:43 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Bloated EXEs (reprise)
- Replies: 33
- Views: 4526
Re: Bloated EXEs (reprise)
Antonio,
did you mean by "FWH libs replace Harbour errorsys", that the FWH owned errorsys is linked automatically and the size of the .exe can be explained by this?
did you mean by "FWH libs replace Harbour errorsys", that the FWH owned errorsys is linked automatically and the size of the .exe can be explained by this?
- Sun Jul 23, 2017 5:31 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Bloated EXEs (reprise)
- Replies: 33
- Views: 4526
Re: Bloated EXEs (reprise)
Enrico, sorry, I assumed the key fwh libs were a kind of a framework which always would be linked, because this these libs at least for some years now make the exe bigger. (At least from fwh1202 I can confirm with a test I made today: 839kb vs. 1772kb. The file size with actual fivewin/xharbour is s...
- Sat Jul 22, 2017 7:02 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Bloated EXEs (reprise)
- Replies: 33
- Views: 4526
Re: Bloated EXEs (reprise)
It definitely are the fwh-libs. If I comment these file out of the samples buildx.bat, my .exe is 831kb, with these libs it is 3404kb. The commented lines are: echo %fwh%\lib\Fivehx.lib %fwh%\lib\FiveHC.lib %fwh%\lib\libmysql.lib + >> b32.bc echo %fwh%\lib\pgsql.lib %hdir%\lib\libpq.lib + >> b32.bc ...
- Sat Jul 22, 2017 5:52 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Bloated EXEs (reprise)
- Replies: 33
- Views: 4526
Re: Bloated EXEs (reprise)
Which libs do you have included? I think the libraries full of functionality make the .exe bigger
- Wed Jul 19, 2017 9:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: ERROR ON RPREVIEW
- Replies: 25
- Views: 3873
Re: ERROR ON RPREVIEW
I tried with FHW1706 and BCC7 + xHarbour (1.2.3.10172, 18.12.2016), no error. I also tried with FWH1706 and MSVC2017 + harbour (20170325), no error too!
- Wed Jul 19, 2017 9:41 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: ERROR ON RPREVIEW
- Replies: 25
- Views: 3873
Re: ERROR ON RPREVIEW
Antonio, Silvio, some variable defitinions obviously come from outside but are just being used for titles. I quickly made a sample, a Bilancio is just a small array now! #include "FiveWin.ch" #include "report.ch" static oWnd //-----------------------------------------------------...
- Mon Jul 17, 2017 7:37 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Need explanation: FWH XML example
- Replies: 3
- Views: 920
Re: Need explanation: FWH XML example
Tim, you may download the harbour source at: https://sourceforge.net/projects/harbour-project/files/source/3.0.0/ Included is a file \harbour-3.0.0\contrib\xhb\txml.prg which provides full source code for the classes TXMLNode and TXMLIterator (and some more). There you can find all methods and prope...