Avatar billede kbb2 Nybegynder
24. september 2002 - 12:21 Der er 9 kommentarer

Enum the network

I'm making a program that can browse the network.

I want to be able to browse both the NT4 domains and the active directory. I use the WNetEnumResource to get info about the NT4 network. What routines should I use the detect and browse the active directory? Is there a unified way or do I have to use seperate functions?

An example whould be great.
Avatar billede borrisholt Novice
24. september 2002 - 12:35 #1
goto http://borrisholt.com under Netword there you'll find a ready to go example of how to do !

Jens B
Avatar billede kbb2 Nybegynder
24. september 2002 - 12:43 #2
Thanks, but that code I already have implemented. I need a way to access the Active Directory. Preferably a unified way of accessing AD and NT4 domains.
Avatar billede borrisholt Novice
24. september 2002 - 12:57 #3
have you tried the MSDN ?

Jens B
Avatar billede kbb2 Nybegynder
24. september 2002 - 13:11 #4
No, I was hoping that someone had already done it in Delphi and had some code that were cut'n'pastable! (I'm lazy!)
Avatar billede borrisholt Novice
24. september 2002 - 13:17 #5
Perhaps I can find some thing if I knew the API calls :-)

Jens B
Avatar billede borrisholt Novice
24. september 2002 - 13:18 #6
I do have a lot of NT Specific code but I do not have time know to ´look i over .. So a little helt would be nice ...

Jens B
Avatar billede kbb2 Nybegynder
24. september 2002 - 13:19 #7
There is something called an ADSI... That's what I've been looking a little bit at
Avatar billede kbb2 Nybegynder
25. september 2002 - 14:51 #8
Jens does your program display hidden shares?
Avatar billede borrisholt Novice
26. september 2002 - 08:33 #9
Like the administrative ones ? No !


Jens B
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester