Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to create trial version from my app ? Pin
jmcc2k24-Nov-10 18:11
jmcc2k24-Nov-10 18:11 
QuestionLoading .cs file from FileSystem as Object? Pin
robert11012-Oct-06 10:15
robert11012-Oct-06 10:15 
AnswerRe: Loading .cs file from FileSystem as Object? Pin
Stefan Troschuetz12-Oct-06 21:23
Stefan Troschuetz12-Oct-06 21:23 
AnswerRe: Loading .cs file from FileSystem as Object? Pin
Jonathan van de Veen12-Oct-06 21:51
Jonathan van de Veen12-Oct-06 21:51 
GeneralRe: Loading .cs file from FileSystem as Object? Pin
robert11015-Oct-06 6:39
robert11015-Oct-06 6:39 
QuestionPage_Load fires twice [modified] Pin
bins8812-Oct-06 8:47
bins8812-Oct-06 8:47 
AnswerRe: Page_Load fires twice Pin
Andrew Rissing12-Oct-06 10:01
Andrew Rissing12-Oct-06 10:01 
QuestionService Problem - Starting a different process Pin
matthias s.12-Oct-06 8:01
matthias s.12-Oct-06 8:01 
I've written a Service. OnStarts starts a new Thread which will periodically perform some action. Everything works as expected. The only problem is, that the action which should be performed is, goes like this:
// you can assume sFilePath + sArguments set
ProcessStartInfo psi = new ProcessStartInfo(sFilePath, sArguments);
try 
{
 Process.Start(psi);
}
catch (Exception e) 
{
 // writing this to the EventLog
}

Something goes wrong here, because the process is not started and an exception is not thrown either. Can somebody please tell me why? Does it have to do something with the service interacting with the desktop? If so, how can I allow this programatically?

I hate to say it, but it is urgent... D'Oh! | :doh:

Thanks a truckload in advance!

/matthias


I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams]

AnswerRe: Service Problem - Starting a different process Pin
Andrew Rissing12-Oct-06 8:21
Andrew Rissing12-Oct-06 8:21 
GeneralRe: Service Problem - Starting a different process Pin
matthias s.12-Oct-06 9:14
matthias s.12-Oct-06 9:14 
GeneralRe: Service Problem - Starting a different process Pin
Andrew Rissing12-Oct-06 9:58
Andrew Rissing12-Oct-06 9:58 
Questiondropdownlist1.selectedvalue Pin
Ram Kiran12-Oct-06 7:57
Ram Kiran12-Oct-06 7:57 
AnswerRe: dropdownlist1.selectedvalue Pin
mnvkng7612-Oct-06 18:23
mnvkng7612-Oct-06 18:23 
QuestionHow to use class property Pin
robert11012-Oct-06 7:29
robert11012-Oct-06 7:29 
AnswerRe: How to use class property Pin
led mike12-Oct-06 7:36
led mike12-Oct-06 7:36 
AnswerRe: How to use class property Pin
Sreenath Madyastha12-Oct-06 7:40
Sreenath Madyastha12-Oct-06 7:40 
QuestionHow can i create Font property for a composite control similar to the default one? Pin
Lior S12-Oct-06 7:27
Lior S12-Oct-06 7:27 
AnswerRe: How can i create Font property for a composite control similar to the default one? Pin
Martin#12-Oct-06 20:26
Martin#12-Oct-06 20:26 
Questionnewbie: sort values in a text.txt and display by name? Pin
hristo197712-Oct-06 7:12
hristo197712-Oct-06 7:12 
AnswerRe: newbie: sort values in a text.txt and display by name? Pin
User 665812-Oct-06 7:25
User 665812-Oct-06 7:25 
GeneralRe: newbie: sort values in a text.txt and display by name? Pin
hristo197712-Oct-06 9:00
hristo197712-Oct-06 9:00 
QuestionConverting semi-structured htm data to xml Pin
RichardInToronto12-Oct-06 7:06
RichardInToronto12-Oct-06 7:06 
AnswerRe: Converting semi-structured htm data to xml Pin
led mike12-Oct-06 7:39
led mike12-Oct-06 7:39 
GeneralRe: Converting semi-structured htm data to xml Pin
RichardInToronto12-Oct-06 16:57
RichardInToronto12-Oct-06 16:57 
AnswerRe: Converting semi-structured htm data to xml Pin
Sreenath Madyastha12-Oct-06 7:46
Sreenath Madyastha12-Oct-06 7:46 

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.