Results 1 to 32 of 32

Thread: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

  1. #1

    Thread Starter
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    Near the User32.dll
    Posts
    386

    VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Core functionality, you can add your add-ins or code without add-ins
    (If you get errors for ImageLists, All files should be put to your My Documents, I will give bitmaps later so you may need to make empty oness)
    Attached Files Attached Files
    Basic page
    Text

  2. #2
    Bad man! ident's Avatar
    Join Date
    Mar 2009
    Location
    Cambridge
    Posts
    5,398

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    zips invalid

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,054

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Zips are currently messed up as a result of whatever started going on with the forum software a couple days back. Hopefully, that will be resolved soon, but what that means for zips remains to be seen.
    My usual boring signature: Nothing

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,054

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Still, what's the point of a community MSPaint? Is that program really so good? There's already Paint.NET, which is a pretty good paint program for those of us with pretty deficient skills. It's pretty good for those with better skills, too, though it may not stack up to major commercial programs.
    My usual boring signature: Nothing

  5. #5
    PowerPoster
    Join Date
    Aug 2010
    Location
    Canada
    Posts
    2,452

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Quote Originally Posted by Shaggy Hiker View Post
    Still, what's the point of a community MSPaint? Is that program really so good? There's already Paint.NET, which is a pretty good paint program for those of us with pretty deficient skills. It's pretty good for those with better skills, too, though it may not stack up to major commercial programs.
    Apparently gaouser is 11 years old, which (if true) means the point is just figuring stuff out I guess. At that age you should put a lot of focus on exploring and learning IMO - even if it's not toward something immediately useful.

  6. #6

    Thread Starter
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    Near the User32.dll
    Posts
    386

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    I dont know, weird idea. I mess around with Windows and low level and Win32 API's
    Basic page
    Text

  7. #7

    Thread Starter
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    Near the User32.dll
    Posts
    386

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    To be honest VB is fun unless you are messing with Win32 API or cursed/undocumented ActiveX
    Basic page
    Text

  8. #8
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,837

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    At that age you should put a lot of focus on exploring and learning IMO
    At that age the OP should be outside doing stuff
    Please remember next time...elections matter!

  9. #9
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,902

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    This also probably ought to be in the utilities or code bank section but since the discussion's moved on I won't move it. That said, @Gaouser, once the forum problems are sorted you should really post it there.

    Got to say, MS Paint may not be the most novel thing ever posted here but it's still quite an achievement. Well done!
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  10. #10
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,054

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Sure will be nice when we can reply with a quote, rather than doing it manually:

    At that age the OP should be outside doing stuff
    Depends on where you live of course, but you can certainly do both. The outside world and the inside world each have their fascinations.
    My usual boring signature: Nothing

  11. #11
    PowerPoster
    Join Date
    Aug 2010
    Location
    Canada
    Posts
    2,452

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Quote Originally Posted by Shaggy Hiker View Post
    Sure will be nice when we can reply with a quote, rather than doing it manually:
    You can reply with quote if you double-click Reply With Quote instead of the usual single click.

  12. #12
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,054

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Quote Originally Posted by jpbro View Post
    You can reply with quote if you double-click Reply With Quote instead of the usual single click.
    Did not know that. Cool.
    My usual boring signature: Nothing

  13. #13
    Bad man! ident's Avatar
    Join Date
    Mar 2009
    Location
    Cambridge
    Posts
    5,398

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Quote Originally Posted by Shaggy Hiker View Post
    Did not know that. Cool.
    single click reply with quote works fine here....

    OP good work, keep going along with win32 API's, they can be great fun.

  14. #14
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Quote Originally Posted by jpbro View Post
    Apparently gaouser is 11 years old, which (if true) means the point is just figuring stuff out I guess. At that age you should put a lot of focus on exploring and learning IMO - even if it's not toward something immediately useful.
    Really? I didn't know people that young used this forum good to know he's that young, because that explains a few things. :-) As to the zip, it downloaded fine for me, but it looks like I need to fix a broken comctl32.ocx reference before I l can run the project. And I believe I understand the point of this project: it can be fun and interesting to explore how stuff works and to make your own version of something that has already been made. I still do it at age 44 and long since gave up wanting to do any real software development for a job. Otherwise becomes is a lot of work and highly restrictive. Imho it takes the fun out of developing programs. (My current job involves simple and repetitive tasks, but also leaves me with the energy to still want to have fun challenging myself while playing with coding, in my spare time of course. :-) )

    PS:
    Anyone wanting to try Gaouser's project might need to manually add comctl32.ocx to the list of project components and reload the project before it will work. The program looks like a fun little experiment at creating a MSPaint clone but does not look to be of much practical value beyond that to be honest.

    And Gaouser, you made an interesting little program there, if you want some coding tips, I might be able to help you. :-)
    Last edited by Peter Swinkels; Feb 25th, 2024 at 05:57 AM. Reason: Added some extra info about Gaouser's project.

  15. #15
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,253

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    There is already a FOSS Paint, C++.



    https://www.google.com/search?sca_es...=1052&dpr=1.36
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  16. #16
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    @yereverluvinuncleber - I could be wrong but I think gaouser isn't trying to make a truly useful MSPaint clone, but rather learning about software development in general. @gaouser, can you tell why you are making this yourself?

  17. #17
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,253

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    I don't think gaouser is learning about software development in VB6, I think gaouser is just DOING software development. So far, nothing can stop him!
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  18. #18
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Well, you learn by doing! :-) Or I'd hope so! ;-)

  19. #19
    Computer Science BS Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,339

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Quote Originally Posted by yereverluvinuncleber View Post
    I don't think gaouser is learning about software development in VB6, I think gaouser is just DOING software development. So far, nothing can stop him!
    We should make a thread to give him challenges to do in VB6.

    Ex. Making an AI chatbot that not only responds to your voice but replies back with a real voice!

    He can use the OpenAI API as well as any of the API's from Google that use different kinds of English from different parts of the world for text to speech

  20. #20
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    That sounds like a bit advanced, especially in vb6. Wouldn't vbnet be better suited for interfacing with those API's?

    If I had to make suggestions as to what gaouser could do to better learn vb6 it would be to make a simple calculator program or a simple game. Boring but a good way to get the hang of working with vb6. Also, I if I am serious about a project I am doing in vb6 I always make it a point to properly comment (not just slap "this does such and so on" everywhere) code, use clear naming conventions, and to add a clear structure to a program. It is also a good idea to learn what functions and statements to best avoid in vb6. It may be boring and tedious, but you do get code that should be easy to understand, navigate and easy to reuse.

  21. #21
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,054

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Why does it need to be a SIMPLE game? The graphics can be simple, the game itself need not be.
    My usual boring signature: Nothing

  22. #22
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Fair enough, my reasoning is that it is unwise to take on overly large or complex projects especially for a beginner. If you keep the game design simple you won't bite off more than you can handle. You could also turn it around an make it into a simple with neat graphics. Especially if you're willing to use ai-generated images. Also, I have noticed that the more complex you make your project the more effort you need to put into planning ahead and designing. Something I'm not good at myself. :-)
    Last edited by Peter Swinkels; Feb 29th, 2024 at 11:05 AM. Reason: must properly reread before clicking "submit" - sigh

  23. #23
    Computer Science BS Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,339

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Quote Originally Posted by Peter Swinkels View Post
    That sounds like a bit advanced, especially in vb6. Wouldn't vbnet be better suited for interfacing with those API's?

    If I had to make suggestions as to what gaouser could do to better learn vb6 it would be to make a simple calculator program or a simple game. Boring but a good way to get the hang of working with vb6. Also, I if I am serious about a project I am doing in vb6 I always make it a point to properly comment (not just slap "this does such and so on" everywhere) code, use clear naming conventions, and to add a clear structure to a program. It is also a good idea to learn what functions and statements to best avoid in vb6. It may be boring and tedious, but you do get code that should be easy to understand, navigate and easy to reuse.
    He has a sample. I made him an AI chatbot using VB6

  24. #24
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Oh really? May I see it too?

  25. #25
    Computer Science BS Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,339

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Sure when I get home. At Hardrock Casino at the moment celebrating my father in laws bday lol

  26. #26
    Computer Science BS Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,339

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Quote Originally Posted by Peter Swinkels View Post
    Oh really? May I see it too?
    Enjoy

    AI Chatbot written in VB6. I kinda half-assed it but hey, it works.
    Attached Files Attached Files

  27. #27
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Congratulations with your father in law! :-) I am going to look at your program right now. Thank you for sharing! :-)

  28. #28
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Alright, I had a look at your program, this is what it keeps replying when I try to send a message:

    Code:
    ---------------------------
    ChatBot
    ---------------------------
    HTTP Request Failed: 400 Bad Request
    ---------------------------
    OK   
    ---------------------------
    I don't know anything about the server and required data formatting. Could you point me to a guide or manual for refererence?

    Accessing the url https://generativelanguage.googleapi...enerateContent in a browser gives me a page not found error. It looks like your url is out of date, when did you build this chatbot and when did you last test it?

    PS:
    If you like I can provide some tips on coding in vb6 in general, which might be of use to you. :-)
    Last edited by Peter Swinkels; Mar 2nd, 2024 at 05:40 AM. Reason: additional info

  29. #29
    Computer Science BS Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,339

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Works perfectly on my end. See the screenshot to see what I mean. Either use a VPN for the Eastern side of the US, get an API key from either ChatGPT or Google Gemini like I did (key is in the code by the way), or get a better connection. Either way, you should connect to any of these AI's just fine.

    [EDIT] I did it at the time of using Google Bard. So it's actually the Google Bard API key. You can swap out the key and URL with any other. And it should still work.
    Attached Images Attached Images  

  30. #30
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Okay, what you built isn't so much a chatbot as a shell for one. Unless it does anything else, I believe I'll take your word for it and leave it at that. :-) Thank you for sharing. :-)

  31. #31
    Computer Science BS Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,339

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Quote Originally Posted by Peter Swinkels View Post
    Okay, what you built isn't so much a chatbot as a shell for one. Unless it does anything else, I believe I'll take your word for it and leave it at that. :-) Thank you for sharing. :-)
    If I had the time, I'd build my own. But filling it with 17 billion facts to make it smarter would take multiple life times with me

  32. #32
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: VB6 COMMUNITY PROJECT - MSPAINT with Add-Ins

    Fair enough. :-)

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