Click here to Skip to main content
15,906,467 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multiple data sources with the same name in different directorys? Pin
Kiotaya24-Jul-09 18:30
Kiotaya24-Jul-09 18:30 
GeneralRe: Multiple data sources with the same name in different directorys? Pin
PIEBALDconsult24-Jul-09 19:27
mvePIEBALDconsult24-Jul-09 19:27 
GeneralRe: Multiple data sources with the same name in different directorys? Pin
Kiotaya24-Jul-09 19:59
Kiotaya24-Jul-09 19:59 
GeneralRe: Multiple data sources with the same name in different directorys? Pin
Mycroft Holmes24-Jul-09 23:06
professionalMycroft Holmes24-Jul-09 23:06 
GeneralRe: Multiple data sources with the same name in different directorys? Pin
PIEBALDconsult25-Jul-09 3:46
mvePIEBALDconsult25-Jul-09 3:46 
Questionreportviewer with untyped dataset or separate datalayer Pin
redspiderke24-Jul-09 10:59
redspiderke24-Jul-09 10:59 
QuestionWhat message to look for to redraw my systray icon when explorer is killed/restarted? Pin
dandy7224-Jul-09 8:48
dandy7224-Jul-09 8:48 
AnswerRe: What message to look for to redraw my systray icon when explorer is killed/restarted? Pin
Luc Pattyn24-Jul-09 8:52
sitebuilderLuc Pattyn24-Jul-09 8:52 
Hi,

I'm not aware of such explorer events, nor have I ever protected an app against explorer restarts. Here is an idea that might help you:
- on app start, get explorer process ID.
- periodically check it, and on a change, remove your NotifyIcon, then add a new one.

Are you sure this is worth it?

FYI: I wrote an article on stray tray icons once. You could use those techniques to check the presence of (exactly) one NotifyIcon for your app.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: What message to look for to redraw my systray icon when explorer is killed/restarted? Pin
dandy7224-Jul-09 9:06
dandy7224-Jul-09 9:06 
GeneralRe: What message to look for to redraw my systray icon when explorer is killed/restarted? Pin
Ian Shlasko24-Jul-09 9:34
Ian Shlasko24-Jul-09 9:34 
GeneralRe: What message to look for to redraw my systray icon when explorer is killed/restarted? Pin
dandy7224-Jul-09 16:14
dandy7224-Jul-09 16:14 
GeneralRe: What message to look for to redraw my systray icon when explorer is killed/restarted? Pin
Ian Shlasko24-Jul-09 16:19
Ian Shlasko24-Jul-09 16:19 
GeneralRe: What message to look for to redraw my systray icon when explorer is killed/restarted? Pin
dandy7225-Jul-09 0:39
dandy7225-Jul-09 0:39 
Questiontaking in named pipe data (from unmanaged c++ plugin) in a C# application Pin
akhanal24-Jul-09 8:41
akhanal24-Jul-09 8:41 
AnswerRe: taking in named pipe data (from unmanaged c++ plugin) in a C# application Pin
Luc Pattyn24-Jul-09 8:48
sitebuilderLuc Pattyn24-Jul-09 8:48 
GeneralRe: taking in named pipe data (from unmanaged c++ plugin) in a C# application Pin
akhanal24-Jul-09 9:28
akhanal24-Jul-09 9:28 
GeneralRe: taking in named pipe data (from unmanaged c++ plugin) in a C# application Pin
akhanal24-Jul-09 9:39
akhanal24-Jul-09 9:39 
GeneralRe: taking in named pipe data (from unmanaged c++ plugin) in a C# application Pin
Ian Shlasko24-Jul-09 10:08
Ian Shlasko24-Jul-09 10:08 
GeneralRe: taking in named pipe data (from unmanaged c++ plugin) in a C# application Pin
Luc Pattyn24-Jul-09 10:19
sitebuilderLuc Pattyn24-Jul-09 10:19 
GeneralRe: taking in named pipe data (from unmanaged c++ plugin) in a C# application Pin
akhanal24-Jul-09 14:22
akhanal24-Jul-09 14:22 
GeneralRe: taking in named pipe data (from unmanaged c++ plugin) in a C# application Pin
akhanal24-Jul-09 14:23
akhanal24-Jul-09 14:23 
AnswerRe: taking in named pipe data (from unmanaged c++ plugin) in a C# application Pin
Abhijit Jana24-Jul-09 8:49
professionalAbhijit Jana24-Jul-09 8:49 
GeneralRe: taking in named pipe data (from unmanaged c++ plugin) in a C# application Pin
akhanal24-Jul-09 9:11
akhanal24-Jul-09 9:11 
GeneralRe: taking in named pipe data (from unmanaged c++ plugin) in a C# application Pin
Wes Aday24-Jul-09 10:24
professionalWes Aday24-Jul-09 10:24 
QuestionServerVersion Exception being thrown [modified] Pin
MWRivera24-Jul-09 8:16
MWRivera24-Jul-09 8:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.