dcsimg

Search:

Type: Posts; User: AAraya

Page 1 of 8 1 2 3 4

Search: Search took 0.09 seconds.

  1. Re: VB6 - QUESTION - How to determine the default colour theme?

    [delete - duplicate posting.]
  2. Re: VB6 - QUESTION - How to determine the default colour theme?

    No worries, I didn't take it as an advert. I am the author of a tool in the same space as FreeFileSync, I was just going to introduce myself.
  3. Re: VB6 - QUESTION - How to determine the default colour theme?

    Off topic but are you the author of FreeFileSync?
  4. Re: How to sort file names exactly as Windows Explorer does

    Use the StrCompLogical function below in place of VBs StrComp in your string sorting routine. It uses the StrCmpLogicalW API which will return results like you see in Explorer.




    Private...
  5. Re: How to sort file names exactly as Windows Explorer does

    [deleted]
  6. Replies
    2,396
    Views
    552,642

    Re: Run-time-error ī429ī ActiveX component canīt create object

    I may. I will check. What is the solution for this problem? What color-depth is acceptable for this control?

    Also, I'm curious why only a couple of my users see this. What other factors are...
  7. Replies
    2,396
    Views
    552,642

    Re: Run-time-error ī429ī ActiveX component canīt create object

    Did you ever discover the cause of this? I'm having what I believe is a similar issue. Upon launching my application, two users both report a msgbox window with title "VBCCR16" and a message of...
  8. Thread: Forum for jobs

    by AAraya
    Replies
    3
    Views
    608

    Re: Forum for jobs

    I've had decent luck using a site called Freelancer.com for small VB6 algorithm projects. It can be hit or miss but if you look for developers who have lots of recommendations and write up the...
  9. Re: [VB6] TaskDialogIndirect - Complete class implementation of Vista+ Task Dialogs

    I discovered two problems in your custom flag values - they both conflict with already defined values.

    Custom flag TDF_DATETIME conflicts with the existing TDF_SIZE_TO_CONTENT (&H1000000)
    Custom...
  10. Replies
    71
    Views
    7,238

    Re: Windows August 2019 Update break VB arrays

    I am experiencing this same issue in the same class. Thanks for posting your fix Arnoutdv. I had to move your On Error Resume Next to before the array assignment as that is where the error happens...
  11. MsOf365 Update word count in real time is too slow on large documents

    I'm creating a solution for an author using MS Word 365.

    The author wants to set a time period and a goal count of words to complete within the time period. Two percentage indicators show the...
  12. Re: Help with GetTokenInformation and SE_SYSTEMTIME_NAME

    I only noticed myself when typing it up!
  13. Re: Help with GetTokenInformation and SE_SYSTEMTIME_NAME

    My solution is a little different, rather than getting the privilege name on every LUID I just compare the LUIDS. Here are a couple of code snippets. This first one is where I check if a privilege...
  14. Re: Help with GetTokenInformation and SE_SYSTEMTIME_NAME

    VB VI - Thanks so much for posting this. Your solution does some things differently than mine. But I didn't really know what I was doing - though I got it to work. I'm going to study yours closely...
  15. Re: Help with GetTokenInformation and SE_SYSTEMTIME_NAME

    NVM - May have found answer.
  16. [RESOLVED] Help with GetTokenInformation and SE_SYSTEMTIME_NAME

    Win32 API Expert help needed!

    I need to use GetTokenInformation to determine if the running process has the SE_SYSTEMTIME_NAME privilege. I'm not trying to enable the privilege, I already know...
  17. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    My apologies Olaf. As I look more closely at your example I see that I wasn't coding this properly. This seems to be an operator error. :blush:
  18. Re: The 1001 questions about vbRichClient5 (2019-08-04)

    Below is how to use the RC5 subclasser, taken from another thread. I thought it good to place here as well.

    The following simple example (MouseEnter/MouseLeave) shows its usage ...



    Option...
  19. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    Hi Olaf,

    It didn't work for me at all. I used the same code as you did and as I used in both wqweto and trick's subclassers. Their subclassers caught the messages/notifications I wanted while...
  20. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    After playing with the RC5 subclasser I figured out how to use it so I have the answers to my two questions.
    1) NO
    2) To bypass normal message handling set Result = 0. To allow normal message...
  21. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    Olaf, I'm taking a look at your RC5 subclasser and I have two questions.

    1) Is it IDE safe?
    2) Your WindowProc parameters are different than "the tricks" and the previous one I worked with. In...
  22. Replies
    2,396
    Views
    552,642

    Re: CommonControls (Replacement of the MS common controls)

    Good to know. Thank you.
  23. Replies
    2,396
    Views
    552,642

    Re: CommonControls (Replacement of the MS common controls)

    I was able to use this information to prevent the selection of certain combo items. Thanks! Now I'd like to make a small visual tweak. I'd like the separator bar item to be half the height of a...
  24. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    You asked this question of Olaf but I'll chime in too. I recently switched to "The Trick's" subclasser in my program. I'm not doing anything too fancy with it - I'm catching time change...
  25. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    I didn't know about Left and Right arrow in a combobox. Thanks! I added support for those keys.

    I also changed my key press approach to be like yours - I'm checking for GetAsyncKeyStates in the...
  26. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    I just came in to post that I had the arrow key functionality working now and I see that you've already posted Elroy! You handled this differently than I did. I see that you check the keystates in...
  27. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    Correct, I don't have to worry about edge conditions in my case like you do. I just need to know if the CBN_SELECTION is caused by a mouse click or by an arrow key. Per MSDN documentation...


    ...
  28. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    Elroy - you rock! I had been working on this myself this morning and had come up with a solution very similar to yours already. Looking over your project confirmed my approach. Thank you!

    I...
  29. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    Hi Elroy,

    I found the problem on my own. I needed to check for an ItemState of ODS_COMBOBOXEDIT and set the PenColor to either COLOR_WINDOWTEXT or COLOR_GRAYTEXT depending on the enabled property...
  30. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    I'm having one problem that perhaps you guys with Owner drawn controls can help with... When I disable the combo, the text in the edit portion of the combo disappears. Apparently I'm supposed to do...
  31. Re: [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    duplicate...
  32. Replies
    2,396
    Views
    552,642

    Re: CommonControls (Replacement of the MS common controls)

    Thanks, this was helpful. I was able to use this information and some code from Elroy to change the forecolor of an item in the list. Cool!
  33. Re: Is it possible to make a ComboBox item non-selectable?

    Thanks Olaf and Elroy - I downloaded both your projects and played with the code. Ultimately I was able to use Elroy's code to change the forecolor of the separator item to a disabled text color. ...
  34. Re: Is it possible to make a ComboBox item non-selectable?

    Is the subclassing code something you'd be able/willing to share?
  35. Replies
    2,396
    Views
    552,642

    Re: CommonControls (Replacement of the MS common controls)

    Has anyone used the OwnerDraw abilities of these controls? I see that the ability exists but have no idea how to get started. Is there a basic tutorial or sample project on how to use these...
  36. Re: Is it possible to make a ComboBox item non-selectable?

    Similar approach to what SOB posted.



    Private Sub Combo1_Click()
    If Combo1.Text = "---" Then Combo1.ListIndex = 0
    End Sub
  37. Re: Is it possible to make a ComboBox item non-selectable?

    This is what I'm currently doing. It works but it's not ideal. With this approach, the user is able to select that CB item, the combo box text momentarily shows the separator line, then the app...
  38. Replies
    2,396
    Views
    552,642

    Re: CommonControls (Replacement of the MS common controls)

    Is there a way to disable an item in a ComboBoxW dropdown list?
  39. [RESOLVED] Is it possible to make a ComboBox item non-selectable?

    I have a ComboBox loaded with items. One of the items is a separator bar. I don't want the user to be able to select this item. How would you prevent them from doing so? Ideally I'd like some way...
  40. Re: New VB6 IDE prototype with Backporter for use with the upcoming VB6Namespaces rel

    Well, sadly I'm busy with beta testing of my own software at present so can't really devote much time to helping with yours. Here are some of the issues I had:

    1. Your EXE must be Run As...
Results 1 to 40 of 289
Page 1 of 8 1 2 3 4



Featured


Click Here to Expand Forum to Full Width