Results 1 to 40 of 83

Thread: [VB6] Manifest Creator II

Threaded View

  1. #20

    Thread Starter
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: [VB6] Manifest Creator II

    Quote Originally Posted by VanGoghGaming View Post
    This code runs very nicely and provides a PictureBox container for each frame hosted inside a bigger frame. Hope this helps!
    Nice touch, could help others. Just to nit pick a tiny bit... You could test the frame's container type instead of testing for Me, i.e., test for Frame specifically. If the container is a frame, then apply the dynamically loaded picturebox workaround, else don't. Worse case scenario otherwise is loading up unneeded picturebox controls, i.e., frame is in a picturebox already or frame added to some other ocx/control for example. Would be a small tweak and still remain generic.

    The only potential flaw I can see, and it would be on per-user scenarios, is ZOrder when it must matter to the user. I think that in majority of scenarios, your code should work just fine.

    Edited. If you want to tweak your code a bit, just update the above post vs. adding it again. Either way, I'm going to point people to your posting as an option for that specific problem.
    Last edited by LaVolpe; Apr 21st, 2020 at 02:59 PM.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width