Click here to Skip to main content
15,902,840 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unable To Deserialize Pin
Anubhava Dimri22-Apr-11 18:11
Anubhava Dimri22-Apr-11 18:11 
Questiongraph adjacency matrix Pin
Alex25221-Apr-11 20:15
Alex25221-Apr-11 20:15 
AnswerRe: graph adjacency matrix Pin
Dave Kreskowiak22-Apr-11 4:13
mveDave Kreskowiak22-Apr-11 4:13 
GeneralRe: graph adjacency matrix Pin
Alex25222-Apr-11 8:59
Alex25222-Apr-11 8:59 
GeneralRe: graph adjacency matrix Pin
Pete O'Hanlon22-Apr-11 9:26
mvePete O'Hanlon22-Apr-11 9:26 
GeneralRe: graph adjacency matrix Pin
David198722-Apr-11 4:26
David198722-Apr-11 4:26 
GeneralRe: graph adjacency matrix Pin
Alex25222-Apr-11 8:57
Alex25222-Apr-11 8:57 
QuestionConflicting permissions Pin
Dell.Simmons21-Apr-11 13:52
Dell.Simmons21-Apr-11 13:52 
I've kind of programmed myself into a corner. I just changed my application to use David Hall's Task Scheduler Library for Net, so now the app requires elevated permissions (run as Administrator). However, I discovered that when I 'run as administrator' the app's connection to QuickBooks fails. Some research led me to find that the QuickBooks SDK will not work with elevated permissions on Windows 7. So now part of my app requires elevated permission and part of it requires non-elevated permission.

I think I can get around this by splitting the task scheduler code off in a separate process like this example:

"A new process with elevated privileges can be spawned from within a .NET application using the "runas" verb. An example using C#:"
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = "C:\\Windows\\system32\\notepad.exe";
proc.StartInfo.Verb = "runas"; // Elevate the application
proc.Start();

So my question is, is this the only way? Are there other, better alternatives? Thanks.
AnswerRe: Conflicting permissions Pin
Dave Kreskowiak22-Apr-11 4:11
mveDave Kreskowiak22-Apr-11 4:11 
GeneralRe: Conflicting permissions Pin
Dell.Simmons22-Apr-11 4:26
Dell.Simmons22-Apr-11 4:26 
AnswerRe: Conflicting permissions Pin
ambarishtv24-Apr-11 5:26
ambarishtv24-Apr-11 5:26 
Questionsplit mp3 file Pin
lidore421-Apr-11 10:28
lidore421-Apr-11 10:28 
AnswerRe: split mp3 file Pin
thatraja24-Apr-11 18:38
professionalthatraja24-Apr-11 18:38 
QuestionHi Pin
Member 785196221-Apr-11 6:28
Member 785196221-Apr-11 6:28 
GeneralRe: Hi Pin
David198721-Apr-11 6:33
David198721-Apr-11 6:33 
AnswerRe: Hi Pin
Richard MacCutchan21-Apr-11 6:51
mveRichard MacCutchan21-Apr-11 6:51 
AnswerRe: Hi Pin
Gandalf_TheWhite22-Apr-11 1:26
professionalGandalf_TheWhite22-Apr-11 1:26 
AnswerRe: Hi Pin
Prasanta_Prince22-Apr-11 21:42
Prasanta_Prince22-Apr-11 21:42 
QuestionPolymorphism through Inheritance Pin
Ankit Rajput21-Apr-11 0:45
Ankit Rajput21-Apr-11 0:45 
AnswerRe: Polymorphism through Inheritance Pin
Pete O'Hanlon21-Apr-11 1:01
mvePete O'Hanlon21-Apr-11 1:01 
GeneralRe: Polymorphism through Inheritance Pin
Ankit Rajput21-Apr-11 1:08
Ankit Rajput21-Apr-11 1:08 
GeneralRe: Polymorphism through Inheritance Pin
Pete O'Hanlon21-Apr-11 1:11
mvePete O'Hanlon21-Apr-11 1:11 
GeneralRe: Polymorphism through Inheritance Pin
Lutosław21-Apr-11 3:13
Lutosław21-Apr-11 3:13 
GeneralRe: Polymorphism through Inheritance Pin
#realJSOP21-Apr-11 4:42
professional#realJSOP21-Apr-11 4:42 
AnswerRe: Polymorphism through Inheritance Pin
BobJanova21-Apr-11 1:09
BobJanova21-Apr-11 1:09 

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.