ok i've tried that and tried to put it into the program but it creates two icons...one is an invisible icon, like a spacing and the other is the actual icon....
i just tried moving all the coding in the usercontrol_initialize to a timer that had an interval of 1 and then disabled the timer after it ran and the coding works. but there must be a way of doing this without a timer to cut down the resource's being used
oh ok then....
i am trying to make an activex control that is customizable but it lets you place an icon in the system tray that is linked to the main window....
this is all the coding i have at the moment
see if you can understand what is wrong.... thanks for this by the way
Option Explicit...
um ok...one thing is that the control is not visible...would it work if say i had a timer than ran once and then disabled itself? that would waste some resources though....
also thought i'd mention i've used UserControl.Parent.Icon.Handle
as well but i am not sure if this will cause an error...
ok thanks
i tried this and i am kinda guessing it is working in the right way but it came up with an error saying 'client site no available'
any help would be really appreciated
thanks
Hi
I am creating an activex control in vb and i am trying to find the hwnd of the form that the control is....i have been trying to integrate other coding that i have used for other applications but it just isn't working...
please any help with this would be appreciated
the previous code...
Hi
I am working on a project right now but i really wish to try to incorporate a function to hide an icon that is already in the taskbar and then to be able to reshow this icon. I have been searching for a while and have been unable to find any coding that can hide particular icons that are...
I am pretty good at visual basic programming but i want to learn to use API functions in my programs and was wondering if anyone knew of a site or text file that i could learn to use API functions from or whether anyone knows of any other method of learning API functions from...
your help is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.