Thanks for you follow-up. I am kind of at a road block (mentally) of where to go/what to do. I may be having problems because I am transitioning from VB6 to .Net 2005.
To clarify, I need to build a list of the three items mentioned above and pass it to a print class that will loop through the...
I have a class that prints invoices. I need to send the print class something (I think a list) that contains three items, which are InvoiceNumber as String, LotCharge as Boolean, CandianCurrency as Boolean.
So, to clarify, this would be a list of about 500 of the three items above. I am not...
Hi, Yesterday I learned how to print using the PrintDocument control in a form. Today I am tying to make it fit my application, which I am changing over from VB6 to VB2005.
In VB6 I have a Class Module that accepts an invoice number as an argument and it prints it. Can anyone point me in the...
Thanks DarkConsultant, I was able to print, now I have another question.
I am printing invoices from many different forms. Can I put the printing of the invoice in a module? I in VB6 I would pass it the invoice number and it would be printed.
Also, if I am printing in a form, do I have to...
Hey Dark,
I went over your example and it looks similar to what I am doing with a header, but I print my header on each page (it looks like you just print it on the first page.)
What I still don't understand, which I am sure I am just looking over it, is how the loop is ran and how it works...
Hi, I am really struggling over HasdMorePages in the PrintDocument control. What I need to do is print invoices for our customers. In VB6 I would set the printer and loop through the records. I manually determined if I needed a page break because I knew how many line items could fit on a page...
Thanks Woogoo, I was finally able to read the record (after 3 days of working on it), but I have a 'Warning' about the Implicit conversion from 'System.Array' to '1-dimensional array of Byte'....
I will have to see what this means and go from there.
Hi, I am trying to read a file that has fixed length records and is indexed. The array has 200 elements. My FileGet reads like this:
FileGet(FileNumber, FileData(0), RecordNumber)
I am only getting one character in place "0" and I don't even know if that is correct. Does anyone have any...
Hi, I am just now starting to program with VB.Net after using VB6 still for the past several years. One of the programs (Class) I am converting over gets the UserName from the registry. I have found the
System.Environment.UserName
but I am getting a security warning when I am testing it on...
Gerry,
I just wasn't trying to correct key movement, but after I went down I see the first example that you gave me. I think that I tried everything else including many key combinations with Enter, Shift, Ctl... Anyway, thanks for the tip, it works for me.
-Uncle Cake
Hi, I am trying to write my first application in VB6 that will create a Word file that has lots of text and a few tables. The overall goal is to create a quote in Word populated with data from our database.
My first goal is to write text followed by a table and then followed by more text using...
Hi,
I am pretty new to vb.net, but I have used VB6 for the last few years. I am trying to print to a wireless (WHFI) Zebra QL 220 printer from a Symbol wireless scanner (MC9060). I don't know if that is relevant, but I think that I can do most of it, but I can't figure out how to print to the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.