473,387 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How do you Print without using Print Dialog

10
It's me again, you guys really helped a lot the last time I posted, and was needing a little more help.

I've got 2 comboxes and a listbox.
The user selects from the 2 and is being displayed in the Listbox.

I want each time they press enter, that what they select will be saved to a file.

I want to put a print button on the form and print what is in the listbox.

Also, just to let you know, I do not have a toolbar on this form. Unless you guys think it would be easier than using the print button.

Thanks again for all your help with me on this project. I am learning a lot, but still so much more to learn.
May 23 '07 #1
3 1451
Frinavale
9,735 Expert Mod 8TB
It's me again, you guys really helped a lot the last time I posted, and was needing a little more help.

I've got 2 comboxes and a listbox.
The user selects from the 2 and is being displayed in the Listbox.

I want each time they press enter, that what they select will be saved to a file.

I want to put a print button on the form and print what is in the listbox.

Also, just to let you know, I do not have a toolbar on this form. Unless you guys think it would be easier than using the print button.

Thanks again for all your help with me on this project. I am learning a lot, but still so much more to learn.
Hi there!

There are a lot of things that you'd like to do.

The experts here are more than willing to help you out with any implementation problems you're experiencing but we can not do the project for you.

What have you tried so far?
What are the errors you're getting?
Is this a Windows application or a Web application?

You're questions are too vague.
Please be more specific.

Thanks,

-Frinny
May 23 '07 #2
brvan41
10
I do realize that I have asked for a lot of help and I do apollagize for doing so.
I do have a lot of functionality on this project that I didn't share. At least, I think so,as I am new.

I have put all my items in a database and am able to write to and retrieve from. It was kinda frustrating at first, because I didnt realize that the data I was pulling from was access 99 or something, but I am using access 2007 and finally found that 99 or maybe even 2000 saves their database as .mdb. 2007 saves their data as .accmdb and kept telling me it did not recognize the file. Always had to click on "Show all files".Took me about a week to find it, but I'm new and still learning.
Thats just for that funtion.

I was able to save the items to a file. I was excited for doing that.

I was just wanting to put a print button on the form and print the items in my Listbox.
Sounds easy and maybe it is.
I've tried everything. I added all the print objects to the form, printdocument,print dialog, openfile dialog, pagesetup dialog.

I didnt really want all that functionality. Just print document, the items in listbox.

Anyway, I'm sorry for asking help and I do not want anyone doing this project for me. Just point me in the right direction or maybe some examples.

I've been searching for 2 or 3 days now and can't find any.

Thank You Anyway and GodBless
Brett
May 24 '07 #3
Frinavale
9,735 Expert Mod 8TB
I do realize that I have asked for a lot of help and I do apollagize for doing so.
I do have a lot of functionality on this project that I didn't share. At least, I think so,as I am new .

I have put all my items in a database and am able to write to and retrieve from. It was kinda frustrating at first, because I didnt realize that the data I was pulling from was access 99 or something, but I am using access 2007 and finally found that 99 or maybe even 2000 saves their database as .mdb. 2007 saves their data as .accmdb and kept telling me it did not recognize the file. Always had to click on "Show all files".Took me about a week to find it, but I'm new and still learning.
Thats just for that funtion.

I was able to save the items to a file. I was excited for doing that.

I was just wanting to put a print button on the form and print the items in my Listbox.
Sounds easy and maybe it is.
I've tried everything. I added all the print objects to the form, printdocument,print dialog, openfile dialog, pagesetup dialog.

I didnt really want all that functionality. Just print document, the items in listbox.

Anyway, I'm sorry for asking help and I do not want anyone doing this project for me. J

ust point me in the right direction or maybe some examples.

I've been searching for 2 or 3 days now and can't find any.

Thank You Anyway and GodBless
Brett
Brett we would love to help you with all of your problems so don't feel bad for asking so many questions!

It just that putting a whole bunch of questions into one post is overwhelming for us because we don't know exactly what your having problems with.

Ask your questions in individual posts.
Try to keep the questions specific and short.
Pick a title for your thread that reflects the problem your experiencing.

Now that you've explained that your having problems with printing we can better help you!

(I have changed the title of your thread to be How to Print without using Print Dialog)

Unfortunately I have never tried to print anything in the way that you're trying to.

Have you seen this article on Printing in Visual Basic .NET?



Cheers!
-Frinny
May 24 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Alan | last post by:
While not rs.eof <td><%=rs("InvoiceNo")%></td> <td><%=rs("Name")%></td> <td><a href="InvoicePrint.asp?WInv=<%=rs("InvoiceNo")%>"></a></td> <td>Print this invoice</td> rs.MoveNext Wend Now...
0
by: edwards_zim via AccessMonster.com | last post by:
I have a dialog box where I specify the criteria I would like to filter. What I would like to do is use this information to then print forms using this filter information without the form actually...
13
by: cefrancke | last post by:
I have a custom toolbar for users during any preview of a report launched by a button click on a form. I would like to add a toolbar button to launch the Print Dialog (like 'Ctrl-P' or...
3
by: JOSHUA JACKS | last post by:
I accidentally removed the "Print" option from the default "File" menu (don't ask). When I replaced it, the replacement prints automatically without calling up the print dialog. I can still get...
4
by: rom | last post by:
I need to print a html table when the user clicks on a key. the problem is that i don't want the printer dialog box to appear. i guess this is impossible in javascript so i think to create an...
3
by: Mike | last post by:
Hi, Is there anyway to print from VB.NET or C# and bypass the printer dialog box? Thanks Mike
1
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out...
3
by: John Peterson | last post by:
Hello all! I'm at my wits end trying to search for what I assumed to be a relatively straightforward task. I have a Web application written in C#, and I have a button on the form that I want to...
1
by: ccherlet | last post by:
I'm trying to create a print link that sends the page to the printer without opening the print dialog box on the browser. I know that window.print() will open the print dialog and then the user...
3
by: ARC | last post by:
Hello all, Using the following command, is there any way to get the printer dialog to open? I most packages, when you click print, it will open the printer dialog, however Access sends the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.