forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


API Question

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up
View previous topic :: View next topic  
Author Message
chucks0
Newbie


Joined: 08 Jun 2002
Posts: 23

PostPosted: Mon Nov 03, 2003 6:35 pm    Post subject: API Question Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Nov 03, 2003 7:49 pm    Post subject: Reply with quote

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. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
chucks0
Newbie


Joined: 08 Jun 2002
Posts: 23

PostPosted: Tue Nov 04, 2003 2:50 am    Post subject: Reply with quote

So I assume that I would have to write my own DLL to do this?
Back to top
View user's profile Send private message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Tue Nov 04, 2003 12:45 pm    Post subject: Reply with quote

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... Laughing
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Nov 04, 2003 7:59 pm    Post subject: Reply with quote

Very Happy

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... Laughing

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group