Search found 14 matches: startdoc

Return to advanced search

Re: Calculate total pages

... := PrintBegin( "Rechnung" + cUniqueID,    , .F. , Setup():PDFPrinter,  .F.    , .F. )  StartDoc(oDevice:hDC, oDevice:cDocument )   StartPage( oDevice:hDC )     hMeta := GetEnhMetaFile(aFiles[nFor])PlayEnhMetaFile( ...
by Otto
Fri Nov 24, 2023 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5508

ODDE OLE with WORD

How to transpose this from DDE to OLE syntax :

odde:execute('[EditBookmark .Name="STARTDOC",.GoTo ]')

ww:="A text"
odde:execute('[Insert "&ww" ]')
odde:execute('[NextCell() ]')

The purpose is to migrate form DDE -> OLE with Word

Thanks
by Jack
Wed Jun 19, 2019 2:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ODDE OLE with WORD
Replies: 2
Views: 636

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6287

Re: multiple defintions, forst defined here

I changed the folder I was using to start hbmk2 to where the source code sits, and now am getting undefined instead of duplicates This is due, I guess, to not pulling in the correct library(ies). I added trace to see what was going on (thanks for that tip). Does this and the console listing below he...
by lmheimendinger
Mon Dec 05, 2016 11:37 pm
 
Forum: FiveWin for CA-Clipper
Topic: multiple defintions, forst defined here
Replies: 15
Views: 19778

Rpreview.prg

... oDevice:hDC      oDevice:hDC = PrinterDcFromName( , oDevice:cModel, )      //? oDevice:hDC  StartDoc( oDevice:hDC, oDevice:cDocument )
by Otto
Mon Jan 05, 2015 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview.prg
Replies: 7
Views: 1284

Re: Pritpal, HBIDE developer, assists us to use it with FWH

... line 192: #include C:\Harbour_dev\BCC\Include\wingdi.h Warning W8017 C:\Harbour_dev\BCC\Include\wingdi.h 288: Redefinition of 'STARTDOC' is not identical + Full parser context + C:\fwh\source\winapi\printdc.c, line 6: #include C:\Harbour_dev\BCC\Include\Windows.h + C:\Harbour_dev\BCC\Include\Windows.h, ...
by Pritpal Bedi
Mon Jun 07, 2010 11:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pritpal, HBIDE developer, assists us to use it with FWH
Replies: 293
Views: 97063

Re: preview alpha 2

... nPageEnd ) CLASS TPreview local oDevice := ::oDevice // DEVICE local aFiles := oDevice:aMeta local hMeta := ::oMeta1:hMeta local nFor CursorWait() StartDoc( oDevice:hDC, oDevice:cDocument ) do case case nOption == 1 // All for nFor := 1 to Len( aFiles ) #ifdef __CLIPPER__ StartPage( oDevice:hDC ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2030

Re: GetPrintDC()

... nOption, nPageIni, nPageEnd) local oDevice := DEVICE local aFiles := oDevice:aMeta local hMeta := oMeta1:hMeta local nFor CursorWait() StartDoc(oDevice:hDC, oDevice:cDocument ) DO case case nOption == 1 // All FOR nFor := 1 TO len(aFiles) #ifdef __CLIPPER__ StartPage(oDevice:hDC) hMeta ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2704

... error: Macro redefinition of 'ResetDC'. D:\COMPILER\xHB\c_include\win\wingdi.h(3870): error: Macro redefinition of 'StartDoc'. D:\COMPILER\xHB\c_include\win\wingdi.h(3871): error: Macro redefinition of 'GetObject'. D:\COMPILER\xHB\c_include\win\wingdi.h(3872): error: ...
by hterce
Wed Sep 03, 2008 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Source code for Tree32.lib
Replies: 13
Views: 3307

... nOption, nPageIni, nPageEnd) local oDevice := DEVICE local aFiles := oDevice:aMeta local hMeta := oMeta1:hMeta local nFor CursorWait() StartDoc(oDevice:hDC, oDevice:cDocument ) DO case case nOption == 1 // All FOR nFor := 1 TO len(aFiles) #ifdef __CLIPPER__ StartPage(oDevice:hDC) hMeta ...
by Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3361

... LOCAL lSetFixed LOCAL aDirTMP := {} If ::hDC = 0 Return NIL endif lSetFixed := Set(_SET_FIXED,.F.) if !::lMeta .AND. !::lStarted ::lStarted := .T. StartDoc( ::hDC, ::cDocument ) endif ::nPage++ if ::lMeta aDirTMP := directory(::cDir+"\*.wmf", "D") AAdd(::aMeta,::cDir+"\T"+ALLTRIM(STR(len(aDirTMP)+1))+Padl(::nPage,4,"0")+".wmf") ...
by Otto
Mon Mar 12, 2007 6:15 pm
 
Forum: FiveWin for CA-Clipper
Topic: PREVIEW PROBLEM
Replies: 5
Views: 2170

PRINTER CLASS

... LOCAL lSetFixed LOCAL aDirTMP := {} If ::hDC = 0 Return NIL endif lSetFixed := Set(_SET_FIXED,.F.) if !::lMeta .AND. !::lStarted ::lStarted := .T. StartDoc( ::hDC, ::cDocument ) endif ::nPage++ aDirTMP := directory(::cDir+"\*.wmf", "D") if ::lMeta AAdd(::aMeta,::cDir+"\T"+ALLTRIM(STR(len(aDirTMP)+1))+Padl(::nPage,4,"0")+".wmf") ...
by Otto
Sat Jan 06, 2007 3:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PRINTER CLASS
Replies: 3
Views: 911

... that should be used to paint the control background. See Also CommDlgExtendedError, CreateDC, DOCINFO, PRINTDLG, PrintHookProc, SetupHookProc, StartDoc, WM_CTLCOLORDLG In FW, PrinterSetup() should return the handle of the device context if successfull: _retnl( ( LONG ) ( PrintDlg( &pd ) ...
by Antonio Linares
Thu Nov 30, 2006 5:11 pm
 
Forum: FiveWin for CA-Clipper
Topic: PrinterSetup()
Replies: 9
Views: 4630

... local lSetFixed,i,cWmfFileName if ::hDC == 0 return nil endif lSetFixed := Set( _SET_FIXED, .F. ) if !::lMeta .and. ! ::lStarted ::lStarted := .T. StartDoc( ::hDC, ::cDocument ) endif ::nPage++ if ::lMeta for i:=1 to 9999 cWmfFileName:=::cDir + "\tmp" + PadL( i, 4, "0" ) + ".wmf" if .not. file(cWmfFileName) ...
by Marco Turco
Fri Feb 10, 2006 10:31 pm
 
Forum: All products support
Topic: Ripetizione stampa con Harbour
Replies: 15
Views: 6105

Return to advanced search