• Member Avatar for SCBWV
    SCBWV

    Replied To a Post in vb6 Add Column in Listbox

    My thoughts and changes.
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in vb6 Add Column in Listbox

    Try this. I made significant changes. If you have any questions about the code, let me know.
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in vb6 Add Column in Listbox

    Sorry. I didn't notice the dates were Day/Month/Year and not Month/Day/Year. Fixed.
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in vb6 Add Column in Listbox

    Fixed. I added several comments to the code to help explain. Also added a subroutine for the Combo1_Click event. Best wishes.
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in vb6 Add Column in Listbox

    I'd be glad to, but I don't use .rar files so I have no way of opening your attachment.
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in vb6 Add Column in Listbox

    Attached.
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in vb6 Add Column in Listbox

    Use a ListView control and set it's View to lvwReport. Then in the Properties, add the number of columns - in this example 4. Add column headers if desired. ListView1.ListItems.Clear …
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in vb6 Add Column in Listbox

    What does the contents of the users.txt file look like? Send a few lines and I'll send you the loop. Also, why are you saving the lines in the nmInfo …
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in vb6 Add Column in Listbox

    Use a ListView, then add SubItems For example: Set itmx = ListView1.ListItems.Add() itmx.Text = FirstColumnText$ itmx.SubItems(1) = SecondColumnText$ itmx.SubItems(2) = ThirdColumnText$ etc. Be sure to change the View to 3 …
  • Member Avatar for SCBWV
    SCBWV

    Began Watching vb6 Add Column in Listbox

    Im trying to populate Listbox with Columns but I didn't get success. Below is my code. I populated Listbox with text file: on users.txt: 1|Jhon|street 3|12/03/1985 2|Peter|strt2|29/09/2009 3|Scoby|street 1|11/02/2001 Here …
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in Guess what, everyone? I'm Back!!

    Congratulations! Sounds like a great month even if quite busy. Where did you honeymoon?
  • Member Avatar for SCBWV
    SCBWV

    Began Watching Guess what, everyone? I'm Back!!

    I'm back!! After a month-long break, filled with family visits, getting married, and going on our honeymoon, I'm finally back! Family is still in town for another couple of weeks, …
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in I am back again

    I think it's wonderful, at nearly 80, that you decided to continue programming. I admire your ambition. I have written countless programs that no one will ever use except me, …
  • Member Avatar for SCBWV
    SCBWV

    Began Watching I am back again

    Yes I finally decided to continue on with my programming efforts. I would like to be able to refer to myself as a master programmer, but I may not have …
  • Member Avatar for SCBWV
    SCBWV

    Gave Reputation to rproffitt in Windows 11 Display Resolution after Sleep Mode

    I recall this being an issue in many versions of Windows. From memory it's a driver issue so you'll have to decide if you must handle deficient drivers in your …
  • Member Avatar for SCBWV
    SCBWV

    Created Windows 11 Display Resolution after Sleep Mode

    Has anyone experienced the function Windows SystemParametersInfo reporting a different display resolution after returning from sleep mode? My display is 3840X2160, which the SystemParametersInfo reports accurately. However, upon returning from …
  • Member Avatar for SCBWV
    SCBWV

    Began Watching Windows 11 Display Resolution after Sleep Mode

    Has anyone experienced the function Windows SystemParametersInfo reporting a different display resolution after returning from sleep mode? My display is 3840X2160, which the SystemParametersInfo reports accurately. However, upon returning from …
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in VB6 and Windows 11

    Agreed! Moving to a current language has many benefits. I'm sure for some it's not possible. Having said that, I'd be a little bit leary of one from MS (other …
  • Member Avatar for SCBWV
    SCBWV

    Replied To a Post in VB6 and Windows 11

    Understood. I was just posting for the many people that have no choice but to maintain VB6 code for love or money. As I understand it, there is still LOTS …
  • Member Avatar for SCBWV
    SCBWV

    Created VB6 and Windows 11

    In case you're wondering, VB6 programs run on Windows 11. Programs with a manifest have the appropriate Windows 11 appearance. The IDE works as well, although it seems to aggravate …

The End.