Search:

Type: Posts; User: Eduardo-

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Re: Site Rips of Popular VB Sites which have closed down

    Here
  2. Replies
    3,287
    Views
    1,089,176

    Re: CommonControls (Replacement of the MS common controls)

    Hello Krool,

    I want to report something FYI:

    I wanted to change some graphical style checkboxes in a program in order to show them themed, so I added your CheckBoxW from Elroy's splitted...
  3. Replies
    39
    Views
    5,831

    Re: [VB6 Add-In] Project Examiner

    Update released.
    When there is an error opening a form, it tells you now with a message what form could not be loaded instead of just cancelling silently.
  4. Re: (VB6) Get the main or prevalent color tone of a picture

    Humm, I don't think it could be used to find similar images, that is interesting but entirely something different, and certainly much more complex.

    I saw that there are programs that can find...
  5. Re: (VB6) Get the main or prevalent color tone of a picture

    I'll try to explain the algorithm simply:

    If the image is too large, reduce it.
    Scan all pixels and convert them to HLS colors.
    (HLS consist on three values for each pixel. All three go from 0...
  6. Re: (VB6) Get the main or prevalent color tone of a picture

    Updated. I added another function IsDarkColor to be able to easily choose the ForeColor according the the BackColor.
  7. Re: (VB6) Get the main or prevalent color tone of a picture

    Thanks Lea
  8. (VB6) Get the main or prevalent color tone of a picture

    Some applications set a background color (or even other "theme" colors) based on an image that the user selects.

    That's the idea, to get the main color tone of an image.

    183146

    183147
    ...
  9. Re: [RESOLVED] .ForeColor = 0-16842751 but not more.

    You can put many different variables, integer, long, string into the tag property.


    Private Sub Form_Load()
    Tag = Join(Array(1, 2, 3, "hello"), "|")
    End Sub

    Private Sub...
  10. Re: .ForeColor = 0-16842751 but not more.

    https://www.vbforums.com/showthread.php?884389-VB6-QUESTION-Does-anyone-have-some-code-for-validating-a-colour
  11. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    If you uncheck the "Selected Items Only" box, you'll see that there is another "SSTabEx - SSTab Replacement" registered on your Windows, that is the one that is using your compiled exe that it...
  12. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    PS: thinking about it, I guess that you compiled a new ocx in Windows 11. That's an error, if you want to compile the control again, you need to do that with binary compatibility to the previous...
  13. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    The solution is what is outlined on post #118 in the second part, from the line "If it didn't work, then:"

    Anyway I still don't know if that "SSTabEX - SSTab Replacement" that is listed on your...
  14. Replies
    12
    Views
    561

    Re: How do I add combobox items more quickly?

    Yep :thumb: :thumb:
  15. Re: i need to loop all combobox in frame2 in a form and get the .tag value... if the

    He (or she?) must have the IDE configured to halt on all errors.
  16. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    If you first made your own ocx compilation, and later you want to use my "official" ocx compilation, then for VB6 they are two different controls.

    To fix that, do the steps outlined in the second...
  17. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    Then you used one ocx compilation for your exe and later another ocx (possibly another version) in the project.
    I believe that you compiled your ocx yourself some time ago, so you are not using the...
  18. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    I suppose the issue must be that you need to register the OCX file on Windows 11.
  19. Re: https://classicvb.net/samples peraphs o.t....

    I have the whole site downloaded...
  20. Re: [RESOLVED] Remove dead COM entries in the registry.

    That's the only reason.



    So wrong...



    You don't know what you are talking if you don't use OCXs.
    And there is no problem, you can register the files again at any time.
  21. Re: Remove dead COM entries in the registry.

    I find them very useful, any time that I'm going to do something that I'm not sure if I will be able to undo, I make a restore point.

    It allowed me to go back to a good Windows state many times.
    ...
  22. Re: Question about GetSystemMetrics and VIRTUALSCREEN

    Both reported the right physical(*) pixels values for me.

    I have the IDE manifested for DPI aware per monitor V2 (but that does not seem to come into play).

    183118

    Monitor 1: 1920x1080, 125%...
  23. Thread: ucGridPlus

    by Eduardo-
    Replies
    29
    Views
    2,524

    Re: ucGridPlus

    It must be because of the need of GDI+
  24. Re: Remove dead COM entries in the registry.

    Yes.
  25. Re: Remove dead COM entries in the registry.

    Before deleting an ocx or com dll, or compiling a new ocx version, I run:

    regsvr32.exe [path\...ocx] /u

    And from time to time run a registry cleaner.
    I use an old version of Advanced...
  26. Re: Getting the ball rolling. Which VB6 projects are you working on?

    And VS can run on ARM?
  27. Re: Getting the ball rolling. Which VB6 projects are you working on?

    It depends how you compare, if you compare cellphones of today with desktops of years ago, cellphones of today are more powerful.

    If you want to compare cellphones and desktops of the same time,...
  28. Re: Is it possible to define a Labelle like selecting a command button when the curso

    And what did you do at last?
    We have been here like two days trying to guess what you actually wanted.
  29. Re: Is it possible to define a Labelle like selecting a command button when the curso

    Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Command1.SetFocus
    End Sub
  30. Replies
    5
    Views
    279

    Re: Strange VB6 bug

    I would watch inside text1_Change event.
  31. Replies
    23
    Views
    716

    Re: Tracking What Triggers Paint

    That's how Paint is supposed to work: to paint when something needs to be updated on the screen.

    If you want only one painting, then set AutoRedraw to True and call a painting procedure from for...
  32. Re: Display message on Excel application window using vb6 dll

    I would try with GetForegroundWindow instead of GetFocus:


    Private Declare Function GetForegroundWindow Lib "user32" () As Long
    '...
    Msg = MessageBox(GetForegroundWindow, StrPtr((Chuoi)),...
  33. Re: ExtCreatePen with PenWidth 0 problem on printers (printed from metafile)

    Then why not to prevent pen width going to 0?


    '...
    lPenWidth = CLng(dPenWidth * m_dPixelsXPerScaleMode)
    If lPenWidth <= 0 Then lPenWidth = 1
    If lColor = -1 Then lColor =...
  34. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    Update released:
    2021-11-16 important bug fix in TabVisible property

    This bug was introduced on July 1, 2021.
    All people that downloaded the control from July 1, 2021 to November 16, 2021,...
  35. Re: Problem with Automating Excel from VB6

    Hello Elroy,

    I would perform tests, the first would be a small VB6 program that opens a Excel template from the disk (already outside the exe, not extracted) and see if the error occur or not....
  36. Replies
    18
    Views
    842

    Re: Type MisMatch

    Where is the ReDim?
  37. Replies
    9
    Views
    352

    Re: Full screen cover taskbar - win 10

    What is the BorderStyle property setting?
    I suggest Fixed Single.
  38. Replies
    32
    Views
    1,413

    Re: Form height limit

    Perhaps this scrollable container could be useful for your case.
  39. Replies
    3
    Views
    298

    Re: SELECT printer and send job

    Private Function SelectPrinter(PrnName As String) As Boolean
    Dim prn As Printer

    For Each prn In Printers
    If prn.DeviceName = PrnName Then
    Set Printer = prn
    ...
  40. Replies
    8
    Views
    554

    Re: location of the mouse

    If you want to work in pixels, then remove the * Screen.TwipsPerPixelX and * Screen.TwipsPerPixelY from the code.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width