473,395 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Problem with Rich Textbox Control

I'm having problems with an implementation of the Microsoft Rich Textbox
Control 6.0 in an Access 2000 database. The form with the controls works
fine except on two computers. On these computers, the form will only open if
the MDB file is in an uncompiled state (implying that that computer has to
be the one to compile it). Otherwise, the form doesn't open, and the user
gets error 2501 ("The OpenForm action was canceled"). Furthermore, once the
form is opened, the rich text controls are read only, while the rest of the
form is read-write.

I've checked the versions of Windows, Access, Jet, etc., on all computers,
and they're all identical. Also, the version of the rich text control
(6.1.97.82) is identical on all computers. Yet this problem only exists on
two computers, and on all others it works fine.

So, are there any other files besides richtx32.ocx that are associated with
the rich textbox control? Maybe those two computers are missing an essential
file or something?

Any ideas are appreciated. Thanks!

Neil
Jul 20 '07 #1
6 3507
"Neil" <no****@nospam.netwrote:
>So, are there any other files besides richtx32.ocx that are associated with
the rich textbox control?
Just guessing. Try registering that OCX on those systems.

An easy way to register a file is to search for both files at one time
(<insert name of your fileREGSVR32.EXE) then drag and drop the
OCX/DLL onto the EXE. As most relevant DLLs and OCXs reside in
c:\<your windows version>\system32 you can try in this directory first
to minimize searching time. If that doesn't find both then go up a
directory level to c:\<your windows version>.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jul 20 '07 #2
Thanks, Tony, I'll try that. I'm just getting the path and name of the
control from the Access References screen. Thanks.
"Tony Toews [MVP]" <tt****@telusplanet.netwrote in message
news:a5********************************@4ax.com...
"Neil" <no****@nospam.netwrote:
>>So, are there any other files besides richtx32.ocx that are associated
with
the rich textbox control?

Just guessing. Try registering that OCX on those systems.

An easy way to register a file is to search for both files at one time
(<insert name of your fileREGSVR32.EXE) then drag and drop the
OCX/DLL onto the EXE. As most relevant DLLs and OCXs reside in
c:\<your windows version>\system32 you can try in this directory first
to minimize searching time. If that doesn't find both then go up a
directory level to c:\<your windows version>.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/

Jul 20 '07 #3
Tony,

Well, that did the trick! I should have tried that right off the bat. The
interesting thing was that doing a decompile seemed to address the issue. So
I assumed there was some sort of corruption in the file. But then it
wouldn't work in a compiled state. So it's interesting how, even with the
control not being registered, it still worked halfway (form was able to be
opened, and controls displayed data, but controls couldn't write data) if
the MDB was in an uncompiled state when the user opened it. So Access was
able to work with the control "a little" if the control wasn't registered,
but it couldn't go all the way. Interesting.

Thanks for your help.

Neil
"Tony Toews [MVP]" <tt****@telusplanet.netwrote in message
news:a5********************************@4ax.com...
"Neil" <no****@nospam.netwrote:
>>So, are there any other files besides richtx32.ocx that are associated
with
the rich textbox control?

Just guessing. Try registering that OCX on those systems.

An easy way to register a file is to search for both files at one time
(<insert name of your fileREGSVR32.EXE) then drag and drop the
OCX/DLL onto the EXE. As most relevant DLLs and OCXs reside in
c:\<your windows version>\system32 you can try in this directory first
to minimize searching time. If that doesn't find both then go up a
directory level to c:\<your windows version>.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/

Jul 20 '07 #4
"Neil" <no****@nospam.netwrote:
>Well, that did the trick!
Glad to read it.
>I should have tried that right off the bat. The
interesting thing was that doing a decompile seemed to address the issue. So
I assumed there was some sort of corruption in the file. But then it
wouldn't work in a compiled state. So it's interesting how, even with the
control not being registered, it still worked halfway (form was able to be
opened, and controls displayed data, but controls couldn't write data) if
the MDB was in an uncompiled state when the user opened it. So Access was
able to work with the control "a little" if the control wasn't registered,
but it couldn't go all the way. Interesting.
That is interesting. I have no good explanation as to that behavior.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jul 20 '07 #5
Hi,
perhaps you copied newer version of control and did not register it, or some
setup program did this

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
"Neil" <no****@nospam.netwrote in message
news:8p*****************@newssvr17.news.prodigy.ne t...
Tony,

Well, that did the trick! I should have tried that right off the bat. The
interesting thing was that doing a decompile seemed to address the issue.
So I assumed there was some sort of corruption in the file. But then it
wouldn't work in a compiled state. So it's interesting how, even with the
control not being registered, it still worked halfway (form was able to be
opened, and controls displayed data, but controls couldn't write data) if
the MDB was in an uncompiled state when the user opened it. So Access was
able to work with the control "a little" if the control wasn't registered,
but it couldn't go all the way. Interesting.

Thanks for your help.

Neil
"Tony Toews [MVP]" <tt****@telusplanet.netwrote in message
news:a5********************************@4ax.com...
>"Neil" <no****@nospam.netwrote:
>>>So, are there any other files besides richtx32.ocx that are associated
with
the rich textbox control?

Just guessing. Try registering that OCX on those systems.

An easy way to register a file is to search for both files at one time
(<insert name of your fileREGSVR32.EXE) then drag and drop the
OCX/DLL onto the EXE. As most relevant DLLs and OCXs reside in
c:\<your windows version>\system32 you can try in this directory first
to minimize searching time. If that doesn't find both then go up a
directory level to c:\<your windows version>.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/

Jul 21 '07 #6
Would that explain how:

- the form would not open if the MDB was compiled, but would open if it was
uncompiled;

- in either case, the control would display data, but not allow data to be
modified?

This is all very perplexing.

Thanks.
"Alex Dybenko" <al*****@PLEASE.cemi.NO.rssi.SPAM.ruwrote in message
news:u4**************@TK2MSFTNGP06.phx.gbl...
Hi,
perhaps you copied newer version of control and did not register it, or
some setup program did this

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
"Neil" <no****@nospam.netwrote in message
news:8p*****************@newssvr17.news.prodigy.ne t...
>Tony,

Well, that did the trick! I should have tried that right off the bat. The
interesting thing was that doing a decompile seemed to address the issue.
So I assumed there was some sort of corruption in the file. But then it
wouldn't work in a compiled state. So it's interesting how, even with the
control not being registered, it still worked halfway (form was able to
be opened, and controls displayed data, but controls couldn't write data)
if the MDB was in an uncompiled state when the user opened it. So Access
was able to work with the control "a little" if the control wasn't
registered, but it couldn't go all the way. Interesting.

Thanks for your help.

Neil
"Tony Toews [MVP]" <tt****@telusplanet.netwrote in message
news:a5********************************@4ax.com.. .
>>"Neil" <no****@nospam.netwrote:

So, are there any other files besides richtx32.ocx that are associated
with
the rich textbox control?

Just guessing. Try registering that OCX on those systems.

An easy way to register a file is to search for both files at one time
(<insert name of your fileREGSVR32.EXE) then drag and drop the
OCX/DLL onto the EXE. As most relevant DLLs and OCXs reside in
c:\<your windows version>\system32 you can try in this directory first
to minimize searching time. If that doesn't find both then go up a
directory level to c:\<your windows version>.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/


Jul 21 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: John Broderick | last post by:
I've got a problem with the RichTextBox control in .Net where the garbage collector doesn't reclaim its memory after I've finished with it. My program adds a series of rtb's to the control array...
1
by: bala | last post by:
hi there the senario - an A2k application is distributed as a mdb to various users. they are not packaged. rich textbox is being used in one form. requirement - in some of the user's machine...
2
by: Neil | last post by:
Is there an editable RTF textbox control which allows the user to apply bold, italic, etc.? I tried the Microsoft Rich Textbox Control, but there doesn't seem to be a way to allow the user to...
3
by: natrajsr | last post by:
Hi, I want to load the data of a excel sheet or in the exact excel sheet format into a Rich TextBox control. I have already worked with loading WORD into a Rich TextBox. It is working fine.;...
4
by: Neil | last post by:
I'm using the MS Rich Textbox control (6.0 - SP4) in an MS Access 2000 MDB, on a tab control with 4 tabs. Each tab has 4-8 rich textboxes, which are bound to memo fields. Frequently, when I...
10
by: Neil | last post by:
Using the MS Rich Textbox Control 6.0 in Access 2000, I need to concatenate several RTB controls into a single RTF file. Sometimes two strings will be side-by-side; other times they need to be...
4
by: Neil | last post by:
Just found out that the Microsoft Rich Textbox does not support full text justification, since it's based on Version 1.0 of the RichEdit Window Class, and full text justification is only available...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
0
by: Neil | last post by:
I am having trouble using long dashes (Em dashes) with the Microsoft Rich Textbox 6.0 control. Whenever I paste them in, the control converts them to hyphens. I have found it is the same with the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.