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

Visual Basic

 
GeneralRe: Date in US vs. NL-format Pin
Mekong River18-Nov-04 20:33
Mekong River18-Nov-04 20:33 
GeneralRe: Date in US vs. NL-format Pin
Fabberianus18-Nov-04 20:46
Fabberianus18-Nov-04 20:46 
GeneralError message... 2K/XP Pin
LaFéeClochette18-Nov-04 9:59
LaFéeClochette18-Nov-04 9:59 
GeneralRe: Error message... 2K/XP Pin
Mekong River18-Nov-04 20:37
Mekong River18-Nov-04 20:37 
GeneralRe: Error message... 2K/XP Pin
LaFéeClochette19-Nov-04 2:25
LaFéeClochette19-Nov-04 2:25 
GeneralRe: Error message... 2K/XP Pin
LaFéeClochette23-Nov-04 9:16
LaFéeClochette23-Nov-04 9:16 
GeneralRe: Error message... 2K/XP Pin
LaFéeClochette23-Nov-04 9:17
LaFéeClochette23-Nov-04 9:17 
GeneralActive Directory User Object Problem Pin
x900018-Nov-04 5:36
x900018-Nov-04 5:36 
I'm writing an ASP.net web page to create new users, and its all going very well. I can create users, set almost all of the AD fields and configure a password. The one thing that is bugging me is the profile path field (profilePath in AD). Everytime it attempts to commitchanges, it bombs out. I've tried changing the format I send it in from \\servername\sharename\username to \\\\servername\\sharename\\username (this is how the output of csvde displays this AD field). Its not a permissions thing as I've set the path where the share and NTFS permissions are set to full control for everyone. I'm now configuring 20 or so AD fields, but this one is going to drive me mad!!!!
This is the section of code:-
Dim ADLocation As New DirectoryEntry("LDAP://DCNAME/" & LDAP_PATH, "domain\accountname", "password")
Dim NewUserAccount As DirectoryEntry = ADLocation.Children.Add("CN=" & txtSamAccountName.Text, "user")
.
.
NewUserAccount.Properties("profilepath").Add("\\servername\sharename\username")
NewUserAccount.CommitChanges()

Any help much appreciated.

QuestionHow to Make Setup with Product Key Pin
Murtuza Husain Miyan Patel18-Nov-04 4:31
professionalMurtuza Husain Miyan Patel18-Nov-04 4:31 
AnswerRe: How to Make Setup with Product Key Pin
Mekong River18-Nov-04 20:43
Mekong River18-Nov-04 20:43 
GeneralDisplaying DXF or DWG files... Pin
liddicott18-Nov-04 4:01
liddicott18-Nov-04 4:01 
GeneralRe: Displaying DXF or DWG files... Pin
Chaos Machine18-Nov-04 12:39
Chaos Machine18-Nov-04 12:39 
GeneralMultiple selection in MSFlexGrid Pin
balajeedurai17-Nov-04 22:27
balajeedurai17-Nov-04 22:27 
GeneralRe: Multiple selection in MSFlexGrid Pin
Mekong River18-Nov-04 20:47
Mekong River18-Nov-04 20:47 
GeneralRe: Multiple selection in MSFlexGrid Pin
balajeedurai18-Nov-04 21:26
balajeedurai18-Nov-04 21:26 
Generallinklabel in RichTextBox Pin
Sumit Domyan17-Nov-04 19:40
Sumit Domyan17-Nov-04 19:40 
GeneralImage Control Pin
Raza Ashraf17-Nov-04 14:58
Raza Ashraf17-Nov-04 14:58 
GeneralRe: Image Control Pin
SSSSSS417-Nov-04 19:13
SSSSSS417-Nov-04 19:13 
GeneralRe: Image Control Pin
MohammadAmiry18-Nov-04 0:02
MohammadAmiry18-Nov-04 0:02 
GeneralRe: Image Control Pin
bat-nuco18-Nov-04 3:07
sussbat-nuco18-Nov-04 3:07 
GeneralRe: Image Control Pin
Mekong River18-Nov-04 20:55
Mekong River18-Nov-04 20:55 
GeneralOleCreatePictreIndirect VB6 to VB.NET Pin
djw117-Nov-04 11:14
djw117-Nov-04 11:14 
GeneralDisconnected Data: Help! Pin
Rommel the iCeMAn17-Nov-04 11:04
Rommel the iCeMAn17-Nov-04 11:04 
GeneralRe: Disconnected Data: Help! Pin
R. Thomas17-Nov-04 19:36
R. Thomas17-Nov-04 19:36 
GeneralRe: Disconnected Data: Help! Pin
Rommel the iCeMAn18-Nov-04 2:55
Rommel the iCeMAn18-Nov-04 2: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.