Over 1 million tech questions and answers.

VC++ List Control with Checkboxes

Q: VC++ List Control with Checkboxes

Hello all

I created an mfc application which uses List Control. I want to use checkboxes in this List, I set the property like


Now I'm able to list checkboxes in list control. But the problem is when I'm clicking on checkbox the entire row is not being highlighted. I used LVS_EX_FULLROWSELECT flag but of no use.
I'm using LIST view style for this list control.

How to code so that the checkbox is checked/unchecked if I click on checkbox as well as the label associated with checkbox. Similarly background should be highlighted if the checkbox state is checked. It seems in this case both checkbox and label are acting independent of each other.

Pls help me with an example , Thanks in advance.

Read other answers
Preferred Solution: VC++ List Control with Checkboxes

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)


Dear All,

I am developing an application in which I require a "tree control with checkboxes".
The structure of tree control is as:


ie. simple tree having one main root and having many child items.

I have two problems related to it.

All child items should be checked to TRUE whenever we click 'root' checkbox and vice-versa. How to proceed for it ???????

I mean to say that which event should I capture for this.( ie. TVN_SELCHANGING )

(I am sending my function along with this query. This function is used to check all the items present under one root )
Is there any way to disable a particular check-box in tree control.

Thanks in advance.

Read other answers

I have an excel sheet that i would like to add a checkbox to.
The checkbox should be cleared every time a condition in cell A1 is met (i.e. FALSE) so that the user is then forced to check it again.
There will be multiple sheets to the workbook with this scenario.

Please help, I cannot figure out the vba code required to control the checkbox in this way. I do not mind whether i use a form field or the control toolbox.

A:Excel - cell control of checkboxes

I have figured out this much now. It works but only if I manually enter the value "TRUE" into cell S6.
If this cell is returning a "TRUE" value by performin an IF function it wont work.
I would very much appreciate any assistance in solving this problem.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address(False, False) = "S6" Then
Application.EnableEvents = False
If Target.Value = "TRUE" Then
ActiveSheet.CheckBoxes("Check Box A") = False
End If
Application.EnableEvents = True
End If
End Sub

Read other 2 answers

guys this is so weird, I can't figure out how this started happening but now all my control panels in Win7 (x64) have "-OFF" or "-ON" added to the end of the description, here's a screenshot:

how can I turn this off? anybody seen this before??

A:All my checkboxes in control panels have "-OFF" or "-ON" appended WTF?

My guess would be a third party app did that. Installed any "tweaking" programs lately?

Read other 3 answers

I thought a wifi password was enough security, but when visiting my parent's house and having them complain about slow internet all the time, I decided to look into it.
I've never seen so many unknown devices on a network and I'm unsure on how to go about resolving it. Clearing and refreshing the device list as well as changing the wifi password didn't seem to do anything. Ideas???

A:Device list out of control

Hi to BleepingComputer,
The list show that most devices connected using Ethernet cable not Wireless!

Read other 0 answers

I thought a wifi password was enough security, but when visiting my parent's house and having them complain about slow internet all the time, I decided to look into it.

I've never seen so many unknown devices on a network and I'm unsure on how to go about resolving it. Clearing and refreshing the device list as well as changing the wifi password didn't seem to do anything. Ideas???

Read other answers

I am now getting this error when using IE...

Does anyone know what it is...? I am fully protected by McAfee, Adaware and Spybot.

A:Access Denied by Control List...???

If you're on a dialup connection, the problem is usually fixed by creating a new dialup connection and deleting the old.

My Computer>Dialup Networking>Make new connection, step through the wizard to make a connection identical to the old except for what you call it. Example: If the old connection is named "Internet," name the new one "Internet2."

If that works, just delete the old connection.

If it doesn't work, start looking here.

Read other 2 answers

This is embarrassing! Somehow, my list of "Favorites/Bookmarks" (Vista/Explorer 8)went to listed in order by when it was entered to an alphabetized order- don't know how it changed, but I just want to get the list back to original based on WHEN the item was listed alpha, not A, B, C order- I have looked everywhere and can't find a way to get the list back to the way it was- PLEASE! Any suggestions would be appreciated!

A:Favorites List order control...

Read other 11 answers

For the seconfd time, I have somehow made my control panel go weird.
Rather than do a recovery, I thought I would seek help.
WHen I click the control panel home button, I dont get individual icons, I get summaries. eg: system and maintenance, security, network and internet etc..not the way it was an hour ago. Have tried classic view and I get a long list instead of icons. No way to change them. I would love to know how I have done this and how to get my other control panel back. ANy ideas?

A:My control panel is a list, not icons HELP

You need to change your views.
See attached image:

Read other 2 answers

I have a Win2000 system. I have mistakenly set the Access Control List (ACL) to deny access to the C: drive for everyone (stupid, I know). Now I am unable to access any of the programs or the porperties to change that setting back. As a last measure, I tried to reinstall Win 2000, but for some reason the system will not let me do that.

Can someone help?? Please.

Many Thanks


A:Access Control List Problem

Open Windows Explorer, Right click on your C: drive and choose "Properties", go to the "Security" tab, click Advanced, go to the "Owner" tab, select your id in the list, check the check box "replace owner..." and click OK

Read other 1 answers

Hi All!
I'm having a problem trying to change the name of a user account in windows XP.
You can go into the control panel fine, but when you click on the
"User Accounts" in Control Panel, the page that comes up is blank.
Also there is an error that pops up saying, " The Access Control List (ACL)
Structure Is Invalid." And when you click on the "Back" or the "Forward"
Buttons, an error occurs, "g_navigator is null or not an object"
This is extremely SAD! as I do NOT want to do a reinstallation or a
paste reinstall of windows XP.
Any help would be greatly appreciated.
The GT Guy.

A:Solved: Access Control List

Read other 13 answers

When trying to access the net (using IE) i get the message that access is denied to ?ccess Control List.
Same applies if i try Safari.
Firefox is OK though - have access to net using that.
Any advice?

A:[SOLVED] Access control list

Hi johng102, welcome to TSF..

there's a possible fix here:

It's fairly old so not sure if it's relevant still but worth a try.

If it doesn't work, let us know and we'll try something else

Read other 2 answers

There is something wrong with my user account. I have only read rights under ProgramData and under AppData. If I try to change them I get The access control list (ACL) structure is invalid.

I have logged in as another user and there everything works, so it looks like there is something with my first account.

What could have happened and how do I fix it?

// Anders

A:The access control list (ACL) structure is invalid

ProgramData folder is a hidden folder which contains the application's settings. This folder is separated from Program Files for better security from Windows Vista onwards. AppData folder is also a hidden folder containing user specific settings. Microsoft has made these folders hidden from users on purpose.

Only Administrators have full permissions for ProgramData and AppData folders. Ordinary users will have read only permissions so that they are prevented from making damaging changes to applications.

Checkup whether your another user is an administrator.

I suggest you leave these folders from making changes, unless you know the implications.

Read other 9 answers

There is something wrong with my user account. I have only read rights under ProgramData and under AppData. If I try to change them I get The access control list (ACL) structure is invalid.

I have logged in with an other user and there everything works, so it looks like there is something with my first account.

What could have happened and how do I fix it?

Tech Support Guy System Info Utility version
OS Version: Microsoft Windows 7 Professional , Service Pack 1, 32 bit
Processor: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz, x64 Family 6 Model 23 Stepping 10
Processor Count: 2
RAM: 3066 Mb
Graphics Card: NVIDIA GeForce 9600M GS, 512 Mb
Hard Drives: C: Total - 290204 MB, Free - 82272 MB; D: Total - 14999 MB, Free - 6705 MB; F: Total - 1907725 MB, Free - 424541 MB; G: Total - 953866 MB, Free - 11 MB; J: Total - 953867 MB, Free - 343037 MB;
Motherboard: Dell Inc., 0J056T, , .6879RK1.CN129619AL000E.
Antivirus: Norton Internet Security, Updated and Enabled
Click to expand...

// Anders

Read other answers

I have a Home Vista Basic, I loaded a spyware /internet security program from my Internet provider. The spyware diagnostic tools will not start/work and one of the suggestions is to reinstall the program. I tried to uninstall the program and it is not listed/found in the control panel. I can see that the program is is in the program files but cannot uninstall it as the control panel is not showing it, therefore cannot be selected for uninstalling.

Help will be appreciated please..

A:Control Panel will not list program to uninstall


Is it listed in your start menu in all programs? click on it. it may have an option to uninstall there.

good luck

Read other 3 answers

The list of programs that appears when I attempt to uninstall a program has become truncated and I must scroll down through a long blank space to find the remainder of the list. Since I do not use this feature that often I have no idea what I may have done to trigger this problem,... Any ideas out there for a means of correction?

A:Wdos XP Control Panel Add/Remove List

Two fixes ...
If you have had autocad installed on your computer go here:
Add/Remove white space caused by autocad - Kelly's Korner
There are two fixes there.

Otherwise, this one:

Line 226-right
Add/Remove white space - general - Kelly's Korner

Read other 1 answers

I am running 64-Bit Windows 8.1 Pro and this is more of an annoyance than a problem. When I call up the list of Control Panels from the start menu, they are in alphabetical order from left to right and then top to bottom. Short of installing some third party app, is there a way to change the list to be in alphabetical order from top to bottom and then left to right. I would like to be able to see all of the available control panels at the same time, so narrowing the view to one column doesn't work for me.

Read other answers

In User Account Control, is there a white list?


Hans L

A:User Account Control and white list?

Yes it can be done, see below:
Stop Annoying UAC Prompts - How To Create A User Account Control Whitelist [Windows]

Read other 9 answers

When displaying installed programs in the control panel it stops after those starting with o
the programs like windows live do not appear yet they function fine.
is there some way to fix this?
I have run so far run adwcleaner, junkwareremovaltool,and rkill and although it did find many items and deleted them I still have a installed programs list that does not list beyond Oxxxxxx
I did get this from another post on SevenForums before starting this post.


A:programs not displayed in control panel list

Did you un-install a program just before this happened?

Read other 9 answers

I have been running Norton IS Pro 2004 for 6 months with no problems on Dell Win XP SP1.

It is now doing a Productivity Control List Update every few hours that locks up my computer for 5 minutes while it completes.

I have Productivity Control disabled but still this happens.
My regular Norton liveupdate is scheduled for 2AM

Any ideas on how to stop or why/what it is doing with so many updates


Read other answers

I'm having problems with my laptop which is connected to a modem/router via a wireless card adaptor. Although it is connected I can't access the internet when I open Internet Explorer - all I get is a message which reads "Forbidden you denied access because: Access denied by access control list"

I was advised to download Hijack and have copied the file log below - but I don't know what I'm looking for! Would someone mind having a look and advising if you can see any problems?

Logfile of HijackThis v1.99.1
Scan saved at 08:03:51, on 25/07/2006
Platform: Windows XP SP2 (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)

Running processes:
C:\Program Files\Common Files\AOL\ACS\AOLAcsd.exe
C:\Program Files\Symantec\LiveUpdate\ALUSchedulerSvc.exe
C:\Program Files\Common Files\Symantec Shared\ccProxy.exe
C:\Program Files\Common Files\Symantec Shared\ccSetMgr.exe
C:\Program Files\Norton Internet Security\Norton AntiVirus\navapsvc.exe
C:\Program Files\Norton SystemWorks\Norton Utilities\NPROTECT.EXE
C:\Program Files\Norton Internet Security\Norton AntiVirus\SAVScan.exe
C:\Program Files\Common Files\Symantec Shared\SNDSrvc.exe
C:\PROGRA~1\NORTON~1\... Read more

A:Internet Explorer - Access Control List

Hi and welcome to TSG,

Please do not start more than one thread for the same problem.

Closing duplicate.

Please continue here:


Read other 1 answers

Trying to uninstall some apps. Some are missing from Control Panel uninstall list of apps
How can I find them? Windows 10

A:Programs Missing From Control Panel List

Originally Posted by NOPD

Trying to uninstall some apps. Some are missing from Control Panel uninstall list of apps
How can I find them? Windows 10

Don't you mean Start then All Apps
If they are missing then they must be uninstalled already.
If I have got it wrong then please explain more of what you are trying to do and what Apps you are trying to remove.

Read other 0 answers

We have Windows 7 x64 SP1 in around 200 systems.
We need to get list of installed software from each system exactly same as in Control Panel
Till now :
1 .We have tried using registry HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
but it couldn?t list all softwares as in control panel and total count of software differs as in control panel and registry.
2. Tried using wmi query using power shell command
-class ?Win32_Product? -computer
But it is not recommend to run this command on productionas per

So, How can we achieve this to get exactly same list as in control panel

Read other answers

I am using Word 2007 to edit a large document. In it, I would like the first and last elements in my bulleted lists - which are formatted with the List Paragraph style - to be well spaced from the rest of the text (what's above and below it, which is usually formatted with the Normal style). However, setting values for the Spacing Before and Spacing After parameters under List Paragraph|Modify Style|Format|Paragraph, only spaces the *first* element of the list from the preceding paragraph, and leaves the last element of the list unspaced from the following, Normal-styled paragraph. It's only if I use direct formatting on the last paragraph of the list that I get the desired result, i.e. if I select the last element of the list, go to Paragraph Settings and set the value for Spacing After parameter. As a debugging method, I created a new document and reproduced the scenario (Normal-styled paragraph, bulleted list, another Normal-styled paragraph) - everything is as it should be with the space after the list! What could be wrong with the settings in my document? Thanks for any help! PS: here's a screenshot demonstrating the situation, with paragraph marks enabled - http://www.badongo.com/pic/5386247

Read other answers

I have on board sound Realtak, I finall got them working by they are not listed on the control panel. What do I need to do to get Windows 7 to list them?

The recording device in Windows 7 does not work with my headphone/mic set.

A:Windows 7 will not list my head phone or mic in control panel

Did you get software with the set and install it? Are you using the ports on the front of the case or on the back?

Read other 3 answers

Hi Everyone,

I am running a Domain (using Windows Server 2008 R2), that services a variety of Windows (only) client computers. The Windows clients in question are XP Professional, Vista Business, Windows 7 Professional, and Windows 8 Professional.

I would like to control access to the internet on my Domain, such that client computers are only able to visit a very select (specific) list of URLs.

Preferably I would like to be able to administer the control of URLs from the Windows Server. Furthermore I would also like to be able to allocate various clients into logical "business groups", e.g.: "Stores", "Sales Team", etc. Finally each group will be permitted access to specific URLs based on their day to day needs.

If simple administration of URLs is not possible from the Server; or if the cost of this approach is inhibitive I am open to suggests on how to limit the URL access of each client computer.

Most client computers in my network have "Administrative" privileges so control from the Server is my greatest hope. However I am able to set various client computers to "User" only privileges.

For extra background information most of my clients use a variety of browsers; therefore it is not uncommon to have Chrome, Firefox & IE all installed on a single client.

Any suggestions & / or help here will be greatly appreciated.

Kind Regards,


A:Best way to control access to a list of URLs on a Windows Domain

Read other 6 answers

I've just uninstalled Photoshop CS4 (after installing CS5).

However, the program name 'Adobe Photoshop CS4' is still listed in Control Panel/Programs list and it's annoying me!

The item was 300Mb+ and is now showing as 3.77Mb.

How can I get rid of it? I can't right click/delete. Is there another way?



A:Removing item name from Control Panel/Programs List

Hello Dinarius,
It may be that the registry key was not deleted.
Download this free app and clean the registry.
Reboot and check.

CCleaner - Optimization and Cleaning - Free Download (Backup Registry When Prompted).

Hope this helps, good luck and post your results.

Read other 3 answers

I have a custom web server control. It?s like a regular drop down list but each line item is a checkbox line item. It works similar to a regular drop down list but user can select multiple line items by selecting on those checkboxes.
On IE 11.0.34 (KB3175443), I can click on the checkbox drop down to expand it. After that, if I click on the screen outside of the drop down list area, the drop down list will collapse to one line.
But on IE 11.0.50 (KB4056568), after the checkbox list is expanded, when I click on the screen outside of the drop down list area, it doesn?t collapse the drop down list. I have to click on the first line of the checkbox drop down
list to collapse it.
Does anybody know what changed in between IE 11.0.34 and IE 11.0.50 and caused this problem?
Is there a way for me to fix this issue?
Thanks a lot.

Read other answers

The icons in my windows Control Panel keep changing back to list view after I have changed them to icon view. I have list view applied to all folders accept My Computer which is in icon view and it stays that way, but for some reason Control Panel wants to stay in list view which I find very annoying!
Any ideas anyone please

A:Control Panel icons automatically change to List view

have you already checked the help files, and MS's online knowledge base?

i'll look and see if it does that on mine and get back to you.

Read other 2 answers

In my control panel, the list of programmes is just 4 programmes, instead of many I used to have. I have reinstalled windows 10 (keeping my files intact) but that has not helped. Any suggestions would be greatly appreciated.

Tech Support Guy System Info Utility version
OS Version: Microsoft Windows 10 Home, 64 bit
Processor: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz, Intel64 Family 6 Model 69 Stepping 1
Processor Count: 4
RAM: 3976 Mb
Graphics Card: Intel(R) HD Graphics Family, 1024 Mb
Hard Drives: C: 448 GB (253 GB Free);
Motherboard: Acer, VA50_HW
Antivirus: Windows Defender, Enabled and Updated

Read other answers

Hi, I've read a lot of other posts about the same issue I'm experiencing but have so far been unable to solve.

[I reinstalled Windows 7 using the Upgrade option (not clean install) but before I could do the reinstall it said I had to uninstall Ati Technologies which I could then reinstall after the upgraded Windows]

I ran install for the Catalyst Softward Suite for drivers which had the CCC listed, but there is no CCC option in the install list when I run to install. It just doesn't appear! I've uninstalled ATI Catalyst Install Manager, ran Driver Sweeper in safe mode and then reinstalled but still the CCC does not appear in the list. I've also checked the Windows/Assesmbly key problem too. It's the same problem as this post: Catalyst Control Center missing/Wont install

I have a Radeon 4000 series card.

A:Catalyst Control Centre doesn't appear on list in Install Manager

Anyone? The driver version says it's 8.634.0.0 from 2009...I can't get new drivers on there.

Read other 4 answers

Hi All,
I am using List control in SPFx web part and implemented "View more" button click functionality to fetch items in batches. I am facing flickering issue while scrolling towards the window end or on multiple clicks of view more button. 
Please suggest on the same.
Environment- SharePoint Online
Webpart - SPFx with React.
Thanks in advance!

Read other answers

Ok, so I noticed that for a while I haven't been here my microsoft sounds when I boot up and shut down my machine. At first I thought that I didn't have the sound files but that wasn't it.

I went into control panel, sound and audio devices and click on the sound tab. Under the program events list, I notice that many of the program events were missing such as windows start up and windows shut down. This is why I wasn't hearing any sounds when I would shut down and start my computer.

My question is, how do you get those items back on the program event list?

I use windows XP home edition computer.

Any help or suggestions? The thing is the a lot of the items in the program list are missing. So lets say I wanted to change the sound that I hear when I turn my machine on, I would go under windows and highlight windows start. But on my program list, it is not there. Hence I have no sound when my computer goes on. It is a stupid thing I realize that but I am curious how the items were lost and wondering if I can get them back. But hey, my computer is 6 years old and still runs great. I should just be happy with that.

A:Missing items on Program list in Control Panel Sounds

i have the identical problem. i have discovered that if i create a new user account, all the program events are available. if i try the run command for sfc / scannow it asks me insert the windows xp install cd but won't recognize it when i do. I don,t think there is anything short of doing an xp repair that will solve my problem. if you come up with something let me know.

Thanks, Jeff

Read other 4 answers

Hi, my speakers play sound but when I plug the headphones into the master speaker on the right it doesn't play audio anymore through the headphones. I tried several pair, one even brand new and no luck, however when anything is plugged in the audio stops. I tried plugging them into the back of the desktop and the front even but none of the 3.5mm audio jacks seem to want to allow Windows 7 to recognize the head phones.

My son is playing some browser game and it's driving me mad to have to listen to it in the back round and was hoping someone could help me navigate the volume control options in Windows 7 so I could fix this for myself, thank you

A:[SOLVED] Volume control options > playback devices doesn't list my headphones just sp

First thing, are you sure that the jack on your speaker system works?

Next, I would advise you reinstall your sound driver.

Read other 12 answers

Hi, Just bought a new MSI AE2220 all in one with Win7 installed, and I noticed that whenever I click into Documents, a small checkbox appears against all listed items.
This doesnt happen on my other Win 7 PC`s, so I wondered if anyone can give me some info on this. thanks, fred


That is happening because the option "Use checkboxes to select items" is enabled in the "View" tab of "Folder Options". If you dont like this feature, click on Start and and type "Folder Options" into the search box and hit Enter. Then in "View" tab, in "advanced settings", scroll down and uncheck the option "Use checkboxes to select items", then click Apply, OK.

Read other 1 answers


I'm trying to write a code on VBA on excel to make a spreadsheet with checkboxes that output sentences in cells next to them when the user ticks the relevant checkboxes.

Here's the catch, I need several checkboxes on the same sheet, and each checkbox needs to output a different value.

So for example, if i check one box, it will output "hello", and if I check the other box, it will output "how are you".

Can anyone suggest how to approach this?


A:VBA checkboxes

Is your goal to only allow the user to select one checkbox value? If so you will need to use Option Buttons instead since you can limit the user to one selection per group of controls.

Read other 1 answers

on a worksheet i have numerous activex checkboxes, is it possible to automatically check or uncheck them based on two cell values, see example below

cell c4 = 52 (input by user)

cell c5 = 39 (input by user)

if cell c5's value is less than c4's then checkbox1 = true
if c5's value is higher than c4's then checkbox1 = false

also could you add a third argument, i.e

if cell c5's value is less than c4's and checkbox1 = true then checkbox2 = true or if
c5's value is higher than c4's and checkbox1 = true then checkbox 2 = false

i know i could just check or uncheck them manually, but there will be about 30 checkboxes on the sheet when it is finished (nb not all checkboxes will relate to cells c4 and c5)

many thanks

Read other answers


I'd lie a little help please regarding Excel 2007 checkboxes. I have 3 of them but I only need one to be checked at a time. Can it be done with VBA automatically?

Thank you in advance.

A:Excel checkboxes

Read other 6 answers

I have 2 tables one with employee information, and one with contract information. Only certain employees are trained at certain contracts. What I would like is when I pull up contract information there is a list of employees who are trained at that contract, and when I pull up the employee information there is a list of the contracts that they are trained at. I want these to be checkboxes and to only display the contracts they are trained at, not all contracts.

What's the best way to go about this?

A:Access checkboxes

Read other 10 answers

hi all

rather than have a number of buttons or commandbuttons cluttering up a sheet, i have set up a userform that can be called where option buttons give the user a choice of what they want to do, my problem is on the main sheet are a mix of form check boxes and activex checkboxes, from the userform using 1 option button when it is checked i would like all the checkboxes on the sheet to be set to false,
i have tried code that works on the sheet module but can't figure out how to get it to work throu' the userform
any help appreciated


A:checkboxes clear

Some like for all checkbox on sheet if xxx is true set all to false, but then in vba code form

Read other 1 answers


i have a checkbox on a form, when the checkbox is ticked how do i get it to display a "Y" in the table and a "N" when not ticked?


A:Access Checkboxes

Read other 10 answers


Please see the attached file.

In my Output Tab, I want to check mark a checkbox depending on the Data Tab.
I want to write the code in VBA,

Here is my VBA code:
Sub Autpen()
Dim wk As Excel.Workbook
Set wk = Application.ActiveWorkbook
'Not sure how to execute the checkboxes. Please advice, Thank you.
Set wk = Nothing
End Sub

Thank you

A:Excel: Checkboxes

Read other 6 answers

I have several checkboxes on a worksheet; ~50. I would like to set up a Command Button to reset all the checkboxes = to False. I'm looking for a better way to set all the checkboxes to false without having to type each one....CheckBox1.Object.Value = False.

Any ideas??

A:Active X Checkboxes-VBA

But I have seen others write code that iterates through all the objects on a form, checks the type of the object, and based on that type, performs some function. Something like:

Private Sub ClearAll ()
Dim ctl As Control

For Each ctl In Me.Controls
If ctl.ControlType = acCheckbox Then
ctl.Enabled = FALSE
End If
Next ctl
End Sub

Like I said, I haven't done this and this code probably has a lot of errors, but it should put you on the right track...

Read other 2 answers


There is a website I work on that have pages of checkboxes but no 'select all checkboxes' option. Is there a hot key or an add-on I could download that would select all of the check boxes on a webpage without manually clicking on each and every one of them?

Thank you!

- joshua -

Read other answers

Hello, I am making an Access database and I have a problem that I'm not sure how to solve.

I have a main form, which looks at records from a main table. All other tables in the database contain records, and each of those records pertains to one particular record in the main table. That is to say, all other tables exist in many-to-one relationships with the main table.

The main form has a subform which displays one record at a time from one of those other tables, specifically, records that correspond to whichever record the main form is displaying. Let's call the record that this subform is looking at 'Record A'. All fairly simple so far.

Now, on the subform, I have two checkboxes. They aren't for the user, these are automatic. One is for "Before an event" and one is "After an event". I want them to be automatically checked on or off, depending on whether records exist in a table (a list of events that correspond to records in the main table) that suit some requirements. Consider Record X, in this third table of events. Record X suits the requirements if:

Record X corresponds to the same item on the main table as Record A
The 'date' field of Record X is before (or after, depending on the checkbox) the date of Record A
So if there exists at least one event such that Record A is before it, then the "Before an event" box is checked on, and if there exists at least one event such that Record A is after it, then ... Read more

A:Access: Automatic checkboxes

Read other 10 answers


I want to create a MS Word doc with checkboxes which others can check and uncheck. I have found out that I can add checkboxes by using Control Toolbox. I believe I need to write some VB code in the click event of each checkbox. I have added coding like this:
if checkbox1.value then
checkbox1.value = false
checkbox1.value = true
end if

After I saved the doc, when I open the doc, it will ask me whether to enable or disable macro. After the doc is opened, clicking on a checkbox sometimes will bring up the code editor or sometimes simply does nothing.

My expectation is that when I send this doc to others, others can click on those checkboxes to check or uncheck but they won't able to see the VB coding.

Thank you for any help.

A:How to add checkboxes to MS Word 2000?

Read other 9 answers