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 6 3520
"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.EX E) then drag and drop the
OCX/DLL onto the EXE. As most relevant DLLs and OCXs reside in
c:\<your windows version>\system 32 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/
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****@teluspl anet.netwrote in message
news:a5******** *************** *********@4ax.c om...
"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.EX E) then drag and drop the
OCX/DLL onto the EXE. As most relevant DLLs and OCXs reside in
c:\<your windows version>\system 32 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/
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****@teluspl anet.netwrote in message
news:a5******** *************** *********@4ax.c om...
"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.EX E) then drag and drop the
OCX/DLL onto the EXE. As most relevant DLLs and OCXs reside in
c:\<your windows version>\system 32 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/
"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/
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******** *********@newss vr17.news.prodi gy.net...
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****@teluspl anet.netwrote in message
news:a5******** *************** *********@4ax.c om...
>"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.EX E) then drag and drop the OCX/DLL onto the EXE. As most relevant DLLs and OCXs reside in c:\<your windows version>\system 32 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/
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.S PAM.ruwrote in message
news:u4******** ******@TK2MSFTN GP06.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******** *********@newss vr17.news.prodi gy.net...
>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****@teluspl anet.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.EX E) then drag and drop the OCX/DLL onto the EXE. As most relevant DLLs and OCXs reside in c:\<your windows version>\system 32 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/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 of a
panel to make a basic text editor. When the form that the
panel is on is closed these rtb's are still in memory.
If you want to see the...
|
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 (am not sure which version
of windows they have) when the application is run, the application
error's out due to the absense of rich textbox. what i...
|
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 change the formatting while
typing text. Is there such a beast?
Thanks,
Neil
|
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.; But it is taking long time for our need. So we thoguht,
we can find another better solution rather than that.
Can anyone help me to find out how...
|
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 click on a tab to move there, an image of one of the RT
controls on that tab appears in the upper left corner of the screen. The
form and the tab...
| |
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 separated by a hard return.
For example, say I have the following 4 RTB controls in my form:
RTB1 = "abcd"
RTB2 = "efgh"
RTB3 = "ijkl"
RTB4 =...
|
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 in versions 3.0 or later of
the class.
However, also just found out that the new Rich Text property in Access 2007
ALSO does not support full...
|
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 know one way or the other whether that was
true or not, or could point me to an article or help text that would. What I
have seen so far online and in...
|
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 Total Access Memo control by
FMS. I have even inserted the \emdash code directly into the rich text code,
but with the same results.
Searching...
|
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...
|
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. ...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |