Click here to Skip to main content
15,903,175 members

Comments by Member 12758480 (Top 7 by date)

Member 12758480 14-Jun-17 11:10am View    
yep so there are about 10 items that have number 1 in field 3 in my table , but that can be chanegd at any time which means the repater grows, thats easy, but how do you get asp, to create a new repeater when that value in field 3 to 2 (and there are 5 rows with value 2 of which can also change)

so create a new repeater at runtime if it finds a new value under field 3 in the table

hope tha helps as finding it difficult to explain myself lol..
Member 12758480 14-Jun-17 10:54am View    
thanks for that,

however, i wish it was that simple, every time field 3 changes it is a different topic... and therefore the header of the repeater is different . and i could just create a repeater for each value, but tomorrow a new topic could be created .


Member 12758480 24-May-17 11:59am View    
hi i managed to get it to update the Profile Path and Profile Path Home drive letter, but when i come to do the TerminalservicesProfile, it comes back with UNknown Name


       User.InvokeSet("TerminalServicesProfilePath", New Object() {pampath2})
        User.InvokeSet("TerminalServicesHomeDrive", New Object() {"H:"})


as always appreciate any help or slaps you can give me on this one
Member 12758480 23-May-17 18:40pm View    
thanks for your help, it turns out the binding is incorrect

however now that i have gotten further , would appreciate any more help you can offer please
Dim strPath As String = "LDAP://DOMAINCONTROLLER"
Dim strMyADPassword = "MYPASSOWRD"
Dim strMyADUserName = "MUADMINUSER"

Dim usertochange = "CN=User\, Test,OU=Users,DC=mydomain,DC=net"
Dim direntry As New System.DirectoryServices.DirectoryEntry(strPath, strMyADUserName, strMyADPassword, AuthenticationTypes.Secure)
Dim userDE As DirectoryEntry = direntry.Children.Find("CN=" & usertochange)

the new error is "no such object on server, and when i change to samAccountName it says incorrect DN , but the account does exist

any options you can think of that i may have missed please?
thanks in advance
Member 12758480 23-May-17 14:44pm View    
thanks for your insight here, it is really appreciated, i got it to show me some sort of error code now

Error HRESULT E_FAIL has been returned from a call to a COM component.

but i dont find anything useful.

my catch statement is as follows :
       Catch

            Dim InterEx As New System.Runtime.InteropServices.COMException

            LabelStatus.Text = InterEx.Message.ToString