Click here to Skip to main content
16,020,714 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
SuggestionRe arranging the display on the list view Pin
Member 1257814219-May-17 9:03
Member 1257814219-May-17 9:03 
GeneralRe: Re arranging the display on the list view Pin
Richard MacCutchan19-May-17 21:30
mveRichard MacCutchan19-May-17 21:30 
QuestionConnecting to remote server <IP> failed with the following error message. Pin
Y_Kaushik19-May-17 2:54
Y_Kaushik19-May-17 2:54 
AnswerRe: Connecting to remote server <IP> failed with the following error message. Pin
Richard Deeming23-May-17 1:28
mveRichard Deeming23-May-17 1:28 
QuestionCalling a Console Application with Elevated rights opening Windows continuously Pin
indian1431-May-17 8:59
indian1431-May-17 8:59 
AnswerRe: Calling a Console Application with Elevated rights opening Windows continuously Pin
Dave Kreskowiak1-May-17 9:47
mveDave Kreskowiak1-May-17 9:47 
GeneralRe: Calling a Console Application with Elevated rights opening Windows continuously Pin
indian1431-May-17 10:04
indian1431-May-17 10:04 
GeneralRe: Calling a Console Application with Elevated rights opening Windows continuously Pin
Dave Kreskowiak1-May-17 10:51
mveDave Kreskowiak1-May-17 10:51 
Ummm.... most of the options you're setting in the ProcessStartInfo object are the default values. The only things you're actually changing are Filename (more on this in a second) and Verb. Everything else you're setting the values to their default values. You're really not changing anything there.

The Filename you're changing is your problem. The Assembly.GetEntryAssembly().CodeBase returns the fill filepath TO YOUR APPA.EXE LAUNCHER!! You're Launcher is relaunching itself and then quitting. A simple trip through the debugger would have told you that!

YOU NEVER LAUNCH APPB.EXE!
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak


modified 8-May-17 10:33am.

GeneralRe: Calling a Console Application with Elevated rights opening Windows continuously Pin
indian1431-May-17 13:07
indian1431-May-17 13:07 
Question(VS 2008 - C# - Compact Framework) problem with e.Graphics.DrawString Pin
steve_949661327-Apr-17 4:27
professionalsteve_949661327-Apr-17 4:27 
AnswerRe: (VS 2008 - C# - Compact Framework) problem with e.Graphics.DrawString Pin
Dave Kreskowiak27-Apr-17 4:44
mveDave Kreskowiak27-Apr-17 4:44 
GeneralRe: (VS 2008 - C# - Compact Framework) problem with e.Graphics.DrawString Pin
steve_949661327-Apr-17 5:21
professionalsteve_949661327-Apr-17 5:21 
QuestionVS 2017 Could not find required file 'setup.bin' in csproj folder Pin
Vitor_Silva26-Apr-17 10:07
Vitor_Silva26-Apr-17 10:07 
AnswerRe: VS 2017 Could not find required file 'setup.bin' in csproj folder Pin
Richard MacCutchan26-Apr-17 21:11
mveRichard MacCutchan26-Apr-17 21:11 
QuestionHow to install SignTool.exe for VS 2017? Pin
Vitor_Silva26-Apr-17 4:43
Vitor_Silva26-Apr-17 4:43 
AnswerRe: How to install SignTool.exe for VS 2017? Pin
Vitor_Silva26-Apr-17 5:18
Vitor_Silva26-Apr-17 5:18 
AnswerRe: How to install SignTool.exe for VS 2017? Pin
User 418025426-Apr-17 5:42
User 418025426-Apr-17 5:42 
GeneralRe: How to install SignTool.exe for VS 2017? Pin
Vitor_Silva26-Apr-17 8:49
Vitor_Silva26-Apr-17 8:49 
QuestionRun Applications as an Administrator using Scheduled Task Pin
indian14325-Apr-17 13:36
indian14325-Apr-17 13:36 
QuestionType thanglish in keyboard when display tamil letters in textbox Pin
Member 1296305725-Apr-17 1:34
Member 1296305725-Apr-17 1:34 
AnswerRe: Type thanglish in keyboard when display tamil letters in textbox Pin
User 418025425-Apr-17 1:59
User 418025425-Apr-17 1:59 
AnswerRe: Type thanglish in keyboard when display tamil letters in textbox Pin
Afzaal Ahmad Zeeshan25-Apr-17 2:51
professionalAfzaal Ahmad Zeeshan25-Apr-17 2:51 
QuestionGet the week of the month in string using C# Pin
indian14320-Apr-17 13:02
indian14320-Apr-17 13:02 
AnswerRe: Get the week of the month in string using C# Pin
Afzaal Ahmad Zeeshan20-Apr-17 13:24
professionalAfzaal Ahmad Zeeshan20-Apr-17 13:24 
AnswerRe: Get the week of the month in string using C# Pin
Richard MacCutchan20-Apr-17 22:26
mveRichard MacCutchan20-Apr-17 22:26 

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.