anthonycara Posted June 11, 2004 Share Posted June 11, 2004 Is there any way i can get a tray icon for my application? I know it is possible (i.e. MSN, Quicktime, etc, etc) but is it in VB6? I'm fine if it means using API. -ac Link to comment Share on other sites More sharing options...
0 j005u Posted June 11, 2004 Share Posted June 11, 2004 http://vb.opencoding.net/code.asp?id=196 :D :) Link to comment Share on other sites More sharing options...
0 anthonycara Posted June 11, 2004 Author Share Posted June 11, 2004 it isnt working - "Object Required". Any clues? I've tried adding the scripting and shell references, it still doesn't work. Link to comment Share on other sites More sharing options...
0 eAi Posted June 11, 2004 Share Posted June 11, 2004 Hi, I'm the author of that code that you were linked to. The error is probably because you haven't created the picture box it needs to use as a handler. Perhaps you should give the specific line of code the problem is on? If you have any further problems, come and speak to us on irc (#visualbasic on Quakenet) or email me (eAi[at]opencoding.net). eAi Link to comment Share on other sites More sharing options...
0 anthonycara Posted June 12, 2004 Author Share Posted June 12, 2004 thanx eAi, being the impatient person that I am, I failed to miss that. It works now. Thanx so much 8=D Link to comment Share on other sites More sharing options...
0 Jerry Grey Member Posted June 13, 2004 Member Share Posted June 13, 2004 Hi, I'm the author of that code that you were linked to. The error is probably because you haven't created the picture box it needs to use as a handler. Perhaps you should give the specific line of code the problem is on? If you have any further problems, come and speak to us on irc (#visualbasic on Quakenet) or email me (eAi[at]opencoding.net). eAi Off Topic: Welcome To Neowin, eAi. :D Burns: I'm afraid it's not that simple. As punishment for your desertion, it's company policy to give you the plague. Smithers: Uh, sir, that's the plaque. Burns: Ah yes, the special demotivational plaque to break what's left of your spirit. Because, you see, you're here forever. [smithers screws a "Don't forget: you're here forever" plaque into the wall] Burns: Don't forget: you're here forever! Link to comment Share on other sites More sharing options...
0 Finsta Posted June 13, 2004 Share Posted June 13, 2004 http://www.vbaccelerator.com/codelib/shell/systray.htm This can help also... Link to comment Share on other sites More sharing options...
0 XeoVision Posted June 13, 2004 Share Posted June 13, 2004 There are .ocx's that let you put it in to the tray easily. I have it if you want it, AIM me Link to comment Share on other sites More sharing options...
0 eAi Posted June 13, 2004 Share Posted June 13, 2004 Off Topic:Welcome To Neowin, eAi. :D Thanks :) As to the OCX thing, I and most other people I know tend to avoid OCX as they're a hastle to include and register and so on. Anyway, its good to know how it all works, I'd much prefer to write my own class than use someone else's ocx. eAi Link to comment Share on other sites More sharing options...
Question
anthonycara
Is there any way i can get a tray icon for my application? I know it is possible (i.e. MSN, Quicktime, etc, etc) but is it in VB6? I'm fine if it means using API.
-ac
Link to comment
Share on other sites
8 answers to this question
Recommended Posts