By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,504 Members | 1,410 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,504 IT Pros & Developers. It's quick & easy.

HOW CAN I PRINT ACCESS REPORT FROM VB.NET.

P: n/a

How can I print access mdb file from vb.net. I need help with full
functioning code,with comments. I am a beginner in database programming.
Please respond if you know how. I will appreciate it


--------------- FRANCIS

A religious man is a person who holds
God and man in one thought at one time,
at all times, who suffers harm done to
others, whose greatest passion is
compassion, whose greatest strength is
love and defiance of despair.

-----ABRAHAM JOSHUA HESCHEL----
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
IMO, you have to look how to use the /cmd, one of the switches to start
Access with a line command.

For example from VBA code instead of VB.net ;
b=shell("c:\program files\microsoft office\office\msaccess.exe
c:\YourDatabase,mdb /cmd 'MyCommand'")

And then in the form that is automatically open at your db, put an
instruction if command="MyCommand"

"FRANCIS NWAOKOBIA" <ef*********@centurytel.net> wrote in message
news:25********************@centurytel.net...

How can I print access mdb file from vb.net. I need help with full
functioning code,with comments. I am a beginner in database programming.
Please respond if you know how. I will appreciate it


--------------- FRANCIS

A religious man is a person who holds
God and man in one thought at one time,
at all times, who suffers harm done to
others, whose greatest passion is
compassion, whose greatest strength is
love and defiance of despair.

-----ABRAHAM JOSHUA HESCHEL----

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.