Set the field's DisplayControl property. Reference the Microsoft Access xx.x ObjectLibrary (COM) and run the following code.
Imports Access = Microsoft.Office.Interop.Access
Imports Microsoft.Office.Interop.Access.Dao
Imports System.Runtime.InteropServices
Module Module1
Sub Main()
Dim acc As New Access.Application
acc.OpenCurrentDatabase("your database file")
Dim db As Database = acc.CurrentDb
Dim tableDefs = db.TableDefs
Dim tableDef As TableDef = tableDefs("BlahTable")
Dim fields As Fields = tableDef.Fields
Dim field As Field = fields("BlahOption")
Dim props As Properties = field.Properties
Try
props.Delete("DisplayControl")
Catch ex As Exception
Finally
Dim newProp As Access.Dao.Property =
field.CreateProperty("DisplayControl",
DataTypeEnum.dbInteger,
Access.AcControlType.acCheckBox)
props.Append(newProp)
ReleaseComObject(newProp)
End Try
ReleaseComObject(props)
ReleaseComObject(field)
ReleaseComObject(fields)
ReleaseComObject(tableDef)
ReleaseComObject(tableDefs)
ReleaseComObject(db)
acc.Quit()
ReleaseComObject(acc)
End Sub
Sub ReleaseComObject(Of T)(ByRef obj As T)
If Marshal.IsComObject(obj) Then
Marshal.ReleaseComObject(obj)
End If
obj = Nothing
End Sub
End Module