I need to create code that can search & replace items in AD, like change the email address on the AD users' General tab.
I can not find a working example of this in VB.Net. Can anyone refer me to a link pls?
Thanks.
It's got nothing to do with SELECT statements. What I'm doing is enumerating the field names of a table- nothing to do with the data in the fields. ADOX enumerates the fields in alphabetical order whereby I need to enumerate them in their ordinal order.
I have posted the solution in the VBCity...
I'm using the following VB.Net code to retreive the field names of a table in an Access db:
Dim NewField As ADOX.Column
Dim tblField As ADOX.Column
For Each tblField In adocat.Tables("tblData").Columns
The fields are returned in alphabetical order! I want to have the fields returned in the...
This is what I've got so far:
Code:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim DBS As New ADODB.Connection
Dim RS As ADODB.Recordset
Dim table As String
Dim Cmpteur As Integer
Dim intcom As Integer
Dim strDBPath As...
I need to upgrade an Access DB. I need to copy all the tables and their fields from the existing DB to a new one. Some of the fields need to be removed and I need to add some in their place.
So my idea is to cycle thru all tables in the existing DB, and copy each field across to the new DB...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.