473,406 Members | 2,451 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,406 software developers and data experts.

What control libraries to use

Hello,
The following is up to now not very clearly to me. What ocxfiles to
use in A2000?
For example: The listview.
Now I use the one given in comctl32.ocx (Microsoft windows common
controls 5.0 (SP2). Earlier I've used the listview in mscomctl32.ocx
(or something like that), which gave me errors all the time.
My question now is: how do I know which ocx-files and so on are good
to use in Access? Is there a newer version of the comctl32.ocx that I
can use? Are there any nice and important ocx-files existing that I'm
not aware of? I'm not searching for third-party solutions, just want
to know what's possible with the things present on my computersystem
(using Access 2000 on a windows Xp SP2 system).
Muchas gracias,
--
bebelino
Nov 12 '05 #1
8 3719
TR
I use mscomctl.ocx Ver 6 alot, listviews, imagelist, and treeview, and it
works very well (aside from a bug with certain version listviews when placed
on a tab control). Used in both A97 and A2K2, so can't vouch for anything
specific to A2000.
What sort of errors were you having? One big problem I have found is
transitioning from comctl32 to mscomctl, or vice-versa. Having both
referenced in a database will give problems (usually errors about control
events), and you may need to delete all controls of one ocx, and then
recreate all new controls with the other ocx.

"bebelino" <a.*@c.d> wrote in message
news:ls********************************@4ax.com...
Hello,
The following is up to now not very clearly to me. What ocxfiles to
use in A2000?
For example: The listview.
Now I use the one given in comctl32.ocx (Microsoft windows common
controls 5.0 (SP2). Earlier I've used the listview in mscomctl32.ocx
(or something like that), which gave me errors all the time.
My question now is: how do I know which ocx-files and so on are good
to use in Access? Is there a newer version of the comctl32.ocx that I
can use? Are there any nice and important ocx-files existing that I'm
not aware of? I'm not searching for third-party solutions, just want
to know what's possible with the things present on my computersystem
(using Access 2000 on a windows Xp SP2 system).
Muchas gracias,
--
bebelino

Nov 12 '05 #2
"bebelino" <a.*@c.d> wrote in message
news:ls********************************@4ax.com...
Hello,
The following is up to now not very clearly to me. What ocxfiles to
use in A2000?
For example: The listview.
Now I use the one given in comctl32.ocx (Microsoft windows common
controls 5.0 (SP2). Earlier I've used the listview in mscomctl32.ocx
(or something like that), which gave me errors all the time.
My question now is: how do I know which ocx-files and so on are good
to use in Access? Is there a newer version of the comctl32.ocx that I
can use? Are there any nice and important ocx-files existing that I'm
not aware of? I'm not searching for third-party solutions, just want
to know what's possible with the things present on my computersystem
(using Access 2000 on a windows Xp SP2 system).
Muchas gracias,


My practice (and advice) is to use none of them. I try never use
non-native controls in any of my apps. API calls can usually be found to
provide the functionality that an outside library/control would and then
you never have to worry about version conflicts, compatibility issues,
etc.. I also use late binding for all situations where I am automating
external libraries. My apps have only the default references checked and I
have never encountered a need yet that absolutely required me to add one.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #3

WHY DONT YOU JUST FUCKING USE ALL OF THEM??
--
Posted via http://dbforums.com
Nov 12 '05 #4

"xdcbox" <me*********@dbforums.com> wrote in message
news:34****************@dbforums.com...

WHY DONT YOU JUST FUCKING USE ALL OF THEM??

Great idea!
Do you think I could use this approach for drugs?

R. Soul
Nov 12 '05 #5
On Wed, 15 Oct 2003 12:29:48 GMT, "TR"
<tr************@mindREMOVEspring.com> wrote:
I use mscomctl.ocx Ver 6 alot, listviews, imagelist, and treeview, and it
works very well (aside from a bug with certain version listviews when placed
on a tab control). Used in both A97 and A2K2, so can't vouch for anything
specific to A2000.
What sort of errors were you having? One big problem I have found is
transitioning from comctl32 to mscomctl, or vice-versa. Having both
referenced in a database will give problems (usually errors about control
events), and you may need to delete all controls of one ocx, and then
recreate all new controls with the other ocx.


So mscomctl.ocx works very nice for you.
I think that my problem had been of using the listview on tabcontrols,
since it was that I was trying to do, until I discovered the
comctl32.ocx, and never had any problems with that one. I think I will
give the mscomctl another try.
thanks,
--
bebelino
Nov 12 '05 #6
On Wed, 15 Oct 2003 08:03:48 -0500, "Rick Brandt"
<ri*********@hotmail.com> wrote:
My practice (and advice) is to use none of them. I try never use
non-native controls in any of my apps. API calls can usually be found to
provide the functionality that an outside library/control would and then
you never have to worry about version conflicts, compatibility issues,
etc.. I also use late binding for all situations where I am automating
external libraries. My apps have only the default references checked and I
have never encountered a need yet that absolutely required me to add one.


OK, but my programming-skills don't let me build a listview myself. I
know a bit here and a bit there of API-calls, but this would be
definitely too difficult at the moment. Maybe I have to throw myself
again in Dan Appleman's 'Visual Basic Programmer's Guide to the WIN32
API'.
thanks,
--
bebelino
Nov 12 '05 #7
TR
The two main bugs that I have had to deal with:

With certain version of mcsomctl, when the list view is placed on a tab control,
when the form first opens, the list view may reposition itself at the top left
corner of the tab. Usually clicking to another tab and back again fixes this, but
thats annoying. My workaround is to make all istviews on tabs not visible by
default. In the tab change event, make the appropriate listview visible when its
tab page is visible.

When a list view on a tab page has its check boxes checked, if you move to
another tab and back, the checkboxes are all cleared (and may not even appear in
the listview). I posted a workaround here sometime ago, has to do with reading
checked values into an array and restoring when the listview is made visible
again. Do a google search on the group, late july 2003.


bebelino wrote:
On Wed, 15 Oct 2003 12:29:48 GMT, "TR"
<tr************@mindREMOVEspring.com> wrote:
I use mscomctl.ocx Ver 6 alot, listviews, imagelist, and treeview, and it
works very well (aside from a bug with certain version listviews when placed
on a tab control). Used in both A97 and A2K2, so can't vouch for anything
specific to A2000.
What sort of errors were you having? One big problem I have found is
transitioning from comctl32 to mscomctl, or vice-versa. Having both
referenced in a database will give problems (usually errors about control
events), and you may need to delete all controls of one ocx, and then
recreate all new controls with the other ocx.


So mscomctl.ocx works very nice for you.
I think that my problem had been of using the listview on tabcontrols,
since it was that I was trying to do, until I discovered the
comctl32.ocx, and never had any problems with that one. I think I will
give the mscomctl another try.
thanks,
--
bebelino


Nov 12 '05 #8
On Wed, 15 Oct 2003 16:50:14 -0400, TR
<t_NoSpam_redick@Mind_NoSpam_spring.com> wrote:
The two main bugs that I have had to deal with:

With certain version of mcsomctl, when the list view is placed on a tab control,
when the form first opens, the list view may reposition itself at the top left
corner of the tab. Usually clicking to another tab and back again fixes this, but
thats annoying. My workaround is to make all istviews on tabs not visible by
default. In the tab change event, make the appropriate listview visible when its
tab page is visible.

When a list view on a tab page has its check boxes checked, if you move to
another tab and back, the checkboxes are all cleared (and may not even appear in
the listview). I posted a workaround here sometime ago, has to do with reading
checked values into an array and restoring when the listview is made visible
again. Do a google search on the group, late july 2003.


I'll keep those problems in mind and will search on google.
thank you very much,
--
bebelino
Nov 12 '05 #9

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

Similar topics

65
by: perseus | last post by:
I think that everyone who told me that my question is irrelevant, in particular Mr. David White, is being absolutely ridiculous. Obviously, most of you up here behave like the owners of the C++...
44
by: lester | last post by:
a pre-beginner's question: what is the pros and cons of .net, compared to ++ I am wondering what can I get if I continue to learn C# after I have learned C --> C++ --> C# ?? I think there...
6
by: Jeff | last post by:
Hi, I'm finishing up developing a speech control jukebox (see intelligentjukebox.com) Can anyone point me to the easiest to use free library that does very basic regular expression matching...
8
by: Midnight Java Junkie | last post by:
Dear Colleagues: I feel that the dumbest questions are those that are never asked. I have been given the opportunity to get into .NET. Our organization has a subscription with Microsoft that...
1
by: Mombiatch | last post by:
I've got an application whereby I need to make calls to a .NET Class Library in the same way that I would make calls to an ActiveX control from a webpage, using the <object id="CLSID, etc tag. Is...
1
by: J.Marsch | last post by:
Hello all: I am trying to create a multi-project solution in VS 2005, and I'm having some problems with Source Control. I am running into 2 very vexing problems. Can anyone give me a pointer?...
0
by: Tony Johansson | last post by:
Hello! Some background so you can better understand my question. I have several windows form within a project. A have also other projects which are user defined class libraries and user defined...
1
by: rsam2011 | last post by:
Hi, I need to create different modules (web control libraries) each containing a set of functions and web user controls. I will then need to load these libraries into my ASP.NET application and...
16
by: Matthew Zhou | last post by:
I am a students learning programming, and want to do some software projects to practice myself. However, no one will only use one language to make all the tasks done. And every languages has its...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
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
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
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...

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.