| View previous topic :: View next topic |
| Author |
Message |
chucks0 Newbie
Joined: 08 Jun 2002 Posts: 23
|
Posted: Mon Nov 03, 2003 6:35 pm Post subject: API Question |
|
|
I have a VBScript that I have been using that reads information from a Novell eDirectory Tree. It uses the Novell ActiveX controls. Example code follows:
| Code: | Sub GetNDSUsers(pContext)
Dim objNDS
Set objNDS = CreateObject("NwDirLib.NwDirCtrl.1")
Set rsNDS = CreateObject("ADODB.Recordset")
rsNDS.Fields.Append "UserID", 200, 15
rsNDS.CursorLocation = 3
rsNDS.CursorType = 3
rsNDS.Open
objNDS.FullName = pContext
objNDS.Filters = "User"
For Each Entry In objNDS.Entries
If IsNumeric(Entry.ShortName) Then
rsNDS.AddNew
rsNDS("UserID") = Entry.ShortName
rsNDS.Update
End If
Next
Set objNDS = Nothing
rsNDS.Sort = "UserID"
End Sub
|
Is there a way to use the same ActiveX controls from within VDS5? |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Nov 03, 2003 7:49 pm Post subject: |
|
|
As far as my knowledge goes, VDS 5 cannot access ActiveX components
by itself. However, you can have a DLL that accesses it then call that
DLL.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
chucks0 Newbie
Joined: 08 Jun 2002 Posts: 23
|
Posted: Tue Nov 04, 2003 2:50 am Post subject: |
|
|
| So I assume that I would have to write my own DLL to do this? |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Tue Nov 04, 2003 12:45 pm Post subject: |
|
|
ActiveX... Well sometime soon, can't tell you when exactly, there will be an excellent VDS extension coming our way that will support calling ActiveX and more...
Sorry can't say more... the creator of this extension would probably shoot me if I do...  |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Nov 04, 2003 7:59 pm Post subject: |
|
|
| marty wrote: | ActiveX... Well sometime soon, can't tell you when exactly, there will be an excellent VDS extension coming our way that will support calling ActiveX and more...
Sorry can't say more... the creator of this extension would probably shoot me if I do...  |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|