Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: Data Query Pin
Rob Graham26-Apr-06 12:32
Rob Graham26-Apr-06 12:32 
GeneralRe: Data Query Pin
Sean8926-Apr-06 12:50
Sean8926-Apr-06 12:50 
AnswerRe: Data Query Pin
Kuira26-Apr-06 14:10
Kuira26-Apr-06 14:10 
GeneralRe: Data Query Pin
Sean8926-Apr-06 14:29
Sean8926-Apr-06 14:29 
QuestionApplication Focus Pin
Kayess Tech26-Apr-06 11:30
professionalKayess Tech26-Apr-06 11:30 
AnswerRe: Application Focus Pin
Shajeel26-Apr-06 19:11
Shajeel26-Apr-06 19:11 
GeneralRe: Application Focus Pin
Kayess Tech28-Apr-06 0:26
professionalKayess Tech28-Apr-06 0:26 
Questionspeech marks in the registry key Pin
IAmChris26-Apr-06 11:10
IAmChris26-Apr-06 11:10 
Hello,

I want to allow the user to specify if my application is automatically started when the OS boots. I understand that I need to add an entry to the Run registry key to make this happen but I also want to allow the app to auto-start in the system tray. To do this I have a command line and I use this command to set the key in the registry

key.SetValue("MyApp", Application.ExecutablePath + " /tray");

but this doesn't put any speech marks around the executable path.

How can I make it so that the value in the registry has the quote marks around it so that the /tray part is a command line param and not part of the path itself?

I want the registry key to be something like "C:\Program Files\MyApp\MyApp.exe" /tray.

How can I do this?

Thanks,
AnswerRe: speech marks in the registry key Pin
likefood26-Apr-06 11:16
likefood26-Apr-06 11:16 
GeneralRe: speech marks in the registry key Pin
IAmChris26-Apr-06 11:42
IAmChris26-Apr-06 11:42 
QuestionClip Rectangle - Cursor Pin
codebala26-Apr-06 10:57
codebala26-Apr-06 10:57 
AnswerRe: Clip Rectangle - Cursor Pin
Ed.Poore26-Apr-06 11:53
Ed.Poore26-Apr-06 11:53 
QuestionHelp require on transfering sms and video(MMS) from pc to mobile using SIP protocol Pin
kashif.qau26-Apr-06 10:41
kashif.qau26-Apr-06 10:41 
QuestionHtmlElement.OuterHtml.Replace(­) fails with COM exception Pin
cweeks7868126-Apr-06 10:28
cweeks7868126-Apr-06 10:28 
GeneralRe: HtmlElement.OuterHtml.Replace(­) fails with COM exception Pin
Guffa26-Apr-06 10:39
Guffa26-Apr-06 10:39 
GeneralRe: HtmlElement.OuterHtml.Replace(­) fails with COM exception Pin
cweeks7868126-Apr-06 10:49
cweeks7868126-Apr-06 10:49 
QuestionHow to read a file that is always written to? Pin
pistolenpaultje26-Apr-06 10:17
pistolenpaultje26-Apr-06 10:17 
AnswerRe: How to read a file that is continuedly written to? Pin
Guffa26-Apr-06 10:32
Guffa26-Apr-06 10:32 
GeneralRe: How to read a file that is continuedly written to? Pin
pistolenpaultje26-Apr-06 10:43
pistolenpaultje26-Apr-06 10:43 
GeneralRe: How to read a file that is continuedly written to? Pin
Ed.Poore26-Apr-06 12:30
Ed.Poore26-Apr-06 12:30 
AnswerRe: How to read a file that is continuedly written to? Pin
Office Lineman26-Apr-06 10:39
Office Lineman26-Apr-06 10:39 
GeneralRe: How to read a file that is continuedly written to? Pin
pistolenpaultje26-Apr-06 10:58
pistolenpaultje26-Apr-06 10:58 
GeneralRe: How to read a file that is continuedly written to? Pin
likefood26-Apr-06 11:31
likefood26-Apr-06 11:31 
GeneralRe: How to read a file that is continuedly written to? Pin
pistolenpaultje26-Apr-06 11:39
pistolenpaultje26-Apr-06 11:39 
GeneralRe: How to read a file that is continuedly written to? Pin
likefood26-Apr-06 11:54
likefood26-Apr-06 11:54 

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.