Click here to Skip to main content
15,881,709 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multiple rows selected in Datagrid Pin
Anonymous4-Sep-03 7:36
Anonymous4-Sep-03 7:36 
GeneralRe: Multiple rows selected in Datagrid Pin
Ista4-Sep-03 13:53
Ista4-Sep-03 13:53 
GeneralRe: Multiple rows selected in Datagrid Pin
Ista4-Sep-03 13:53
Ista4-Sep-03 13:53 
GeneralCreateInstance exception Pin
Hans Ruck4-Sep-03 5:18
Hans Ruck4-Sep-03 5:18 
Generaldatabind to datatable.rows.count Pin
troels_sorensen4-Sep-03 3:38
troels_sorensen4-Sep-03 3:38 
GeneralRe: databind to datatable.rows.count Pin
Ista4-Sep-03 13:54
Ista4-Sep-03 13:54 
GeneralRe: databind to datatable.rows.count Pin
troels_sorensen7-Sep-03 6:35
troels_sorensen7-Sep-03 6:35 
GeneralProblems Run WinZip via a SOAP Service in C# Pin
S S Basra3-Sep-03 23:30
S S Basra3-Sep-03 23:30 
Hi, I trying to run a registered version of WinZip 8.1 via a SOAP Service written in C# with Visual Studio 2002.

And I am trying to unzip a file on the server using a soap service call

When I take the code out of the SOAP service and try to run it on my local machine as is it works, on the server that the SOAP service is running on all I get is the executable being run in the background and only visible through the Task Manager, but no files being unzipped. The command line that I actually run does work if I run it from the command promt on the server.


sFileName = "\Temp\QNH007983.zip"
sRootFolder = "\Sat\"

Zip command being run 'winzip32.exe-e "C:\Temp\QNH007983.zip" "C:\Temp\Sat\"'

ExtractZipFile( @"\Temp\QNH007983.zip", @"\Sat");

private string ExtractZipFile(string sFileName, string sRootFolder)
{
try
{
string emuPath = "winzip32.exe";
//string emuParams = " -min -e \"C:" + sFileName+ "\" \"C:" + sRootFolder + "\""; //run minimised
string emuParams = "-e \"C:" + sFileName+ "\" \"C:" + sRootFolder + "\"";
ZipFileCall = emuPath + emuParams;

Process p = new Process();
ProcessStartInfo psI = new ProcessStartInfo( emuPath , emuParams);
psI.CreateNoWindow = false;
psI.UseShellExecute = true;
p.StartInfo = psI;
p.Start();

return sFileName;
}
catch
{
return "Failed - to save zip file";
}
}



thanks in advance

Satvinder
GeneralWorking with different image format Pin
Stephane David3-Sep-03 22:16
Stephane David3-Sep-03 22:16 
GeneralRe: Working with different image format Pin
Philip Fitzsimons4-Sep-03 3:00
Philip Fitzsimons4-Sep-03 3:00 
GeneralRe: Working with different image format Pin
Stephane David4-Sep-03 20:14
Stephane David4-Sep-03 20:14 
GeneralTetx to XML Pin
Hojtha Karlsson3-Sep-03 22:13
Hojtha Karlsson3-Sep-03 22:13 
GeneralRe: Tetx to XML Pin
Ista5-Sep-03 3:56
Ista5-Sep-03 3:56 
GeneralSuspendLayout() doen't work on richTextBox Pin
eranas3-Sep-03 21:08
eranas3-Sep-03 21:08 
GeneralRe: SuspendLayout() doen't work on richTextBox Pin
Corinna John5-Sep-03 1:05
Corinna John5-Sep-03 1:05 
GeneralFill the List with Data Set Pin
Birdy3-Sep-03 20:25
Birdy3-Sep-03 20:25 
GeneralRe: Fill the List with Data Set Pin
Braulio Dez3-Sep-03 23:52
Braulio Dez3-Sep-03 23:52 
GeneralDirectX question Pin
Meysam Mahfouzi3-Sep-03 17:21
Meysam Mahfouzi3-Sep-03 17:21 
GeneralRe: DirectX question Pin
TimK3-Sep-03 18:00
TimK3-Sep-03 18:00 
GeneralRe: DirectX question Pin
Meysam Mahfouzi3-Sep-03 18:23
Meysam Mahfouzi3-Sep-03 18:23 
GeneralHelp!!!!!!(at C# of environment use VB function ) Pin
simonasp3-Sep-03 17:12
simonasp3-Sep-03 17:12 
GeneralRe: Help!!!!!!(at C# of environment use VB function ) Pin
Corinna John4-Sep-03 1:48
Corinna John4-Sep-03 1:48 
GeneralThread safety Pin
TimK3-Sep-03 14:34
TimK3-Sep-03 14:34 
GeneralRe: Thread safety Pin
Meysam Mahfouzi3-Sep-03 17:11
Meysam Mahfouzi3-Sep-03 17:11 
GeneralRe: Thread safety Pin
TimK3-Sep-03 17:56
TimK3-Sep-03 17:56 

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.