View Poll Results: Should I, Shouldn't I

Voters
10. You may not vote on this poll
  • Yes, with a small, hardly noticeable fee to "y'all" (Pick Me, Pick Me!!!)

    2 20.00%
  • Yes, freeware!!!!

    0 0%
  • Not if there's a fee involved....

    7 70.00%
  • What's the SysTray?

    1 10.00%
Results 1 to 13 of 13

Thread: System Tray Icon

  1. #1

    Thread Starter
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724

    System Tray Icon

    Right, boredom set in again (it's happened before folks ), so I rewrote that funky systray-icon-thingymajig-whatcha-wanna-call-it control.

    Now, before I get all nice and post the source, would anyone like to have it? And, while I'm at it - would you be willing to pay a nice "developers fee" of say, um, US$10?
    Coz you see, I've got to feed my 13.5142901 or so children


    Anyway... here we go...


    Brian

  2. #2
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    How does it improve over the free systray control that was one of the Microsoft VB 5 / 6 professional edition examples?
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  3. #3
    Frenzied Member vbgladiator's Avatar
    Join Date
    May 2001
    Posts
    1,950
    There is a free SysTray control? Where do you find it? I have VB 6 Enterprise.
    Don't anthropomorphize computers -- they hate it

  4. #4

    Thread Starter
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    VBGladiator
    I just finished writing it...

    Merrion
    Here's a screen shot, should give you a nice idea of what it does...
    Attached Images Attached Images  

  5. #5
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    Looks cool - but I must tell you that from my experience developers are not willing to pay for components....that's why I give all my stuff away free.
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  6. #6

    Thread Starter
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    Well, I guess that's true - like they say: "if wishes were wings, pigs would fly!"

    Oh, well, um, how about donations - absolutely no fee?

  7. #7
    Addicted Member WALDO's Avatar
    Join Date
    Aug 2002
    Location
    Swing of Prussia, PA
    Posts
    244
    Originally posted by MerrionComputin
    Looks cool - but I must tell you that from my experience developers are not willing to pay for components....that's why I give all my stuff away free.
    Especially components they could write themselves. There's a zillion places where coders can find code for a system tray icon. I bet there's even some here.

  8. #8

    Thread Starter
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    Originally posted by WALDO
    Especially components they could write themselves. There's a zillion places where coders can find code for a system tray icon. I bet there's even some here.
    One offhand - the first one that I wrote

  9. #9
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    not only is there one on the 3rd disk of VB6 enterprise... but PSC has about a million as well... not to bash yours.. i am sure it is good.. and it may even do things others don't.. but like merrion said... no one will pay..

    people generally will only pay for very advances controls.. like sheridan controls

  10. #10

    Thread Starter
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    :sniff: Oh well... worth the try though - and it killed 15 minutes!
    Attached Files Attached Files

  11. #11
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    There is event a systray icon component in the EventVB.dll which you can use thus:

    VB Code:
    1. Option Explicit
    2.  
    3. Dim WithEvents vbLink As EventVB.APIFunctions
    4. Dim WithEvents vbSystray As EventVB.ApiNotifyIcon
    5.  
    6.  
    7. Private Sub Form_Load()
    8.  
    9. Set vbLink = New APIFunctions
    10.  
    11. Set vbSystray = New ApiNotifyIcon
    12.  
    13. Dim icThis As New ApiIcon
    14.  
    15. icThis.hIcon = Me.Icon.Handle
    16.  
    17. With vbSystray
    18.     Set .Icon = icThis
    19.     .ToolTip = "This is an icon"
    20.     .Show
    21. End With
    22.  
    23. End Sub
    24.  
    25. Private Sub vbSystray_MouseUp(ByVal Button As Integer)
    26.  
    27. If Button = vbRightButton Then
    28.     vbSystray.Hide
    29. Else
    30.     vbSystray.ToolTip = Now
    31. End If
    32.  
    33. End Sub
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  12. #12
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    If you're feeling bored how about making an intellisense style editor control? I'd buy that.
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  13. #13

    Thread Starter
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    Not quite so bored anymore - just got given some specs to write & code

    BUT, as soon as I'm bored again, I will be giving your idea some thought... thanks Merrion

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