[Openroad-users] Richtextbox

Chris Wallace chrisw at miswa.com.au
Tue Sep 4 17:19:55 EST 2007


Hervé,

 

Microsoft Common Dialog Control 6.0

Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.0#0; COMDLG32.OCX

 

???

Object={3B7C8863-D78F-101B-B9B5-04021C009402}#1.0#0; RICHTX32.OCX

 

 

Regards

Chris Wallace
Management Information Systems (WA) Pty Ltd
Level 9, MIS House
231 Adelaide Terrace, PERTH  WA  6000
Ph: (08) 9221-9221  Fax: (08) 9221-9224
Email: chrisw at miswa.com.au
Web: http://www.miswa.com.au

Disclaimer <http://www.miswa.com.audisclaimer/> :  Management Information Systems (MIS)
This e-mail is private and confidential. If you are not the intended recipient, please advise us by return e-mail immediately, and delete the e-mail and any attachments without using or disclosing the contents in any way. The views expressed in this e-mail are those of the author, and do not represent those of MIS unless this is clearly indicated.  You should scan this e-mail and any attachments for viruses.  MIS accepts no liability for any direct or indirect damage or loss resulting from the use of any attachments to this e-mail.

________________________________

From: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Christian Birkl
Sent: Tuesday, 4 September 2007 14:38
To: Hervé Leclerc
Cc: International OpenROAD Users
Subject: Re: [Openroad-users] Richtextbox

 

Merci beaucoup, Hervé!

I imported the application and learned a lot from the code, e.g. how to display a file stored in the database without having to save it in a temporary file first.

Unfortunately I cannot start the application. Something's wrong with the external class x_commdialogs.

*	When I open the class, its Typelib is empty. I cannot see in the list of TypeLibs which would be the right value to select
*	When I open the frame, the trace window reads: 
	Fetching RTFFiles from database . . . ** Warning **  Class 'x_commdialogs!commondia
	log' is unknown; file may be corrupt, truncated, or newer than executable.
	               The object will be ignored, but results are unpredictable.
	done.
	This is probably an error due to the above.
*	Cannot compile the frame:
	    commdlgs.FileName = 'New.rtf';
	                      ^
	%% Error at line 141
	E_W40013 Badly formed statement within 4GL compiler.  A value was expected
	    to be acted on by 'dot operator, no struct_type' while compiling line
	    number '141'.  Please report this problem to your technical
	    representative.
	Again, owed to the first, I suppose
*	When I try to insert a new field from external object, only richtextbox is offered.
*	A RightClick on the field commdlgs followed by a click on ObjectProperties shuts the Workbench
	(w4gldev.exe exiting).
	w4gl.log then contains the lines:
	E_PW0005 Can't create variable for commdlgs.
	    A variable couldn't be declared for the extobjfield commdlgs.  A
	    subsequent error should give more information about why it couldn't be
	    created.
	
	E_SY0001 Type unknown or typename too long
	    The name given for a datatype is not a known class name, and is too long
	    to be the name of a simple type.

So, what type should I assign to the External Calss Object x_commdlgs?
Its TypeLib ID is: {F9043C88-F6F2-101A-A3C9-08002B2F49FB}
(if this helps)
I'm running Windows 2000.

Thanks to everybody!

Chris.

Hervé Leclerc wrote: 

Hi,
Here the naiua archive
regards,

Hervé

Christian Birkl a écrit : 

Hello,

does anybody know where I can find a documentation on using Rich Text Boxes in OpenROAD frames?
So far I have created an external class of type Microsoft Rich Textbox Control 6.0 and an entryField of type Richtextbox.
I managed to display a file, to save its contents as .rtf file and to find a certain text block within the contents.

Additionally I need to

*	append two files, i.e. display 2 or more files within the one textbox as preview
*	perform a search-and-replace within its contents

If this cannot be done I'll probably have to use winword macros to open, append and edit the files.

The application has to be developped withion OpenROAD 4.0.

Bonus question: Even though I set my richtextbox's bias to FB_LANDABLE you can edit its contents. Any idea?

There should be an example how to use rich text files on www.naiua.org/openroad/utilities.htm#utilities011, but I cannot extract the download file.
Winzip complains about 42 bytes missing ...
Does somebody have a copy of this?

Thanks to everybody in advance,

cheers, 

Chris.

-- 

Mit freundlichen Grüßen / With kind regards
Christian Birkl
Software Engineering 

GAMED Gesellschaft für Angewandte
Mathematik und EDV mbH
Austria       8053 Graz, Harter Straße 48
Phone:       +43 (0) 316  27 86 60 - 18
Telefax:     +43 (0) 316  27 86 60 - 10
E-Mail:       Christian.Birkl at gamed.com
Internet:    www.gamed.com
Firmenbuchnummer: FN 50094v
Firmenbuchgericht:   Handelsgericht Graz 

This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system. Thank you for your cooperation.




________________________________



 
________________________________________________________________
OpenROAD-Users mailing list
 
You can maintain your subscription here:
http://www.peerlessit.com/mailman/listinfo/openroad-users
 
To unsubscribe click on this link
mailto:openroad-users-unsubscribe at peerlessit.com&subject=unsubscribe
 
To subscribe click on this link
mailto:openroad-users-subscribe at peerlessit.com&subject=subscribe 



________________________________



 
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.484 / Virus Database: 269.13.2/985 - Release Date: 02/09/2007 16:32
  

 

-- 

Hervé Leclerc
Téléphone   : +33 1 41 38 68 09
Support     : bugtrack.eclips-software.com
Informations: www.eclips-software.com
Adresse     : 17, rue Louise Michel
              92300 Levallois Perret
              France

ecl ip's

Alter Way GROUP

 

 

-- 

Mit freundlichen Grüßen / With kind regards
Christian Birkl
Software Engineering 

GAMED Gesellschaft für Angewandte
Mathematik und EDV mbH
Austria       8053 Graz, Harter Straße 48
Phone:       +43 (0) 316  27 86 60 - 18
Telefax:     +43 (0) 316  27 86 60 - 10
E-Mail:       Christian.Birkl at gamed.com
Internet:    www.gamed.com
Firmenbuchnummer: FN 50094v
Firmenbuchgericht:   Handelsgericht Graz 

This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system. Thank you for your cooperation.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20070904/9e753853/attachment.html 


More information about the Openroad-users mailing list