Click here to Skip to main content
15,916,846 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to make row stay at the top in datatable Pin
DougW487-Jul-04 7:09
DougW487-Jul-04 7:09 
GeneralRe: How to make row stay at the top in datatable Pin
Atlemann7-Jul-04 22:33
Atlemann7-Jul-04 22:33 
Generalcustom ListView header ctrl and XP theme Pin
Andy H7-Jul-04 1:17
Andy H7-Jul-04 1:17 
GeneralRe: custom ListView header ctrl and XP theme Pin
Heath Stewart7-Jul-04 5:39
protectorHeath Stewart7-Jul-04 5:39 
QuestionHow do I do double-click file opening with my C# app? Pin
spazzman7-Jul-04 0:18
spazzman7-Jul-04 0:18 
AnswerRe: How do I do double-click file opening with my C# app? Pin
Dave Kreskowiak7-Jul-04 5:04
mveDave Kreskowiak7-Jul-04 5:04 
GeneralRe: How do I do double-click file opening with my C# app? Pin
spazzman7-Jul-04 12:01
spazzman7-Jul-04 12:01 
GeneralRe: How do I do double-click file opening with my C# app? Pin
MilesAhead7-Jul-04 12:27
MilesAhead7-Jul-04 12:27 
There are several approaches you can take
to transmit the command line info(such as
the filename) from the secondary instance of
your app to the primary. You can use sockets,
windows messaging, shared memory etc..

I did an ActiveX Control that uses a page
of the system swap file with a memory mapped
file to do it. It works with just about everything I've tried that can understand
ActiveX.

If you can read Delphi, the source to the
component that the ActiveX Control is derived
from is online. http://www.torry.net

Search on "TellTail" to download the Delphi source. Basically it uses a named mutex to determine if you're in the primary or secondary instance of the app. If in the secondary, it copies command line info to the shared memory page. The primary instance has to periodically check if any info has been put in shared memory then call a method to copy it out.

I'm reworking it now to use the 'Global\'
namespace if in XP for the named kernel objects
but I may also change it to use a system event
to eliminate the polling in the primary app.
When the next revision comes out I'll have to
decide how I'm going to distribute it. But
for now the Delphi source might give you some
ideas how to do it in C#.

Good luck.

GeneralRe: How do I do double-click file opening with my C# app? Pin
Dave Kreskowiak7-Jul-04 12:39
mveDave Kreskowiak7-Jul-04 12:39 
GeneralRe: How do I do double-click file opening with my C# app? Pin
spazzman8-Jul-04 2:12
spazzman8-Jul-04 2:12 
GeneralWrong dimensions. Pin
6-Jul-04 21:26
suss6-Jul-04 21:26 
GeneralRe: Wrong dimensions. Pin
Hesham Amin6-Jul-04 22:55
Hesham Amin6-Jul-04 22:55 
GeneralRe: Wrong dimensions. Pin
Nick Z.6-Jul-04 23:28
Nick Z.6-Jul-04 23:28 
GeneralRe: Wrong dimensions. Pin
Heath Stewart7-Jul-04 5:27
protectorHeath Stewart7-Jul-04 5:27 
GeneralRe: Wrong dimensions. Pin
Nick Z.6-Jul-04 23:44
Nick Z.6-Jul-04 23:44 
GeneralMicrosoft wrote : filters property pages Pin
hpAng6-Jul-04 20:48
hpAng6-Jul-04 20:48 
GeneralRe: Microsoft wrote : filters property pages Pin
hpAng6-Jul-04 21:13
hpAng6-Jul-04 21:13 
GeneralRe: Microsoft wrote : filters property pages Pin
Heath Stewart7-Jul-04 5:23
protectorHeath Stewart7-Jul-04 5:23 
QuestionHow to Prevent decompile or dis-assembly c# project (.NET)? Pin
Anonymous6-Jul-04 20:07
Anonymous6-Jul-04 20:07 
AnswerRe: How to Prevent decompile or dis-assembly c# project (.NET)? Pin
Colin Angus Mackay7-Jul-04 0:24
Colin Angus Mackay7-Jul-04 0:24 
GeneralRe: How to Prevent decompile or dis-assembly c# project (.NET)? Pin
Heath Stewart7-Jul-04 5:17
protectorHeath Stewart7-Jul-04 5:17 
Answernot only you that face this problem :) Pin
Hesham Amin7-Jul-04 4:18
Hesham Amin7-Jul-04 4:18 
GeneralMemory usage of 1 form Pin
dev1t6-Jul-04 17:25
dev1t6-Jul-04 17:25 
GeneralRe: Memory usage of 1 form Pin
insurgentpyro6-Jul-04 18:57
insurgentpyro6-Jul-04 18:57 
GeneralRe: Memory usage of 1 form Pin
dev1t7-Jul-04 3:01
dev1t7-Jul-04 3:01 

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.