Page 1 of 2 12 LastLast
Results 1 to 40 of 80

Thread: Wokawidgets Component Suite

  1. #1

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Wokawidgets Component Suite

    Attached is a collection of some of my better projects that are almost complete, POP3 Mail is way off yet, maybe in a week or so.

    The suite as components for the following things:
    • Custom Tooltips
    • Skinning A Form
    • Application LiveUpdate (AutoUpdate)
    • SysTray Icon
    • API Timer
    • Aynchronous Download From Web
    • MSN Messenger Client
    • Simple, but very effective, multipurpose graph
    • Simple Selector Control. Very Handy.
    • Winsock in a DLL
    • XP Button
    • MSN Messenger Style Popup Messages
    • POP3 Email


    More descriptions to come.

    Woof
    Attached Files Attached Files

  2. #2
    Fanatic Member
    Join Date
    Mar 2002
    Location
    AUSTRALIA
    Posts
    603

    Re: Wokawidgets Component Suite

    I always keep things simple (for my sake).
    So I -
    - don't use MDI Forms
    - Always have all related frm's, bas's etc in the same folder as the vbp
    - and I have never used Project groups

    What is the impact (difference) when it comes time to -
    - make exe
    - use P&D
    - and anything else that one might encounter with a vbg ?


    Thanks for sharing your apps
    Rob C

  3. #3

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Wokawidgets Component Suite

    None really.

    I do keep things simple
    That's why I use a vpg and multiple projcts.

    When you come to P&D your app, you just need to make sure that your DLLs are included in the package.

    Splitting code off into DLL means that many apps can use the same DLL, and thus the same code.
    Ie. If I changed the code behind the vbWinsock dll then my liveupdate, downloder and MSN client, would ALL automatically see the changes made. No need to update 3 applications. Just one.

    Woka

  4. #4
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    Re: Wokawidgets Component Suite

    Hey Woka, do you have individule DLs for each component project? Say if I just wanted the XP Button
    project would you have a link for it somewhere?
    VB/Office Guru™ (AKA: Gangsta Yoda™ )
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    • Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Wokawidgets Component Suite

    Quote Originally Posted by RobDog888
    Hey Woka, do you have individule DLs for each component project? Say if I just wanted the XP Button
    project would you have a link for it somewhere?

    That would be very useful I agree


    Cheers,

    RyanJ
    My Blog.

    Ryan Jones.

  6. #6

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Wokawidgets Component Suite

    hahaha...you both ganging up on me to cause me more work?

    Yea...I keep meaning to. Working on a few more "little" projects and getting other projects up to release level, then I will add them here.

    My component suite now consists of 18 seperate components.

    Woka

  7. #7
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    Re: Wokawidgets Component Suite

    Just thought it would be easier for me to use if I only wanted XP Button for example and not all the msn stuff.

    When can we expect to see individule DLs for each component?
    VB/Office Guru™ (AKA: Gangsta Yoda™ )
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    • Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  8. #8

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Wokawidgets Component Suite

    Errr...you can still use the XP Button on it's own.
    Just copy the vbButton project.

    Or do you mean you don't want to download it all when all you need is the XP Button project?

    Woka

  9. #9
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    Re: Wokawidgets Component Suite

    Yes, I was hoping for individule DLs so I dont have to DL all the projects, just the ones I want/need.
    VB/Office Guru™ (AKA: Gangsta Yoda™ )
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    • Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  10. #10
    New Member
    Join Date
    Mar 2005
    Posts
    5

    Re: Wokawidgets Component Suite

    Newbie Question
    I am using MS Visual Studio 2003 for my projects. How do I use the Wokawidgets examples?

    Tom

  11. #11

  12. #12
    New Member _Ci_'s Avatar
    Join Date
    May 2005
    Posts
    2

    Question Re: Wokawidgets Component Suite

    Hi,
    I'm trying to use some of your great projects like MSN stype popups, systray and skinning.

    It seems that when I have a visible skinned form, the MSN stype popups can't be correctly clicked (they are clickable and sticky) and they will not automatically close after being clicked.

    If I keep the skinned form invisible, everything goes well.

    Any idea?

    Many thanks,
    C!

  13. #13

  14. #14

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Wokawidgets Component Suite

    Quote Originally Posted by RobDog888
    Hey Woka, do you have individule DLs for each component project? Say if I just wanted the XP Button
    project would you have a link for it somewhere?
    Yea...just to clarify, they are all seperate projects, and thus seperate DLLs/OCXs.
    They are just all zipped up in one folder for ease of downloading.
    Or did you mean have a seperate thread on VBF for each project?

    Woka

  15. #15

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Wokawidgets Component Suite

    Quote Originally Posted by _Ci_
    It seems that when I have a visible skinned form, the MSN stype popups can't be correctly clicked (they are clickable and sticky) and they will not automatically close after being clicked.

    If I keep the skinned form invisible, everything goes well.
    I couldn't replicate this
    Did you find the problem?

    WOka

  16. #16
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Wokawidgets Component Suite

    Brillaint work, I love these and even better now they are seperated!

    Cheers and thanks for this great component set!

    Cheers,

    RyanJ
    My Blog.

    Ryan Jones.

  17. #17
    New Member _Ci_'s Avatar
    Join Date
    May 2005
    Posts
    2

    Re: Wokawidgets Component Suite

    Quote Originally Posted by Wokawidget
    I couldn't replicate this
    Did you find the problem?

    WOka
    No, I don't!

    Honestly it does not happen all the time, sometimes when you click on the popup link it works, sometimes it doesn't (but if you just keep clicking it might work).

    Cheers,
    _Ci_

  18. #18
    New Member
    Join Date
    Jun 2005
    Posts
    6

    Re: Wokawidgets Component Suite

    Hi, I was wondering if there was a way to use the Live Update on an FTP server, I have tried it basically out of teh box but it trys to use html protocol. Thanks for any help that anybody can give.

    -Ian

  19. #19
    Hyperactive Member ..:RUDI:..'s Avatar
    Join Date
    Aug 2005
    Location
    Yorkshire, England! c0d: Da Vinci
    Posts
    344

    Re: Wokawidgets Component Suite

    Sorry to drag out old thread!
    I don't really get the POP3 demo! Is it now fully completed??? (The POP3 Section)



    My Personal Home | MageBB Home | Elders Online
    Yes, Noteme is my father.

  20. #20
    New Member
    Join Date
    Dec 2005
    Posts
    3

    Re: Wokawidgets Component Suite+Error

    What do i do?
    This is the error:
    Private WithEvents mobjMSN As MSNMessenger
    User-Defined Type Not Defined
    ???

  21. #21

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Wokawidgets Component Suite

    U need to add the MSNMessenger.vbp to your project. U are trying to run the UI, but it has no ref as to what MSNMessenger is.
    Alternatively you can compile MSNMessenger.vbp to MSNMessenger.dll, and then in your UI app click project--->references, then select MSGMessenger dll.

    WOka

  22. #22
    New Member
    Join Date
    Dec 2005
    Posts
    10

    Re: Wokawidgets Component Suite

    Great work on the XP Buttons.
    Been waiting3yrs for that...

    Have you the same for optionbutton and checkboxes?
    I use them in pic mode, so they look like a button, but act like optionbutton and checkboxes, and of course doesnt show in XP style


  23. #23

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Wokawidgets Component Suite

    Cheers.
    It isn't 100% my code.
    I took the code from a button that did way more stuff, like MAC look and feel.
    I rewrote the code slightly, stripped out all the crap, like MAC look and feel

    Woka

  24. #24
    New Member
    Join Date
    Dec 2005
    Posts
    3

    Re: Wokawidgets Component Suite

    Quote Originally Posted by Wokawidget
    U need to add the MSNMessenger.vbp to your project. U are trying to run the UI, but it has no ref as to what MSNMessenger is.
    Alternatively you can compile MSNMessenger.vbp to MSNMessenger.dll, and then in your UI app click project--->references, then select MSGMessenger dll.

    WOka
    Argh it doesnt matter, still doesnt work. anyway i did a full client, standalone, portable and powerful with Delphi. no DLLs, or anything and its about 300kb.
    Delphi Owns VB, but i still like VB. Delphi is complicated.

  25. #25

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Wokawidgets Component Suite

    Well explian why it doesn't work and I may be able to help you.
    U need a good understanding off how DLLs and windows work, then this becomes dead easy.

    Woka

  26. #26
    New Member
    Join Date
    Dec 2005
    Posts
    10

    Re: Wokawidgets Component Suite

    Hmm, is it possible to rip out the XP painting bit and apply to optionbutton and checkboxes?

    Or, to make it so the button can stay down. This can at least simulate a checkbox.
    With some more work maintaining state even optionbuttons.


    Oh, I added this

    VB Code:
    1. Public Property Let Value(b As Boolean)
    2.     If b = True Then RaiseEvent Click
    3. End Property

  27. #27

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Wokawidgets Component Suite

    It did that originally, but I didn't want the code there, and it was messy, so I simply stripped it out
    U basically have to add an enum of the modes, then a public property to say what mode the button it in. then just change the draw function.

    I would use:
    VB Code:
    1. Public Property Let Value(ByVal Value As Boolean)
    2.     If Value Then
    3.         RaiseEvent Click
    4.     End If
    5. End Property

    woka

  28. #28
    New Member
    Join Date
    Dec 2005
    Posts
    10

    Re: Wokawidgets Component Suite

    just change the draw function
    You make it sound like it's easy
    I looked but duno how the code works, I dun even know XP shading works!

    BTW, I found it draws in XP even on W2K!? How come? I thought u have to use the XP theme/colors which of course W2k doesn't have.
    Anyway this becomes a small problem cuz not all my buttons are of this. I think it'd be good to check whether XP themes were enabled or else draw in standard shape. Even XP users sometimes turn themes off!

  29. #29
    New Member
    Join Date
    Dec 2005
    Posts
    10

    Re: Wokawidgets Component Suite

    Also suggest adding to ImageSizeConstants lv_Full = 5
    to display in full size centered.

    v.small/v.large images don't scale well.

  30. #30

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Wokawidgets Component Suite

    It does use XP theme...

    It's draws the button manually using API commands...
    so it will look xp on all OS's regardless of the theme used.

    Woka

  31. #31
    New Member
    Join Date
    Dec 2005
    Posts
    10

    Re: Wokawidgets Component Suite

    OK, I guess this means there's no way to switch it on/off by code for various OSs?

  32. #32

  33. #33
    New Member
    Join Date
    Dec 2005
    Posts
    10

    Re: Wokawidgets Component Suite

    I see. Oh well. I'm thinking aobut using the button state to simulate a pic checkbox. But with timers and stuff going on I'm not sure if its a good idea. Any ideas on potential pitfalls?

    I'd like to contend that cback should writeproperty to Parent.BackColor. vb's button also defaults to Parent.BackColor and doesn't write the value unless it changes.

    I'd say the same about font, but it seems complicated and I don't know how to incorporate it.

  34. #34

  35. #35
    New Member
    Join Date
    Feb 2006
    Posts
    1

    Re: Wokawidgets Component Suite

    vbxpbuttons works great,
    Question: Can I use this ocx in a shareware application.
    Thanks,
    Jack44

  36. #36

  37. #37
    Member
    Join Date
    Nov 2005
    Location
    Buenos Aires, Argentina
    Posts
    44

    Re: Wokawidgets Component Suite

    hi Wokaidgets, I've tried your XP Buttons control and I liked so much.
    My question is, do you think it will work on other Windows versions than XP? (98, Vista, etc)

  38. #38

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Wokawidgets Component Suite

    Thanks.

    Not sure about 98, but Vista yes.

    The XP button code was taken from someone else project on the web.
    I tidied to the code up, and trimmed out all the other stuff I didn't want. So cannot take full credit for that. I thought I put a message to the persons code in my 1st link. Damn bad woka.

    Woka

  39. #39
    New Member
    Join Date
    Jul 2005
    Posts
    4

    Re: Wokawidgets Component Suite

    thx 1st for your great work!

    but I don't like all dll staff, so why i can't integrate "Asynchronous Web Download.vbg " into a single project?

    would you like to help ?

    when I put all file in that vbg into one project, IDE told me that "sckClosed " may be dim twice:

    i can find both in "Socket.cls" and "clsSocket.cls"

    is there any way to solve that?

    thanks!


    ''The Socket state's constants as for
    ''the MS Winsock Control interface
    Public Enum StateConstants
    sckClosed = 0
    sckOpen
    sckListening
    sckConnectionPending
    sckResolvingHost
    sckHostResolved
    sckConnecting
    sckConnected
    sckClosing
    sckError
    End Enum

  40. #40
    New Member
    Join Date
    Jun 2006
    Posts
    1

    Re: Wokawidgets Component Suite

    the codes is very well
    thank you !

Page 1 of 2 12 LastLast

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