P
Pieter
Hi,
For a VB.NET 2005 application I need some kind Application Variable that
holds a value that can be accessed everywhere in the application. It should
also be available for a usercontrol in a seperate dll. Even more: I should
be able to trigger everywhere in the application when this variable changes.
I need it for some kind of Copy Paste operation of Documents in the
application. Not only the ID of what I want to copy must be available
everywhere (I could actually do this via the clipboard), but I should be
able to disable everywhere the "paste"-buttons (which are on every form)
when there isn't any copied, and they must be enabled when the user copied
something. So I kind of need a way to handle on different locations the
event.
Any idea how I should do this? I searched for some kind of
application-events, but didn't find a solution.
Any help our hints would be really appreciated!
Thanks a lot in advance!
Pieter
For a VB.NET 2005 application I need some kind Application Variable that
holds a value that can be accessed everywhere in the application. It should
also be available for a usercontrol in a seperate dll. Even more: I should
be able to trigger everywhere in the application when this variable changes.
I need it for some kind of Copy Paste operation of Documents in the
application. Not only the ID of what I want to copy must be available
everywhere (I could actually do this via the clipboard), but I should be
able to disable everywhere the "paste"-buttons (which are on every form)
when there isn't any copied, and they must be enabled when the user copied
something. So I kind of need a way to handle on different locations the
event.
Any idea how I should do this? I searched for some kind of
application-events, but didn't find a solution.
Any help our hints would be really appreciated!
Thanks a lot in advance!
Pieter