VS .NET 2003 vb question - opening a database/getting version info

  • Thread starter Thread starter EMW
  • Start date Start date
E

EMW

Hi,

I just started on my very first .NET application and it is for my pocket pc.
I managed to create my forms and show then when I want to, but there are two
things I cannot seem to find:

1) In eVB one can get the version info like this: CStr(app.major) + "." +
CStr(App.Minor) + " " + App.LegalCopyright
How is this done in VB.NET 2003?

2) In eVB one can open a database with CREATEOBJECT("ADOCE.CONNECTION.3.1")
I cannot seem to find this in vsNET 2003.
How does one open a CDB database in VB.NET 2003?

I hope someone can help me with these questions!

Thanks in advance.
Eric
 
I've done quite a bit of work with the CF, and the
following link should help with what's available...

http://msdn.microsoft.com/library/en-
us/dv_spchk/html/NET_Compact_Framework.htm

I went with SQL CE for my PocketPC application. ADOCE is
available, but I believe you'd be doing Interop.

Use the following for retrieving the assembly version...

System.Reflection.Assembly.GetExecutingAssembly().GetName
().Version

HTH,
Jason.
 
thanks I'll take a look

rg,
Eric

Jason Reis said:
I've done quite a bit of work with the CF, and the
following link should help with what's available...

http://msdn.microsoft.com/library/en-
us/dv_spchk/html/NET_Compact_Framework.htm

I went with SQL CE for my PocketPC application. ADOCE is
available, but I believe you'd be doing Interop.

Use the following for retrieving the assembly version...

System.Reflection.Assembly.GetExecutingAssembly().GetName
().Version

HTH,
Jason.
 
Back
Top