Page 2 of 2 FirstFirst 12
Results 41 to 58 of 58

Thread: My ProgressBar!

  1. #41

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987
    Originally posted by faisalkm
    what about the color problem?. When I set the background or foreground color to black, I can't see the text.
    The foreground color is the text color, so if you have the background color = black then try setting the foreground color (text color) = white or any other color other than black.
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  2. #42
    Guest
    Realistically, setting the foreground and background colours, and checking for same isn't a problem of the control - it really relies on the user to fix that one. You can set a label foreground and background colour the same.

    - gaffa

  3. #43

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987
    The MouseEnter and MouseExit code was a little off (if you moved the mouse into the control while it was updating the display the updating would be frozen) so here is (once again) hopefully the final update.
    Attached Files Attached Files
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  4. #44
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    I found a bug in your control. I added it to a new project, and tried to make it go from top to bottom, bottom to top, and right to left. It always goes back to left to right. Other than that, I think this is an excellent control. Keep up the good work.
    <removed by admin>

  5. #45

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987

    Thumbs up

    Should work now MidgetsBro, thanks for the feedback.
    Attached Files Attached Files
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  6. #46

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987

    Complete!

    Thanks for your help everybody!
    Last edited by YoungBuck; Dec 30th, 2001 at 02:58 PM.
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  7. #47
    Addicted Member
    Join Date
    Nov 2000
    Location
    hongkong
    Posts
    251

    Your Progress Bar Control is Very Good

    The appearance is very adjustable and is easy to program. Is it free for use?

  8. #48
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457

    Nice control!

    Your control is very cool, but the idea is already used:

    http://www.planet-source-code.com

    Search for "Cool Progress Bar" in the VB section. Still, nice piece of code

  9. #49

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987
    Free to use, right click on the ocx file, select properties, and read the version info to see my 'restrictions'.
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  10. #50

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987

    New Manifestation

    I got bored and added some new features to this thing and also wrapped up everything in a setup file. Would somebody please test the setup file and everything else and let me know if everything works. Upon running the setup file the ocx is installed in the Win/System folder (jmprgrs.ocx) and a sample project is installed to C:\PBTest, run the project in that folder to test the project. One more thing I also left the VB5 runtime files out of the setup file so you must already have them in order to test and use the control. Thanks in advance!

    Almost forgot the important part.

    You can get it here.
    Last edited by YoungBuck; Dec 30th, 2001 at 03:24 PM.
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  11. #51
    DaoK
    Guest
    very nice control! I wish to see how you coded that One thing, I do not see how to use the picture in the progress

  12. #52

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987
    For some reason unbeknownst to me everytime you try to click on link to a file geocities returns a 403 Forbidden error. So if anybody has tried to download the file you have to right click on it and select Save Target As in order to download it.
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  13. #53
    DaoK
    Guest
    All was ok here and I just clicked ...

  14. #54

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987
    Originally posted by DaoK
    very nice control! I wish to see how you coded that One thing, I do not see how to use the picture in the progress
    There are two ways you can use an ImageList as documented in the code or you can use the Picture property with the LoadPicture function.

    VB Code:
    1. JMProgress1.Picture = LoadPicture("C:\YourFile.jpg")
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  15. #55

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987

    Source

    Here is the source, now I should really get some good feedback. Keep in mind that when I first started this I wasn't planning on releasing the source so it is only commented as much as I needed it to be.

    DaoK: Did you have any problems with the installation, and what is your Operating System and Version of VB?
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  16. #56
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    I downloaded and it installed perfectly on my machine. It has Win98SE with VB 6.0 Professional. The only problem I had was when I tried to include it in a test project of my own, I got confused because I had an older version of it, so there were two Jon Mooty's Advanced Progress Bars. I had to dig through the system folder and remove the old one. Other than that, it installed flawlessly, and it works like a champ. Good job.
    <removed by admin>

  17. #57
    DaoK
    Guest
    DaoK: Did you have any problems with the installation, and what is your Operating System and Version of VB?
    No problem and I am on Window Me Edition and I use VisualBasic 6 Enterprise

  18. #58

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987
    Thanks for the help guys.
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

Page 2 of 2 FirstFirst 12

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