[Openroad-users] Richtextbox

Bodo Bergmann Bodo.Bergmann at ingres.com
Tue Sep 4 19:03:35 EST 2007


The occording ActiveX control libraries are not part of the standard Windows OS,
but were part of a VB (version 4, 5 or 6) distribution.
So you either have to install a software package coming with the according VB components,
or you have to download them (the controls are free to distribute).
 
Here are the controls (and inf files) in cab files for download:
 
http://activex.microsoft.com/controls/vb6/comdlg32.cab <http://activex.microsoft.com/controls/vb6/comdlg32.cab> 
http://activex.microsoft.com/controls/vb6/richtx32.cab
 
Extract the ocx files from the cab into your windows\system32 directory and register them, e.g. using
 
EXPAND comdlg32.cab -F:comdlg32.ocx %SystemRoot%\system32
EXPAND richtx32.cab -F:richtx32.ocx %SystemRoot%\system32
REGSVR32 comdlg32.ocx
REGSVR32 richtx32.ocx
 
They will probably only run with an according VB runtime (if not already installed),
so if you get errors about missing msvbvm60.dll, then check out the Microsoft download pages
(search for "vbrun60sp6.exe", if the following link does not work):
 
http://www.microsoft.com/downloads/details.aspx?FamilyID=7b9ba261-7a9c-43e7-9117-f673077ffb3c&DisplayLang=en <http://www.microsoft.com/downloads/details.aspx?FamilyID=bf9a24f9-b5c5-48f4-8edd-cdf2d29a79d5&DisplayLang=en> 
 
Afterwards you should have external libraries with the same TypeLib IDs mentioned by Chris (though I have minor version 2 rather than 0):
Microsoft Common Dialog Control 6.0 (SP6)
Microsoft Rich Textbox Control 6.0 (SP6)
 
Hope this helps,
Bodo.
 
Bodo Bergmann
Senior Software Engineer
OpenROAD Worldwide Development
Ingres Corp.
 

________________________________

From: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Christian Birkl
Sent: Tuesday, September 04, 2007 9:28 AM
To: International OpenROAD Users
Subject: Re: [Openroad-users] Richtextbox


Thanks, Chris. 
Unfortunately Microsoft Common Dialog Control 6.0 is not listed on my machine.
I hope, this doesn't become one of these never ending stories ...

 

Chris Wallace wrote: 

	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.

	
________________________________


	________________________________________________________________
	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 


-- 

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/07c30956/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 47278 bytes
Desc: moz-screenshot.jpg
Url : http://www.peerlessit.com/pipermail/openroad-users/attachments/20070904/07c30956/attachment-0001.jpe 


More information about the Openroad-users mailing list