Hi
I am looking forward a code example from how to use MsAccess reference in VB.net (in a Webform because I want to publish my application in a web in an internet server). I mean, in Vb 6.0 I used:
Dim AccessApplication as Access.Application
Dim DB as Database
Dim Table as Recordset
Set AccessApplication = CreateObjet("Access.Application")
Set DB=AccessAplication.OpenCurrentDatabase("Nameofthedatabase.mdb")
Set Table=DB.Openrecordset("Nameofthetableinthedatabase")
Ok, what I need is to convert this code to VB.NET (2.0) if it is possible.
I already know there is another way to obtain information from an MSAccess database (using system.oledb.oledbconnection), but I need also run an MsAccess macro and I think this is the only way to manage it.
If anybody know how to do please email me to joserrarey@euskalnet.net.
Thank you in advance.
SPARKY
I am looking forward a code example from how to use MsAccess reference in VB.net (in a Webform because I want to publish my application in a web in an internet server). I mean, in Vb 6.0 I used:
Dim AccessApplication as Access.Application
Dim DB as Database
Dim Table as Recordset
Set AccessApplication = CreateObjet("Access.Application")
Set DB=AccessAplication.OpenCurrentDatabase("Nameofthedatabase.mdb")
Set Table=DB.Openrecordset("Nameofthetableinthedatabase")
Ok, what I need is to convert this code to VB.NET (2.0) if it is possible.
I already know there is another way to obtain information from an MSAccess database (using system.oledb.oledbconnection), but I need also run an MsAccess macro and I think this is the only way to manage it.
If anybody know how to do please email me to joserrarey@euskalnet.net.
Thank you in advance.
SPARKY