Search:

Type: Posts; User: AAraya

Page 1 of 12 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    352

    Re: Windows 11 and VB6 program problem

    I have seen this but not just with Win11. Something else is blocking the program from executing - 99.9% of the time it's internet security/anti-virus software.
  2. Re: Use GDIPlus to display image from a resource file?

    Thanks! That's extremely helpful.

    Now the only part I guess I need to solve is the reading of the resource into a byte array. My images are stored in an external DLL which holds both ICO and...
  3. Re: Use GDIPlus to display image from a resource file?

    Hi Franky,

    Many of these APIs are new for me and truth be told I'm not interested in going down that rabbit hole right now for my limited need. Do you happen to have some simple sample code...
  4. Re: Use GDIPlus to display image from a resource file?

    Thank you. Yes, I'm aware of that - just misspoke but appreciate you making sure I was aware of the distinction.
  5. Re: Use GDIPlus to display image from a resource file?

    Actually I think that's the approach I DON'T want to take. I've got code which does that. It uses LoadIconWithScaleDown to load the image from resource file, and OleCreatePictureIndirect to create...
  6. Use GDIPlus to display image from a resource file?

    Is it possible to read an image (ICO, BMP, PNG, etc) from a resource file and display it using GDIPlus?

    I've found some code to get an image from a resource file and display it using other APIs...
  7. Re: [RESOLVED] How to save and read a stdPicture from PropertyBag

    Thanks for the additional info wqweto. My app doesn't support WinXP, so that's not going to be an issue for me. But may be helpful for others reading this.
  8. Re: [RESOLVED] How to save and read a stdPicture from PropertyBag

    Yes, I've come to the same conclusion doing some testing on my end. The Picture is saved and read from the PropertyBag but it's just not displaying on the user control so I've got to track that...
  9. Re: How to save and read a stdPicture from PropertyBag

    I think may question may have been unclear. Let me give an example using a Boolean variable m_Shadow:

    In UserControl_WriteProperties I can save a variable's value to the Property Bag like this:
    ...
  10. [RESOLVED] How to save and read a stdPicture from PropertyBag

    I've got a user control which I've added a Picture property to of datatype stdPicture. I want this stdPicture object saved to the PropertyBag when I close and I want it read from the PropertyBag...
  11. Re: SHBrowseForFolder doesn't show folders in devices

    Thanks fafalone.

    Before reading your response I had already changed from SHBrowseForFolders to IFileOpenDialog for the folder selection dialog. I was already using this for File Open dialog so...
  12. [RESOLVED] SHBrowseForFolder doesn't show folders in devices

    I'm using SHBrowseForFolder to show a Browse for Folder dialog in my program. One of my users is trying to select a folder on a drive on their Samsung phone. This device/drive/folder is visible in...
  13. Re: If LOF = Finshed input into box, then exit sub, if LOF not Finished then goto lin

    What's your question? What part of this do you need help with?
  14. Replies
    2
    Views
    311

    Re: Can I use VB6 User Controls in TwinBasic?

    That's great news! Thanks fafalone.
  15. Replies
    2
    Views
    311

    Can I use VB6 User Controls in TwinBasic?

    I downloaded and played around with TwinBasic today. It's come quite a long way since the early days when I first looked at it! Seems like I might be able to port over much of my existing VB6 code...
  16. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    Yes, agreed!
  17. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    Just a habit. But I did think of this of this as well. Thanks!
  18. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    It's always good to have someone else look over my logic. Appreciate you taking the time to do that!

    I don't agree with your correction however. Using your logic of OR rather than AND, a Windows...
  19. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    Here's my updated version of your code fafalone (incorporating the suggestions & feedback that followed the original posting).



    Public Function IsWin7OrGreater() As Boolean
    Dim lngMajor ...
  20. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    The logic for both Win7OrGreater and Win8OrGreater fail on my Windows 10 system (dwMajor = 10, dwMinor = 0, dwBuild = 19045). I believe that the logic for those two lines should be:



    ...
  21. Re: Image Processing: Image similarity algorithms aHash, dHash, pHash

    I am interested in these algorithms and their applications.

    Do you have any samples of these algos in usage? There are many "?" characters in your posted code which make it difficult to work...
  22. Re: UxTheme.dll/Visual Styles help request - button face color when mouse hovers over

    Ahh, I see. Thanks for pointing that out. I'll see if I can use that information to get where I'm trying to go. Again, your time and help is much appreciated!
  23. Re: UxTheme.dll/Visual Styles help request - button face color when mouse hovers over

    Ahh, gotcha. Well that makes things difficult for me. I wonder how Krool implements his Visual Styles functionality in his VBCCR controls then?

    Appreciate the responses.
  24. Re: UxTheme.dll/Visual Styles help request - button face color when mouse hovers over

    To make sure I've understood your response. Are you saying that there's no way for me to get the theme color that the system uses when a mouse is over a button or when a button is pressed?
  25. Re: UxTheme.dll/Visual Styles help request - button face color when mouse hovers over

    Thanks for your response!

    1. Where did you find this error code meaning? Is there a place I can find all possible errors returned by the uxtheme API?

    2. Are you saying that there's no way for...
  26. Thread: LabelPlus

    by AAraya
    Replies
    43
    Views
    15,371

    Re: LabelPlus

    Yes, his user controls are wonderful! The only oddity I've found is why I can't just simply set a .Picture() property on the user control at runtime. If I could do this, they would be perfect!
  27. UxTheme.dll/Visual Styles help request - button face color when mouse hovers over

    I'm trying to use the uxtheme API to get the theme color for a button when the mouse hovers over it. Currently I'm just doing a screengrab and color picker to approximate the color but I want this...
  28. Thread: LabelPlus

    by AAraya
    Replies
    43
    Views
    15,371

    Re: LabelPlus

    I have resolved the issue I was having with the Property Page.

    I had copied the Property Page from his demo project into my project folder. When I examined the property page in a text editor I...
  29. Thread: LabelPlus

    by AAraya
    Replies
    43
    Views
    15,371

    Re: LabelPlus

    Thanks for your help with this. When I add the Property Page (PropPagLP.pag) from the demo into my project, I get a "Method or Data Member not found" error in the Property Page's cmdBrowse_Click...
  30. Thread: LabelPlus

    by AAraya
    Replies
    43
    Views
    15,371

    Re: LabelPlus

    I've been able to create a Chip UI component using this excellent control. One thing I can't figure out however is how to set a Picture for a label. I see many Picture related properties on the...
  31. Re: Does a "chip" UI component exist for VB6?

    Yes, LabelPlus can do everything I was looking for. Thanks all for your help!
  32. Thread: LabelPlus

    by AAraya
    Replies
    43
    Views
    15,371

    Re: LabelPlus

    Wow - what an impressive user control this seems to be. Working my way through the demo projects right now.

    Only thing missing is user documentation - that would make this perfection! Thanks...
  33. Re: Does a "chip" UI component exist for VB6?

    Wow - it sure looks like it will. What an impressive user control that seems to be. Only thing missing is some documentation. Let me see if I can get this to do what I need. Thanks!
  34. Re: Does a "chip" UI component exist for VB6?

    Thanks. I use Krool's CCRP controls extensively - awesome stuff. The buttons do everything you say but the button shapes are standard rectangles. If I want rounded rectangle, I'd have to ownerdraw...
  35. Re: Does a "chip" UI component exist for VB6?

    This looks like a handy button control. I can definitely see uses for it. Thanks!

    Making my own nine-patch image file is beyond me right now but the standard ones that come pre-defined are...
  36. Re: Does a "chip" UI component exist for VB6?

    Yup - could create my own user control but was just reaching out to see if someone's already done this. It's such a common component these days that I thought it was worth a shot to check with my...
  37. [RESOLVED] Does a "chip" UI component exist for VB6?

    I'm looking for a chip component to use in my project. We've all seen them, even if we're not aware of what they're called.

    190598

    Here's more info on chips, for anyone interested.

    Thanks!
  38. Replies
    3,769
    Views
    1,874,556

    Re: CommonControls (Replacement of the MS common controls)

    Edit...

    Found the answer myself.

    Thanks Krool!
  39. Replies
    3,769
    Views
    1,874,556

    Re: CommonControls (Replacement of the MS common controls)

    It's been a few years since I played with this Owner-drawn combo stuff. I need to revisit it now as I'm tweaking my code to handle DPI. In order to get the items in my owner drawn combo list to...
  40. Replies
    97
    Views
    5,373

    Re: Why did Microsoft abandon ,killed VB6?

    https://www.itwriting.com/frozenvb6.php
Results 1 to 40 of 441
Page 1 of 12 1 2 3 4



Click Here to Expand Forum to Full Width