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...
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...
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...
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...
Hi, I am very new to VB.Net, but pretty experienced in VB6. I need to print an item number on paper in VB.Net, but I am having a lot of problems sorting through all of the examples on the net to just do a basic print string.
In the past (VB6) I have given the X and Y coordinates, the string and...
Hi,
I am using a scale for packages that we ship out with our UPS World Ship program. I would like to also use the same weight from the scale at the same time for a different in-house program.
I have look up what I could find, which are Wedge software, but it looks like it is more for serial...
Hi,
I built a time clock program for our employees and I used the time on the computer for the time in and outs. The problem is that they are changing the time on the computer and then timing in. I knew this was possible, I just didn't think that they were smart enough to do it.
Therefore, can...
Hi,
I posted a little about this yesterday, but I have made some steps closer to my goal. I am trying to print labels to a Zebra printer on our network.
What I am trying to accomplish is to send just text to the label printer, which has a generic/text driver installed for it. In my VB code, I...
Hi,
I know that this question isn't all VB, but I tried to get some info in the barcode forum, but there isn't any traffic there so I thought I could try here.
For the past 10 or 15 years we have used two Zebra label printers hooked up to a computer via serial port and have sent ZPL to it. We...
HI, For the past 10 or 15 years we have used two Zebra label printers hooked up to a computer via serial port and have sent ZPL to it. We have now decided to upgrade to newer Zebra printers so we can print images on the labels, which have pretty much done what I planned, but I am running into...
Hi,
I am opening one form from another form and passing properties using Get and Let statements, which works fine.
I need to pass an array that contains 100 stock locations from the one form to the other or some other way to pass 100 values to the form that was opened.
How and can I pass an...
Hi,
I have a PO form. In this PO form I need to press a button and open a search form (vbModal) and pass one argument to the it. I then need to search for a value in the search form, and return a value that was selected in the search form to the PO form.
I have the PO form working and search...
Hi,
Is there a way to select and update records at the same time?
I have a table called Invoices with Invoice and Modified fields. I would like to select all of the Invoices that have Modified = 1 and update Modified = 0.
I could do it in two statements, but if a new record was inserted...
Hi,
I have a table that contains InvNum, ItemNum, and Section. Here is an example
InvNum ItemNum Section
100 A100 1
100 B100 1
101 C100 1
101 F100 2
102 D100 2
102 D101 2
I need to write a SELECT statement that selects the InvNum of...
I have added a new part to a working program, which references the ADO 2.8 Library and when it runs on Win 98 I get an error of "Class does not support Automation or does not support expected interface."
It works fine on boxes that have XP. Do I have to reference an older ADO reference?
-Uncle...
Hi,
I have data that looks like the following:
Inv Num Item Num Qty Location
H100 TT3456 5 L199
H100 OG5050 9 L123
H100 OG5050 6 L123
H100 TT3456 6 L199
H100 OG5050 5 L123
What I need to do is sum the Qty...
Hi,
I need to resize controls in a form when it is resized, which I have never done. I have searched for other help and tutorials, but I haven't found much.
My over all goals are to have the form size proportionally only and have the controls fit within the form. My biggest culprit is a large...
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.