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 am trying to do
is find out whether rich textbox is present in the user machine and
then load a label instead of richtext box, that is i am trying to make
the rich textbox visible false and the label visible true.
i am checking for the access reference collection and isbroken
property. if it raises an error due to isbroken is false then i am
setting the richtext box visible false and label visible true. i tried
to implement this logic in the open and load event of the form. the
form which as the rich textbox will be the first form which will open
when the application is run, it is sorta disclaimer form.
i tried to place breakpoints and when i ran the application it just
errored out without even entering the debug mode. should i implement
the above logic in sub main and call it before opening the disclaimer
form (which is the startup form now)?
also i have another question - when a form is opened in which event all
the controls in the form are actually drawn / painted ?
would appreciate if u can point me in the right direction
thanx
bala 1 1763
Checking references is difficult: as soon as VBA realised it's broken,
you're shot. That means you have to get a result before it knows it's
broken, and to do that means disambiguating every reference until your check
is over, e.g. you can't use Left(), but you can use VBA.Left().
micha has more info: http://www.trigeminal.com/usenet/usenet026.asp?1033
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"bala" <ba*****@gmail. com> wrote in message
news:11******** **************@ l41g2000cwc.goo glegroups.com.. . 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 am trying to do is find out whether rich textbox is present in the user machine and then load a label instead of richtext box, that is i am trying to make the rich textbox visible false and the label visible true.
i am checking for the access reference collection and isbroken property. if it raises an error due to isbroken is false then i am setting the richtext box visible false and label visible true. i tried to implement this logic in the open and load event of the form. the form which as the rich textbox will be the first form which will open when the application is run, it is sorta disclaimer form.
i tried to place breakpoints and when i ran the application it just errored out without even entering the debug mode. should i implement the above logic in sub main and call it before opening the disclaimer form (which is the startup form now)?
also i have another question - when a form is opened in which event all the controls in the form are actually drawn / painted ?
would appreciate if u can point me in the right direction
thanx bala This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: selowan |
last post by:
Hi,
In VB6 Pro SP5, I have a form that contains an MSFlexGrid and a few
other textboxes and comboboxes. I am using the technique from MSDN
article Q241355, which describes how to tab and edit in a flexgrid.
Briefly, the technique is to overlay the cell to be edited with
"floating" textbox; data is edited in the floating textbox and moved
to the cell when the floating textbox loses focus.
The technique works well except for when the...
|
by: hermawih |
last post by:
Hi ,
can anyone help me , please .
In Ms Rich textbox control , It is easy to insert object than to
insert picture .
I want to insert picture in my Ms rtf activeX control but Ms Access
does
not support Clipboard function for images (Getdata or setData ) . I
have
|
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 control are gray, and the RT controls have a white
background. So there will be this white box the size...
|
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 = "mnop"
|
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 text justification! This seems incredible, that
MS would create a brand new application, and not...
| |
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 Access 2007 help seems to confirm the above.
But that (or at least (b)) seems incredible that it...
|
by: =?Utf-8?B?UHVjY2E=?= |
last post by:
Hi, I'm using vs2005, .net 2 for a windows application. I have a
richtextbox control on my form that I make it readonly.
1. Do I need to make readonly to be false to append text to it?
2. Even though I chose the Cursor property of the richtextbox to be "No"
but when I run the application I can still click on the RTB and got a Ibeam
cursor among my text. Is there a way to prevent a user being able to click
on the text and get the ibeam...
|
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 Google Groups, I came across a posting by someone who experienced
the same thing, but noted that the...
|
by: =?Utf-8?B?UmljaA==?= |
last post by:
On my development machine where I have Visual Studio 2005 loaded, I have an
app that uses the Report control. I can view data in report format with the
Report control -- the data renders OK in the Report control. My problem is
in rendering the report from the rdlc file for printing to a line printer.
Following the example from MSDN Help at
http://msdn2.microsoft.com/en-us/library/ms252172(VS.80).aspx
I can print the rdlc report...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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,...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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.
| |
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...
| |