hmmm ,,,
well i am probably an exception, for me VB is VB even if it has .Net
behind these two beloved letters
i only program VB6 or higher :-)
To answer your question Bob, ADO.NET lacks support for DDL this wil be
added in future versions for the time beeing you should grab back to ADOX
( hey we now that from VB6 :-) )
with ADOX you can read complete data definitions of the ACCESS database (
table names , fieldnames , fieldtypes , sizes etc etc )
In the near future this will be replaced by a managed schema object model
for ADO.NET will replace the ADO Extensions for DDL and Security (ADOX). The
future schema object model is based on the dataSet object and supports
read/write access to Table, Column, and Constraint objects.
M. Posseth MCP
"Rick Rothstein" <ri************@NOSPAMcomcast.net> wrote in message
news:nL********************@comcast.com...
Almost everybody in this newsgroup is using VB6 or lower. While you may
get a stray answer to VB.NET questions here, you should ask them in
newsgroups devoted exclusively to .NET programming. Look for newsgroups
with either the word "dotnet" or "vsnet" in their name.
For the microsoft news server, try these newsgroups...
microsoft.public.dotnet.general
microsoft.public.dotnet.languages.vb
microsoft.public.vsnet.general
There are some others, but these should get you started.
Rick - MVP
<bo*@metaprosystems.com> wrote in message
news:d6**************************@posting.google.c om... I am trying to find a simple way to determine the field size of a
field in an Access table. I am writing a VB.NET Windows application. I
would like a code snippet that I can get to work. I found some example
on the Web but I couldn't get them to work. I will be grateful if you
can help me with this.