Click here to Skip to main content
15,915,734 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to start a form without being activated? Pin
Sascha Lefèvre22-Oct-17 5:11
professionalSascha Lefèvre22-Oct-17 5:11 
GeneralRe: How to start a form without being activated? Pin
alin122-Oct-17 5:53
alin122-Oct-17 5:53 
AnswerRe: How to start a form without being activated? Pin
Eddy Vluggen21-Oct-17 12:56
professionalEddy Vluggen21-Oct-17 12:56 
GeneralRe: How to start a form without being activated? Pin
alin121-Oct-17 14:22
alin121-Oct-17 14:22 
GeneralRe: How to start a form without being activated? Pin
Dave Kreskowiak22-Oct-17 2:03
mveDave Kreskowiak22-Oct-17 2:03 
GeneralRe: How to start a form without being activated? Pin
alin122-Oct-17 2:12
alin122-Oct-17 2:12 
GeneralRe: How to start a form without being activated? Pin
Eddy Vluggen23-Oct-17 8:32
professionalEddy Vluggen23-Oct-17 8:32 
AnswerRe: How to start a form without being activated? Pin
BillWoodruff21-Oct-17 16:54
professionalBillWoodruff21-Oct-17 16:54 
I suggest you edit your original post to include all the details you have now revealed with your replies, here, to the other posts.

If your WinForm app depends on getting a list of file-paths from an external app that launches it, then, why not pass the paths as parameters when the external app starts the WinForm app?

Check out the 'SetForegroundWindow and 'SetActiveWindow API's for restoring focus to the external app after you launch the WinForm app: [^].
«While I complain of being able to see only a shadow of the past, I may be insensitive to reality as it is now, since I'm not at a stage of development where I'm capable of seeing it. A few hundred years later another traveler despairing as myself, may mourn the disappearance of what I may have seen, but failed to see.» Claude Levi-Strauss (Tristes Tropiques, 1955)

GeneralRe: How to start a form without being activated? Pin
alin122-Oct-17 2:03
alin122-Oct-17 2:03 
GeneralRe: How to start a form without being activated? Pin
Dave Kreskowiak22-Oct-17 2:18
mveDave Kreskowiak22-Oct-17 2:18 
GeneralRe: How to start a form without being activated? Pin
alin122-Oct-17 2:54
alin122-Oct-17 2:54 
GeneralRe: How to start a form without being activated? Pin
Dave Kreskowiak22-Oct-17 8:54
mveDave Kreskowiak22-Oct-17 8:54 
GeneralRe: How to start a form without being activated? Pin
alin127-Oct-17 16:41
alin127-Oct-17 16:41 
GeneralRe: How to start a form without being activated? Pin
Dave Kreskowiak28-Oct-17 4:00
mveDave Kreskowiak28-Oct-17 4:00 
QuestionSubjective question: which one of these Lazy Init is best Pin
Super Lloyd19-Oct-17 13:33
Super Lloyd19-Oct-17 13:33 
AnswerRe: Subjective question: which one of these Lazy Init is best Pin
PIEBALDconsult19-Oct-17 14:26
mvePIEBALDconsult19-Oct-17 14:26 
AnswerRe: Subjective question: which one of these Lazy Init is best Pin
Bernhard Hiller19-Oct-17 21:37
Bernhard Hiller19-Oct-17 21:37 
GeneralRe: Subjective question: which one of these Lazy Init is best Pin
Super Lloyd19-Oct-17 21:46
Super Lloyd19-Oct-17 21:46 
GeneralRe: Subjective question: which one of these Lazy Init is best Pin
OriginalGriff19-Oct-17 21:52
mveOriginalGriff19-Oct-17 21:52 
GeneralRe: Subjective question: which one of these Lazy Init is best Pin
BillWoodruff20-Oct-17 20:21
professionalBillWoodruff20-Oct-17 20:21 
GeneralRe: Subjective question: which one of these Lazy Init is best Pin
Bernhard Hiller23-Oct-17 22:16
Bernhard Hiller23-Oct-17 22:16 
GeneralRe: Subjective question: which one of these Lazy Init is best Pin
Eddy Vluggen19-Oct-17 22:39
professionalEddy Vluggen19-Oct-17 22:39 
AnswerRe: Subjective question: which one of these Lazy Init is best Pin
Richard Deeming20-Oct-17 1:53
mveRichard Deeming20-Oct-17 1:53 
SuggestionRe: Subjective question: which one of these Lazy Init is best Pin
Eddy Vluggen20-Oct-17 2:04
professionalEddy Vluggen20-Oct-17 2:04 
GeneralRe: Subjective question: which one of these Lazy Init is best Pin
Richard Deeming20-Oct-17 2:12
mveRichard Deeming20-Oct-17 2:12 

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.