Right click on the form controls (left side of the window) and choose Components....
Add all of the Common controls for VB6.
Now you'll find the date picker (DTpicker) among the form controls.
User Profile
Collapse
-
MerlinTheGreat replied to Printing to a ticket thermal printer from ancient VB6.0 - apparently loses bytesin Visual BasicSome questions:- Did you use the correct controlling characters for the command?
Manuals can be quite confusing. - Have you tried composing the print command first as a string, and then sending that string to the printer?
Sometimes the command gets mutilated when composing it directly to the printer.
Leave a comment:
- Did you use the correct controlling characters for the command?
-
A label has no Text property, but a Caption property.
Your code should read:
Code:Dim a As Object a = Len(Me.tbImperial.Text) lblImperialCount.[B]Caption[/B] = (1 + a)
Leave a comment:
-
If you know the index of the item(s), you can use the selected option of the item(s) and set it to true. That will make the item have the standard selection background color.
I do not know if this is what you want, but it is a possibility.Leave a comment:
-
Depending on how many users you have, you can either run through every record of the database table and do the check the way you do in your example, or use a SQL statement to find the username and if found check the password.
Sequentially running through the records until the last, you probably know how to do.
For SQL statements you might have to install an additional database driver to acces the Access database.
SQL...Leave a comment:
-
Actually you wrote the same thing twice.
The first three lines are essentially the same as the other three lines, only in the opposite order of comparison.
Removing the 4th to the 6th line makes things easier since half of the code is dropped.
You could try to add the values of a, b and c together in a variable d and build a select case with the resulting value.
I'm not using the dim statement in this example....Leave a comment:
No activity results to display
Show More
Leave a comment: