473,770 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RTF2-Control, avoid pasting Excel-Data

1 New Member
Hi,

in an Access 2003 Application I'm using S. Leban's RTF2-Control. The data are stored in a linked Oracle-Table (varchar2(4000) ). If text is used everything is working well.

Now on user copied some Excel-Cells, pasted it in the RTF2 Control, and saved it in the Tabel. When I want to read this row into a ADO recordset the VBA Code doesn't go on. Access has to be canceled.

Now my Question:
How can I avoid to paste such Data (e.g. Excel-Data etc.) into an RFT2-Control.

(please applogize my english).
Kind Regards
Bernd
Jul 6 '08 #1
0 1054

Sign in to post your reply or Sign up for a free account.

Similar topics

3
1965
by: NB | last post by:
Hi, Is it possible to set the default font size and name, etc for the Leban's Rich Text box. I am using the latest version 1.5 but the following code does not work (but also produces no errors.) Dim x As RTF2 Dim fnt As New StdFont Set x = Me!rchtxtCalendar.Object With fnt
2
2476
by: engine996 | last post by:
I have notice one problem with it. 1) the aligment tools are not working (toolbar) maybe it's because i use the Canadien French version of Access ? Therefore the context menu is working very well.
11
4760
by: D Perron | last post by:
I am using the RTF2 activeX control from Stephen Leban's website and it works really well when there is one memo field. However, I cannot get it to work with multiple memo fields (I have 4). I saw the code for multiple memo fields and am trying to use it but not having any luck. My RTF controls on the form just show "RTF2 Control Design View Window". Any help would be appreciated.
4
2529
by: Damon Reissman | last post by:
Hello, I'm trying to use Stephen Leban's RTF2 ActiveX control in an access database with unicode data. In VB, I pass the text value directly from the text box control in a form to the rtf2 control. rttextbox.plaintext = forms!form1.textbox When I step through the debugger, the value getting passed for unicode characters are ?.
6
1158
by: iwdu15 | last post by:
hi, im working on a project that involves sending rich text over a netowkr stream to show all the formatting and colors etc on the other side of the program. i tried reading the .rtf of a richtextbox and sending that but then cant add mroe text to the richtext box, atleast using the method i do Dim bytes() As Byte = CType(ar.AsyncState, Byte()) Dim recv As String = ASCII.GetString(bytes, 0, numbytes) Me.rtbreceivedtext.Rtf += recv &...
1
1997
by: Jako | last post by:
Hi guys... Well once again I'm in a dilemma. Currently I have a RTF2 object in Access that is linked to a memo field in a table, the reason for this is so that I can have bullets and numbers in the field. The problem is however that the memo field has pritty much all the ActiveX coding in it to make the RTF2 field appear the way we assigned it. Now the main idea was to reference the content of the RTF2 field the way it appears in the...
9
2124
by: christianlott1 | last post by:
How can I make sure that the page doesn't cut off the rest of my line or image? Right now it prints an image toward the bottom of the page and cuts that image in half and places the rest of it on the next page. Then I modified the document to place the image higher. Now it takes the text from the last line of the first page (shown correctly and fully on the previous page) and shows the bottom half of that sentence on the next page.
1
3298
by: replyrpatil | last post by:
What I am trying to do: I need to print a compact access report (font 6 size) created using RTF2 program developed by Stephen Lebans to generate a TIF image of custom size (5.5 in x 2.0 in) Problem Recreation : Download attached RAR file (http://download.yousendit.com/627919383AFAA7E3 ) Steps 1) Install RTF2 program created by Lebans 2) Install ZAN Image Printer (Virtual Printer) 3) Create Custom Paper Size ----...
6
3926
by: geegeegeegee | last post by:
Hi All, I have come across a difficult problem to do with extracting UniCode characters from RTF strings. A detailed description of my problem is below, if anyone could help, it would be much appreciated. I've tried to make the problem as clear as possible, but if any clarification is needed please let me know. Task -Convert RTF2 formatted text containing foreign characters (UniCode) to PlainText. Background -We are using Stephan...
1
3438
by: Arno R | last post by:
Hi all, I am using the RTF2 control hat Stephen Lebans provides in one of my apps. I am struggling with the issue how to check if the OCX is installed (properly) ==I am distributing an mde. When the OCX is not installed the app just errors in a way that is very unclear to some users. (The expression on open...bla bla) I can't find a way to trap this error, display a messagebox and quit the app.
0
9439
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10237
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7431
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5326
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3987
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2832
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.