I wan't my app to be only with a module and a systray icon+menu...
How do I do that?
Printable View
I wan't my app to be only with a module and a systray icon+menu...
How do I do that?
Have atleast one hidden form to get the menu easily. You can have systray code linked to the same form. That way, any systray example you can find will do. Here is a systray example from my archives. See also the topic the attachment is posted in for more information :)
what you gave me has a form which i don't want to show at all...
p.s.
the program starts from Sub Main()
You can hide the form, there's no need to show it.Quote:
Originally posted by Trojan
what you gave me has a form which i don't want to show at all...
p.s.
the program starts from Sub Main()
Yes, you can have a form without showing it. You just have to edit the code so that it works for you. It shouldn't be too hard, just some initializing and terminating stuff to the Main sub.