Forum Replies Created
-
AuthorReplies
-
Unfortunately, I have already tried installing the core components and it does not make any difference.
I have just tried adding the LDAP NWDir control to my form, but receive the error “Class Not Registered” when i try to place it on my form.
Any suggestions?
Thanks
John
I have discovered that the NWDir.ocx file is dependent on the Netware Client being installed on the client PC.
As i said before, we do not use the Netware client, so this poses a major problem.
Is there any other way to access the e-directory within Formativ?
I need to be able to retreive user details such as Names, Address and Telephone Numbers.
Thanks again,
John
Hi,
Yes we have but it fails. We’ve removed the silent switch in the batch file, and there is actually only one file which WILL register – NWBrowse.ocx
John
Hi,
Thanks for the replires so far.
We have finally managed to get the applet to run.
We have now encountered another problem however.
My applet uses the Nwdir.ocx to reference e-directory and retrieve details of the logged on user etc.
I am now receiving the following error when running the applet.
“ActiveX component can’t create object: ‘NWDirLib.NWDirCtrl.1’ at line 416, column 3”
We have tried using regsvr32.exe to register the nwdir.ocx on the client PC, but receive the following error:
“RegSvr32
LoadLibrary(“NWDir.ocx”) failed – The specified module could not be found.”Any suggestions?
Thanks again
John
I have already set up the LDAP part, and unfortunately I get an ldap_simple_bind error -either 32, 34 or 80, depending upon my combination of username/password/context entered.
Thanks
We have published the applet to e-directory using the console one snap-in.
However we find that on a workstation without the Netware client installed, the applet does not appear in Groupwise.
If we install the Netware client, but do not use it to log in, we can run the applet, but cannot retreive any data from e-directory using the NWDir COM object.
if we log in using the Netware client everything works as expected.
The problem is, we don’t want to use the Netware client at all.
Thanks
Again, thanks for the reply.
Will this work on a workstation with no Netware client installed, and just the Formativ runtime? Do i have to install the snap-in on the workstation.
My applet also makes calls to e-directory and the groupwise address book object.
Can you see this causing a problem?
Sorry about the questions, but I am relativley inexperienced with Groupwise and Formativ
Thanks
Hi,
Thanks for the reply.
The answer is no, they are normal Windows XP professional workstations.
Regards
Thanks for both suggestions. Ill give them a try.
Please forgive me, but I am relatively new to the Groupwise API.
The above code works well, but I have another query.
The example code above uses “addressbookentries.item(1)” to reference an entry in the selected address book.
My code enumerates the selected address book and populates a listview with the resulting contacts.
I have then tried to access individual contacts using your method by changing the items index like this: “addressbookentries.item(n)”
This does not work however, and if i use any number other than 1, i get an “index out of range” error. I have 2 entries in the selected address book, and i have tried numbers from 0 to 2.
I wonder if you could tell me where I may be going wrong?
Thanks again for your help so far.
John
Superb, thanks for all your help.
John
Actually, I seem to have spoken too soon
It works OK if the Home Address field in the address book contains a value, but throws an “Index out of range” error if it is empty.
Any ideas?
Thanks again
John
Thanks MA, that works a treat!
John
Works great!
Thanks for your help.
Thanks – i’ll give it a try.
-
AuthorReplies