Search:

Type: Posts; User: Karl77

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Thanks, works now.
  2. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Can you please provide step-by-step instructions for the uninitiated?
    I am getting too many errors here, so I think I am doing it wrong in general somehow.
  3. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    @Krool
    I've found a solution.
    But I'm not very sure if removing WS_EX_STATICEDGE wouldn't harm somewhere down the road.
    What do you think?



    Public Property Let VisualStyles(ByVal Value As...
  4. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    PROGRESSBAR QUESTION

    When a VBCCR ProgressBar is set to VisualStyles = True, it rarely shows, for example, 60/100.
    This is seen when the whole process from 0 to 100% is relatively fast.
    If 100%...
  5. Replies
    4
    Views
    872

    Re: Looking for editor source

    After a quick look, that seems like a good start for my project.
    Impressing how fast rang3r-vb-hexeditor can handle really large files.

    Thank you!
  6. Replies
    4
    Views
    872

    Re: Looking for editor source

    Yes that's clear to me, that's why I search for the mentioned 'BigFoot'.
    I remember this hard part was solved in it, so I wouldn't have to start from scratch.
  7. Replies
    4
    Views
    872

    Looking for editor source

    I need to build a text editor which can handle 1GB files and larger.
    Of course it shall not eat so much memory.

    In very old times (VB3?) there once was a VB source that could do that.
    It was...
  8. Re: The Best control for Building "Commercial" Software

    Besides the unavoidable ones, I only use libraries/controls with at least access to the source as well.
    When a company closes or abandons the library/control and there is a fix to make, then you are...
  9. Replies
    6
    Views
    955

    Re: [RESOLVED] Save and restore CheckBox array

    Even better, thank you.
  10. Replies
    6
    Views
    955

    Re: Save and restore CheckBox array

    That's exactly what I was after.
    Thank you!
  11. Replies
    6
    Views
    955

    [RESOLVED] Save and restore CheckBox array

    I have an array of CheckBoxes from CheckBox(1) to CheckBox(32).
    Now I want to store the values (vbChecked/vbUnChecked) of the whole array in a sole number.
    And use that number to restore the...
  12. Re: Check if same app runs on other PC in local network

    Tried that one before, but didn't work.

    Now I have found why:
    In the sending app, .Bind is wrong.


    Private Sub Form_Load()
    Winsock1.Bind 420
    End Sub
  13. Re: Check if same app runs on other PC in local network

    Ok, understood:
    From the app I'll broadcast a message in an interval.
    From the same app I'll listen to the broadcasted messages and filter out the data I need.
    Sound simple... but I never had to...
  14. Re: Check if same app runs on other PC in local network

    Thanks for your input.



    It's not the kind of apps that work with a database.
    Also this kind of setup is too complicated for my customers.


    1) The protection software can protect 32bit apps...
  15. [RESOLVED] Check if same app runs on other PC in local network

    Check if same app runs on other PC in local network

    I want to make a simple licensing system for my software.

    Up to now I use a quite outdated commercial system.
    This system can count the...
  16. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    This is solved by a little workaround.

    I decided to store the button data in the tag of the toolbar and not in the tag of the single button.
    Works ok.

    Things I don't like so much:
    1) Setting...
  17. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    https://www.vbforums.com/showthread.php?698563-CommonControls-(Replacement-of-the-MS-common-controls)&p=4277565&viewfull=1#post4277565
  18. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Toolbar problem with .DisabledImagelist

    When a button is set to enabled = false by code the button shows the correct image.
    This does not work when the button is TbrButtonStyleCheck + .Value =...
  19. Replies
    12
    Views
    3,218

    Re: MSCOMM32.OCX Surprise??? / Windows 11

    I remember MSCOMM32.OCX did not work on Win10/64 when it was very young.
    Therefore I had to switch to SCOMM32.OCX, that worked fine.

    After that I never tested if MSCOMM32.OCX would work in...
  20. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Tried in the EXE project and OCX.
    Blackness bug is gone.


    Simplified example:

    Set a RichTextBox to RTL.

    RichTextBox1.TextRTF = "{\rtf1Boing Bum Tschak" & " "
    See the right aligned...
  21. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    2 RICHTEXTBOX PROBLEMS

    1)
    VBCCR17 OCX and EXE:
    Make a new project and place a RichTextBox1 on the form.

    RightToLeftMode = 0
    RightToLeft = True

    Run.
  22. Replies
    694
    Views
    310,554

    Re: Vb6 , the Future, and what I have discovered

    I agree as well, but it depends.

    A very bad performance can point to an important underlying problem.
    But the performance is not that bad in this example.
    It's roughly on par with p-code.

    In...
  23. Replies
    694
    Views
    310,554

    Re: Vb6 , the Future, and what I have discovered

    Ryzen 9 3900X
    Win10

    ---

    This is a good place to report the issue:
    https://github.com/twinbasic/twinbasic/issues
  24. Replies
    694
    Views
    310,554

    Re: Vb6 , the Future, and what I have discovered

    I wonder where 0.83 sec. comes from.

    In here, using TwinBasic beta 108, the performance is nearly on par with VB6.

    tB 108: 12.4
    VB6 in IDE: 11.5
    VB6 exe p-code 9.3

    Compiled to native fast...
  25. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    from (Toolbar index problem)



    No solution needed.
    I decided for a DisabledImagelist with the same count and order as the Imagelist.

    ---

    I didn't compare the behavior to CC5; most...
  26. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Here:
    185631
  27. Replies
    19
    Views
    9,136

    Re: [VB6] Poor Man's Transparent Image Control

    Besides the performance, what is the cause for

    AlphaBlendImage2.PixelARGB(X, Y) = c
    not making a visible result?
  28. Replies
    19
    Views
    9,136

    Re: [VB6] Poor Man's Transparent Image Control

    I have a problem to understand and handle PixelARGB.

    There is a VBCCR17 imagelist.
    It holds pictures with tranparency.
    The pictures were loaded using ICO format, will be changed to PNG later.
    I...
  29. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Regarding the imagelists:

    Up to now I create the disabled images manually.
    I don't do it for all normal pictures.
    And I don't want do do that at all anymore.

    The normal pictures get added to...
  30. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Performance penalty is not my friend.
    On the other hand, it depends on how often it happens and how long it takes.

    Other idea:
    Sorting the .DisabledImageList so that the index matches the...
  31. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Toolbar index problem

    I have a toolbar with 3 buttons.
    They are added by code, using the string key of the imagelist.
    All fine.

    Now I have a .DisabledImagelist.
    For this test the imagelist...
  32. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Now I have 9.75 as well after several tries.
    I had to set a different font before, change the size, and then set the font.
    So forget the strange effect.


    Not in this case.
    I work at 100%...
  33. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    I can change the font but not the font size.
    Try to set Segoe UI / 10.
    Reverts to 8.25.
  34. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Oh well, yes.
    Solves a).

    Thank you!
  35. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    ProgressBar/StatusBar problems

    A MDI form has a StatusBar.
    On the first panel it shall show a ProgressBar on demand.
    After progress is finished, the ProgressBar shall hide.

    a)...
  36. Replies
    2
    Views
    754

    Re: ActiveX memory problem

    Aha, yes you are right.
    I didn't have the idea to test that... thanks for your hint.

    20 in the last 'bake string' area is too much, 7 is the max value.
    With 6 the string length is 34603008....
  37. Replies
    2
    Views
    754

    [RESOLVED] ActiveX memory problem

    There is a class with a single test function in it, compiled to an ActiveX DLL.


    VERSION 1.0 CLASS
    BEGIN
    MultiUse = -1 'True
    Persistable = 0 'NotPersistable
    DataBindingBehavior = 0 ...
  38. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Why not combine the 2 projects?
    I think it is unlikely that a VBFlexGrid user doesn't use VBCCR...
    Just a thought.
  39. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    I use a pager for every toolbar.
    This works very well and is only visible when the form is too small to show the full toolbar.
    I set the buddy by code, because in the IDE it doesn't work so good.
    ...
  40. Replies
    3,724
    Views
    1,846,863

    Re: CommonControls (Replacement of the MS common controls)

    Here's the DLL and PNG stuff.
    It is quite old and probably there are more elegant solutions.
    Also it is a adjusted to my needs.

    180641

    I think #3089 is answered when you inspect the libs.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width