Thanks for the info!
I got it working now. I did not realise that you could use the property bag in that way I had only used it between controls.
Main Topics
Browse All TopicsI have written an ActiveX Control in VB6 that will, with no input, automatically configure a clients Outlook Express mail account with information taken from Active Directory (I know their username from logging into a website). It works wonderfully on 2k/XP clients but, because Win98/95 (or soI am lead to believe) can not make use of active directory. It fails when trying to...
Set objADS = GetObject("LDAP:\\mydomain
---Property or method not found (Error 423)---
Is there a way to query the Active directory short of having the client install the Active Directory Client for Win98/95?
-OR-
Can I query the Active directory server side, with an .asp page and then pass the Home-MDB and Full name in Exchange to the .ocx control? If so how do you pass data to an .ocx from an .asp page?
I will award points if someone can simply answer the 2nd part although I would like to do this purely with the ActiveX control.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: cxbriggsPosted on 2003-04-20 at 09:17:56ID: 8362820
To answer the Active Directory question first.
(PropBag As PropertyBag) ", "")
No - you can not connect to ADS from a win98/95 or NT4 computer without installing DSCLIENT.EXE from the windows 2000 server disk. It is not freely available only the NT version can be downloaded from microsoft.
Yes - You can connect via an .asp page from Win98/95/NT/ME/XP/2k
The easiest way to pass data to an .ocx is by using the "PropertyBag". Unless you want to use cookies or session variables.
You put the vaialbes to pass in the <OBJECT> tag as parameters
<PARAM name="user" value="andy">
Then in the ActiveX grab it with
Private Sub UserControl_ReadProperties
passed_name = PropBag.ReadProperty("user
End Sub