Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2007

Tip: Looking for answers? Try searching our database.

MS Access procedure from VB.net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
M. Wilson - 19 Oct 2007 03:57 GMT
Hello,

Can I run a procedure that resides in an Access database in VB.net?  If yes,
I would be ever so greatful if code was provided.

Thanks,
M. Wilson
Cor Ligthert[MVP] - 19 Oct 2007 04:47 GMT
M. Wilson,

It depends about what you are talking. MS Access has been a seperated
solution and is now a part of Office which is using databases. (Jet and SQL
server). The Stored procedures in those databases you can easily access
using the command.Executenonquery, the datareader or the executescalar.

You can create iterop to the office application and do then in fact
everything. Beside that you can start access with application.run including
the needed parameters.

Cor
M. Wilson - 19 Oct 2007 21:21 GMT
Hi Cor,

I am referring to procedures in modules that I created.  Can I call one from
Vb.net?

Thanks,
M. Wilson

> M. Wilson,
>
[quoted text clipped - 8 lines]
>
> Cor
Paul Clement - 19 Oct 2007 16:58 GMT
¤ Hello,
¤
¤ Can I run a procedure that resides in an Access database in VB.net?  If yes,
¤ I would be ever so greatful if code was provided.

How to run Office macros by using Automation from Visual Basic .NET
http://support.microsoft.com/kb/306682

Paul
~~~~
Microsoft MVP (Visual Basic)
Cor Ligthert[MVP] - 20 Oct 2007 06:43 GMT
Great link Paul,

Cor

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.