User Profile

Collapse

Profile Sidebar

Collapse
MerlinTheGreat
MerlinTheGreat
Last Activity: Aug 28 '23, 03:40 PM
Joined: Jun 13 '22
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • MerlinTheGreat
    replied to datetime picker
    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.
    See more | Go to post

    Leave a comment:


  • Some 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.
    See more | Go to post

    Leave a comment:


  • 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)
    See more | Go to post

    Leave a comment:


  • MerlinTheGreat
    replied to colorize item in listview
    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.
    See more | Go to post

    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...
    See more | Go to post

    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....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...