Search results

  1. J

    Active Directory toolbox

    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.
  2. J

    Fields in Access database returned in alphabetical order

    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...
  3. J

    Fields in Access database returned in alphabetical order

    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...
  4. J

    Add x number of fields from table aaa to the end of table bbb

    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...
  5. J

    Copy Access DB field-by-field.

    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...
Top Bottom