-
WSJayden
AskWoody LoungerFebruary 4, 2003 at 5:46 am in reply to: Usercontrol Visible property alwasys returns false (VB 6 SP5) #650251Yeah, except it isn’t a stand alone ocx, or dll or anything, rather it is just part of the VB project as a User Control object.
I am testing the Usercontrol / ActiveX control’s visible property (ie. not a constituent control on the Usercontrol).
-
WSJayden
AskWoody LoungerFebruary 4, 2003 at 4:33 am in reply to: Usercontrol Visible property alwasys returns false (VB 6 SP5) #650245In your VB project explorer, right click the project and choose add –> user control.
Select ‘User Contro’ and click OK, a new user control is added to your project.
This may also be referred to as another name?
-
WSJayden
AskWoody LoungerFebruary 3, 2003 at 6:30 pm in reply to: Usercontrol Visible property alwasys returns false (VB 6 SP5) #650086This has nothing to do with MS Excel. I am using VB6. The usercontrol is named ctlSheet1 (which you may have mistaken for something from Excel?).
There is not password and no read-only files.
-
WSJayden
AskWoody LoungerI’ve never really used Data Access Pages, but as an idea, if the table you are reading out of has an autonumber field, you could base the DAP on a query that has a criteria of the ‘autonumber’ field being NULL. Once a record is ‘updated’ for the first time, the Autonumber field is then given a value other than NULL.
I have to stress that I haven’t ever tried this, but it may work?
-
WSJayden
AskWoody LoungerI have certainly found the culprit to part of my problems.
I say this rather sheepishly, as the answer is a bit embarrising.
Anyway, along the way, I’ve discovered a great tool for sorting issues like this out (or at least trying to diagnose what is causing the problem). It is msconfig utility…go to the run prompt and type msconfig and it comes up!
It lets you disable services, startups from registry, win.ini and other ini files on the next boot up!
Anyway..I discovered that it was Zonealarm that was causing the problems with starting and stopping the IIS Admin service (but not the ‘folder’ problems). I traced this back to me stupidly ‘denying’ access to the internet for the IIS Admin service…however, not realising (although I should have) that this service communicates to 127.0.0.1 (localhost). I did not have this IP set up as a trusted IP, so the service could never start up or shut down. OOOPS
I still haven’t found the culprit for the folder properties, but this to me is a minor issue.
I hope this might help others out that may run into the same problem somewhere along the line.
Cheers
Jayden
-
WSJayden
AskWoody LoungerHmmm, yeah. The laptop and desktop are both very new and the desktop has fairly ‘standard’ brand-name components in it. I’d be surprised if it was the hardware.
My money is on some software somewhere. I’ve got Norton Anti-virus on the desktop and PC-Cillin on the laptap, but I’ll try uninstalling Norton on the desktop to see if that helps.
Thanks for the suggestions.
J
-
WSJayden
AskWoody LoungerAlso, if I try to uninstall IIS after the IISAdmin service has started, the PC thinks for a long time, then resets itself ! (ie. catastrophically crashes)
-
WSJayden
AskWoody LoungerIt is just a straight vanilla install of XP Pro.
I have tried it both on my laptop and desktop computers that are both running XP Pro.
Any attempt to stop the IISAdmin service (inetinfo.exe) doesn’t work. The service won’t stop once it is started! I have to start XP Pro in safe mode to actually remove the service (and IIS) – as safe mode does not run the IISAdmin service
It must be an incompatibility between software I have on my machines and inetinfo.exe. What I am really hoping is that someone may be able to tell me which piece of software may be causing it…but if not, I may just have to start the very long and laborious task of starting with a fresh install, then install each piece of software one at a time, see when IIS stops working.
-
WSJayden
AskWoody LoungerAnother option may be to use the Telephony API (TAPI). There are a number of articles on the web about it’s use. It is free supplied by microsoft.
-
WSJayden
AskWoody LoungerHi
If there was a missing reference, I would expect the behaviour to be the same from the immediate window also, but the function runs fine when run from the immediate window?
A guy i work with had a problem the other day, similar to this, but nothing to do with missing references. When trying to use the ‘replace’ function from a query in Acc 2000, he got the same error message, although, when using it from VBA there was no problem. The only solution was to wrap the replace function inside a custom function and call the custom function! it appears that some in-built functions in Acc do not work directly from queries.
Although this is not exactly the same situation as you, it sounds a little bit similar, but you are calling a custom function from a query.
I don’t know how much help this is, but it might ‘jog’ someone elses memory about this problem?
Cheers
-
WSJayden
AskWoody LoungerNovember 1, 2002 at 8:06 pm in reply to: treeview control–subnode click event poss? (Access 2000 SR 1) #628477Another way to do it, that I have used in the past in Access is to use the Click event of the TreeView control, then use the property .SelectedItem, to return the node that is selected: ie.
Private Sub tvw_Click()
Dim ndeSel as Objectset ndeSel = tvw.SelectedItem
msgbox ndeSel.Keyset ndeSel = nothing
End Sub -
WSJayden
AskWoody LoungerNovember 1, 2002 at 8:04 pm in reply to: treeview control–subnode click event poss? (Access 2000 SR 1) #628474All nodes share the save event….they do not have a click event each. To determine which node was clicked, as part of the event, a node object is returned, you can use this to determine which node was clicked.
TreeView.NodeClick = Event NodeClick(Node as Object)
Important to note, that this event is actually an event of the TreeView control and not the Nodes themselves!
-
WSJayden
AskWoody LoungerThere might be an easier way (see Charlottes post). This is just the first way that came to mind.
Once you get over the ‘scarey’ VBA stuff, it is actually not that hard
Cheers
Jayden
-
WSJayden
AskWoody Loungerhere is an example database, open the form rptRangeExample
The first thing to notice is that at the bottom of the page, I am using a calculated control. The control uses two functions StartName and EndName functions.
These functions return values stored in module level variables (ie. variables that exist as long as the report does).
The Format event of the detail section stores the current name, if the mblnStoreNextName variable is set to true (this is set to true when the report is opened and at the end of each page).
The On Format event of the PageFooter section stores the last name in the last name variable, and sets the mblnStoreNextName variable to true (so that the name at the top of the next page will be stored).
Hope this helps.
-
WSJayden
AskWoody LoungerI would tend to use module level variable to store the data, using the format events of the detail and page sections.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
The time has come for AI-generated art
by
Catherine Barrett
2 hours, 14 minutes ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
2 hours, 15 minutes ago -
23 and you
by
Max Stul Oppenheimer
2 hours, 16 minutes ago -
April’s deluge of patches
by
Susan Bradley
2 hours, 17 minutes ago -
April’s deluge of patches
by
Susan Bradley
1 hour, 37 minutes ago -
Windows 11 Windows Updater question
by
Tex265
10 hours, 28 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
17 hours, 23 minutes ago -
Registry Patches for Windows 10
by
Drcard:))
21 hours, 54 minutes ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
4 hours, 28 minutes ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
15 hours, 16 minutes ago -
Align objects on a OneNote page
by
CWBillow
1 day, 3 hours ago -
OneNote Send To button?
by
CWBillow
1 day, 4 hours ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
1 day, 12 hours ago -
No Newsletters since 27 January
by
rog7
1 day, 8 hours ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
13 hours, 11 minutes ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
11 hours, 51 minutes ago -
Google One Storage Questions
by
LHiggins
2 hours, 58 minutes ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
3 hours, 5 minutes ago -
Ancient SSD thinks it’s new
by
WSila
17 hours, 47 minutes ago -
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
2 days, 3 hours ago -
WinRE KB5057589 fake out
by
Susan Bradley
2 hours, 31 minutes ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
1 day, 11 hours ago -
Firefox 137
by
Charlie
14 hours, 11 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
2 days, 15 hours ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
2 days, 16 hours ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
2 days, 16 hours ago -
New Windows 11 PC setup — can I start over in the middle to set up a local id?
by
ctRanger
1 day, 11 hours ago -
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
2 days, 19 hours ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
3 days, 1 hour ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
3 days, 11 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.