WORDPAD

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
dreptus
Posts: 7
Joined: Tue Jun 14, 2011 12:06 pm
DBs Used: DBF,PostgreSQL,MySQL

WORDPAD

Post by dreptus »

Hallo Everybody !!!
Hola Todos !!!

I'm new member yoopee !!!

I'd like to create report using wordpad sending data (value) from editbox to rtffile
It is posible to do this ?
I'm looking for (HB) function or class.

Regards
Saludos
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: WORDPAD

Post by danielmaximiliano »

Hi Rafal :

I think you need to use System.Clipboard and System.Clipboard := <cString>
OBJECT SYSTEM Give Access To Operating System Properties

look at file:///C:/hmg/doc/data/index.htm
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
brunellopulix
Posts: 80
Joined: Sat Apr 24, 2010 10:17 am

Re: WORDPAD

Post by brunellopulix »

Hi dreptus

Wordpad is not the best solution because it allows the creation of tables and orientation of the page is given by setting the default printer.
Try to look at my post
viewtopic.php?f=15&t=1365

brunello
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

Re: WORDPAD

Post by Czarny_Pijar »

dreptus wrote:I'm looking for (HB) function or class.
It's hard to imagine the existence of such function, because of the plethora of the national settings in the structure of the Wordpad's RTF-files.
The valuable hints (by Esgici) in this matters you can find here:

http://hmgforum.com/viewtopic.php?f=5&t=1508

You have to modify the header of the file of course, unless you intend to write, like Esgici, in the turkish language. ;)
dreptus
Posts: 7
Joined: Tue Jun 14, 2011 12:06 pm
DBs Used: DBF,PostgreSQL,MySQL

Re: WORDPAD

Post by dreptus »

Hola Todos !!

Thanks everyone for answers.
For the first I have a basic problem to run Wordpad via ActiveX.
PROGID "WordPad.Document.1" does not work on my OS XP.

Why???

Saludos
fugazi
Posts: 23
Joined: Thu Jun 16, 2011 10:58 am

Re: WORDPAD

Post by fugazi »

I try like this but it is not working properly. Wisual Studio 2008 declines cooperation.

DEFINE WINDOW EditRtf;
AT 0,0 ;
WIDTH 800 ;
HEIGHT 500 ;
TITLE 'HMG ActiveX WordPad' ;
MODAL

DEFINE ACTIVEX WordPadActiveX
ROW 10
COL 50
WIDTH 700
HEIGHT 400
PROGID "WordPad.Document.1"
END ACTIVEX
END WINDOW
Post Reply