Click here to Skip to main content
15,913,773 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: sending file to my application by right clickling like send to zip file option in windows Pin
Rizwan Bashir19-Oct-05 3:00
Rizwan Bashir19-Oct-05 3:00 
Questionpopulating combobox Pin
sai_sailendra17-Oct-05 4:53
sai_sailendra17-Oct-05 4:53 
QuestionGraphic Spectrum Analyser like Winamp Pin
men199917-Oct-05 4:35
men199917-Oct-05 4:35 
AnswerRe: Graphic Spectrum Analyser like Winamp Pin
Dave Kreskowiak17-Oct-05 5:15
mveDave Kreskowiak17-Oct-05 5:15 
QuestionLinking Datagrids with SQL Connection Pin
Isobar17-Oct-05 1:51
Isobar17-Oct-05 1:51 
AnswerRe: Linking Datagrids with SQL Connection Pin
Dave Kreskowiak17-Oct-05 5:08
mveDave Kreskowiak17-Oct-05 5:08 
QuestionGet Root LDAP path. Pin
japel17-Oct-05 1:45
japel17-Oct-05 1:45 
AnswerRe: Get Root LDAP path. Pin
progload17-Oct-05 8:32
progload17-Oct-05 8:32 
'// I don't have AD Running here at the moment
'// to test this, but it should be
'// something like this:


Imports System.Runtime.InteropServices


Public Shared Sub dsRootPath()

Dim dsbi As New LibWrap.DSBrowseInfo

Dim return As Integer = LibWrap.DsBrowseForContainerW(dsbi)

' see DSBrowseInfo structure
Debug.WriteLine("Root Path: " & dsbi.rootPath)

End Sub

Public Class LibWrap
' Declares a managed prototype for the unmanaged function.

Public Shared DSBI_ENTIREDIRECTORY As Integer = &H90000

<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> _
Public Structure DSBrowseInfo
Public structSize As Integer
Public dlgOwner As IntPtr
Public dlgCaption As String
Public treeViewTitle As String
Public rootPath As String
Public path As String
Public pathSize As Integer
Public flags As Integer
Public callback As IntPtr
Public lParam As IntPtr
Public returnFormat As Integer
Public userName As String
Public password As String
Public objectClass As String
Public objectClassSize As Integer
End Structure

Declare Unicode Function DsBrowseForContainerW Lib "dsuiext.dll" ( _
ByRef info As DSBrowseInfo) As Integer

End Class 'LibWrap

Hope that helps
GeneralRe: Get Root LDAP path. Pin
japel17-Oct-05 12:19
japel17-Oct-05 12:19 
GeneralRe: Get Root LDAP path. Pin
progload17-Oct-05 13:16
progload17-Oct-05 13:16 
QuestionFormatting the Date type variable Pin
mcwayne17-Oct-05 1:34
mcwayne17-Oct-05 1:34 
AnswerRe: Formatting the Date type variable Pin
Dave Kreskowiak17-Oct-05 1:38
mveDave Kreskowiak17-Oct-05 1:38 
AnswerRe: Formatting the Date type variable Pin
Dave Kreskowiak17-Oct-05 5:05
mveDave Kreskowiak17-Oct-05 5:05 
GeneralRe: Formatting the Date type variable Pin
mcwayne17-Oct-05 6:06
mcwayne17-Oct-05 6:06 
GeneralRe: Formatting the Date type variable Pin
Dave Kreskowiak17-Oct-05 7:53
mveDave Kreskowiak17-Oct-05 7:53 
QuestionSimplest Object ! Pin
Guerven17-Oct-05 0:17
Guerven17-Oct-05 0:17 
AnswerRe: Simplest Object ! Pin
Dave Kreskowiak17-Oct-05 1:20
mveDave Kreskowiak17-Oct-05 1:20 
GeneralRe: Simplest Object ! Pin
Guerven17-Oct-05 14:48
Guerven17-Oct-05 14:48 
GeneralRe: Simplest Object ! Pin
Dave Kreskowiak18-Oct-05 11:31
mveDave Kreskowiak18-Oct-05 11:31 
QuestionUse-paramArray Pin
himanshu_softin16-Oct-05 23:52
himanshu_softin16-Oct-05 23:52 
AnswerRe: Use-paramArray Pin
Dave Kreskowiak17-Oct-05 1:17
mveDave Kreskowiak17-Oct-05 1:17 
QuestionparamArray Pin
himanshu_softin16-Oct-05 23:49
himanshu_softin16-Oct-05 23:49 
QuestionDeploy Application in VB.NET Pin
Rohan_bhat_3116-Oct-05 23:36
Rohan_bhat_3116-Oct-05 23:36 
AnswerRe: Deploy Application in VB.NET Pin
Anonymous16-Oct-05 23:48
Anonymous16-Oct-05 23:48 
GeneralRe: Deploy Application in VB.NET Pin
Rohan_bhat_3117-Oct-05 0:08
Rohan_bhat_3117-Oct-05 0:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.