Click here to Skip to main content
15,886,713 members
Home / Discussions / C#
   

C#

 
AnswerRe: Rotate array data question Pin
Not Active5-Sep-06 9:51
mentorNot Active5-Sep-06 9:51 
AnswerRe: Rotate array data question Pin
Nader Elshehabi5-Sep-06 10:24
Nader Elshehabi5-Sep-06 10:24 
QuestionSQL TOP Equivalen in SQL Everywhere !!! Pin
Nadia Monalisa5-Sep-06 9:06
Nadia Monalisa5-Sep-06 9:06 
AnswerRe: SQL TOP Equivalen in SQL Everywhere !!! Pin
Not Active5-Sep-06 9:21
mentorNot Active5-Sep-06 9:21 
QuestionIs it possible to close a form that calls event to another form and while the event is being handled !!!. Pin
Nadia Monalisa5-Sep-06 8:37
Nadia Monalisa5-Sep-06 8:37 
AnswerRe: Is it possible to close a form that calls event to another form and while the event is being handled !!!. Pin
Jun Du5-Sep-06 10:08
Jun Du5-Sep-06 10:08 
GeneralRe: Is it possible to close a form that calls event to another form and while the event is being handled !!!. Pin
Nadia Monalisa5-Sep-06 10:23
Nadia Monalisa5-Sep-06 10:23 
Questionprocess.StartInfo Pin
Bharat Gadhia5-Sep-06 8:20
Bharat Gadhia5-Sep-06 8:20 
I am trying ot run this programm from a windows form application but at command line it stops with message:

"Reading passphrase from file descriptor 0 ..." and nothing happens.

Same program run fine on command line with follwoing line:

C:\Program Files\GNU\GnuPG>gpg --passphrase-fd 0 < c:\gnupg\passphrase.txt -o c:\HIF\Clock.swf -d c:\gnupg\Clock.gpg

This is a command to decrypt the file using GnuPG encryption and decryption program.

Any help is most welcome.

Code Snippet:

string strArg = @" --passphrase-fd 0 < c:\gnupg\passphrase.txt -o c:\HIF\Clock.swf -d c:\gnupg\abc.gpg";
process.StartInfo.FileName = @"C:\Program Files\GNU\GnuPG\gpg"; OR "gpg"
process.StartInfo.Arguments = strArg;
process.StartInfo.RedirectStandardInput = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.UseShellExecute = false;
try
{
process.Start();
process.WaitForExit(5000);
string str = process.StandardOutput.ReadToEnd();
}
catch(Exception ex)
{
string str = ex.Source + ex.Message + ex.StackTrace;
}

Bharat Gadhia

In life, failures teach you as much as — or perhaps more than — successes.
Thank you very much for the help.

AnswerRe: process.StartInfo Pin
Not Active5-Sep-06 8:53
mentorNot Active5-Sep-06 8:53 
GeneralRe: process.StartInfo Pin
Bharat Gadhia5-Sep-06 9:15
Bharat Gadhia5-Sep-06 9:15 
GeneralRe: process.StartInfo Pin
Not Active5-Sep-06 9:28
mentorNot Active5-Sep-06 9:28 
GeneralRe: process.StartInfo Pin
Bharat Gadhia5-Sep-06 9:39
Bharat Gadhia5-Sep-06 9:39 
Questioncs project to Linux Pin
Amar Chaudhary5-Sep-06 8:19
Amar Chaudhary5-Sep-06 8:19 
AnswerRe: cs project to Linux Pin
User 66585-Sep-06 8:25
User 66585-Sep-06 8:25 
GeneralRe: cs project to Linux Pin
Amar Chaudhary5-Sep-06 8:48
Amar Chaudhary5-Sep-06 8:48 
GeneralRe: cs project to Linux Pin
User 66585-Sep-06 8:54
User 66585-Sep-06 8:54 
GeneralRe: cs project to Linux Pin
Amar Chaudhary5-Sep-06 9:01
Amar Chaudhary5-Sep-06 9:01 
QuestionHelp with GDI+ Pin
Fco. Javier Marin5-Sep-06 7:58
Fco. Javier Marin5-Sep-06 7:58 
AnswerRe: Help with GDI+ Pin
Jun Du5-Sep-06 8:08
Jun Du5-Sep-06 8:08 
GeneralRe: Help with GDI+ Pin
Fco. Javier Marin5-Sep-06 8:17
Fco. Javier Marin5-Sep-06 8:17 
GeneralRe: Help with GDI+ Pin
User 66585-Sep-06 8:21
User 66585-Sep-06 8:21 
GeneralRe: Help with GDI+ Pin
Fco. Javier Marin5-Sep-06 8:26
Fco. Javier Marin5-Sep-06 8:26 
GeneralRe: Help with GDI+ Pin
Jun Du5-Sep-06 9:27
Jun Du5-Sep-06 9:27 
AnswerRe: Help with GDI+ Pin
User 66585-Sep-06 8:13
User 66585-Sep-06 8:13 
AnswerRe: Help with GDI+ Pin
Amar Chaudhary5-Sep-06 8:53
Amar Chaudhary5-Sep-06 8:53 

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.