Click here to Skip to main content
16,005,121 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionReferenced class won't let go of file [modified] Pin
KreativeKai19-Jun-08 3:24
professionalKreativeKai19-Jun-08 3:24 
AnswerRe: Referenced class won't let go of file Pin
Colin Angus Mackay19-Jun-08 4:05
Colin Angus Mackay19-Jun-08 4:05 
GeneralRe: Referenced class won't let go of file Pin
KreativeKai19-Jun-08 4:17
professionalKreativeKai19-Jun-08 4:17 
GeneralRe: Referenced class won't let go of file Pin
Colin Angus Mackay19-Jun-08 5:39
Colin Angus Mackay19-Jun-08 5:39 
GeneralRe: Referenced class won't let go of file Pin
KreativeKai20-Jun-08 4:05
professionalKreativeKai20-Jun-08 4:05 
AnswerRe: Referenced class won't let go of file Pin
TheFarsider19-Jun-08 5:39
TheFarsider19-Jun-08 5:39 
GeneralRe: Referenced class won't let go of file Pin
KreativeKai20-Jun-08 3:58
professionalKreativeKai20-Jun-08 3:58 
QuestionCOMException Pin
Kevviy19-Jun-08 1:23
Kevviy19-Jun-08 1:23 
Hi there. I am trying to add users to ADSI via a VB web form. Now i have tried many ways but no luck. I have a good felling that the code im using now will work. But i keep getting a "COMException was unhandled by user code."

ADspath = "LDAP://xxx.xxx/ou=people,dc=xxx.xxx,dc=com"

con = CreateObject("ADODB.Connection")
con.Provider = "ADsDSOObject"
con.Properties("User ID") = "uid=00-0F-FE-AB-A8-5A,ou=users,dc=devlab.local,dc=com"
con.Properties("User ID") = "uid=administrator,ou=users,dc=devlab.local,dc=com"
con.Properties("Password") = "UID=Password"
con.Properties("ADSI Flag") = 34
con.Properties("ADSI Flag") = 546

con.Open("ADSI")

com = CreateObject("ADODB.Command")
com.ActiveConnection = con

com.CommandText = "<" & ADspath & ">;(uid=" & Password & ");Adspath,CN,givenname,xxxyyyIID;subtree"


rs = com.Execute 'This is where I get the COM error.


Please if any one has dealt with this beast or has a solution, please let me know.
Regards
Kev
AnswerRe: COMException Pin
Noctris19-Jun-08 2:53
Noctris19-Jun-08 2:53 
AnswerRe: COMException Pin
Noctris19-Jun-08 2:54
Noctris19-Jun-08 2:54 
QuestionVB6: How to write a file joiner and splitter? Pin
oohungoo19-Jun-08 1:10
oohungoo19-Jun-08 1:10 
AnswerRe: VB6: How to write a file joiner and splitter? Pin
jzonthemtn19-Jun-08 4:26
jzonthemtn19-Jun-08 4:26 
QuestionWho knows to serial file transfer code Pin
rizal wibksana19-Jun-08 1:06
rizal wibksana19-Jun-08 1:06 
AnswerRe: Who knows to serial file transfer code Pin
jzonthemtn19-Jun-08 4:32
jzonthemtn19-Jun-08 4:32 
QuestionDrop items on specific location in listview Pin
Noctris18-Jun-08 23:13
Noctris18-Jun-08 23:13 
Questionread bitmap and display it back problem Pin
shee_dee8618-Jun-08 21:34
shee_dee8618-Jun-08 21:34 
Questionsql Pin
jacko87318-Jun-08 20:59
jacko87318-Jun-08 20:59 
AnswerRe: sql Pin
Noctris18-Jun-08 22:58
Noctris18-Jun-08 22:58 
GeneralRe: sql Pin
Ashfield18-Jun-08 23:18
Ashfield18-Jun-08 23:18 
GeneralRe: sql Pin
Noctris19-Jun-08 0:01
Noctris19-Jun-08 0:01 
GeneralRe: sql Pin
jacko87319-Jun-08 9:38
jacko87319-Jun-08 9:38 
GeneralRe: sql Pin
Noctris21-Jun-08 23:42
Noctris21-Jun-08 23:42 
QuestionRegarding Outlook progrmamming using .net Pin
Ansari Mohammad Aamir18-Jun-08 19:37
Ansari Mohammad Aamir18-Jun-08 19:37 
QuestionLock controls in a form Pin
Sebastian T Xavier18-Jun-08 19:01
Sebastian T Xavier18-Jun-08 19:01 
AnswerRe: Lock controls in a form Pin
Tom Deketelaere18-Jun-08 20:55
professionalTom Deketelaere18-Jun-08 20:55 

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.