Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with merge two RTF
Message
 
 
To
11/06/2008 00:49:44
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01322805
Message ID:
01323045
Views:
21
This message has been marked as the solution to the initial question of the thread.
The author's web site is at http://www.dbrad32.narod.ru/eng/dbe.htm
************* Common header cHead0 linking ************

*** Fonts definition
cHead=cHPart1+"{\fonttbl"
FOR ni=1 TO ArrLen(@aFont0)
	cBuf=aFont0[ni]
        *#################################################
	* ADD LINE BELOW *
	cHead=cHead+"{\f"+ALLTRIM(STR(ni-1))+"\"+cBuf
        *#################################################
>When i test this useful function, i get an error, but if i ignor it, the result is correct!
>Can you see this please?
>unfortunatly his website address is rong.

>cText1 = "{\rtf1\fbidis\ansi\ansicpg1256\deff0\deflang1025{\fonttbl{\f0\fnil\fcharset0 Arial;}}\viewkind4\uc1\pard\ltrpar\qc\fs32 First Line\par }"
>cText2 = "{\rtf1\fbidis\ansi\ansicpg1256\deff0\deflang1025{\fonttbl{\f0\fnil\fcharset0 Arial;}}\viewkind4\uc1\pard\ltrpar\fs18 Second Line\par }"
>Landscape = .F.
>nPage = 0
>
>= STRTOFILE(JoinRTF(cText1,cText2,Landscape,nPage),"C:\new.rtf")
>
>RETURN

<snip>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform