User Profile

Collapse

Profile Sidebar

Collapse
malkin
malkin
Last Activity: Dec 17 '09, 07:49 AM
Joined: Apr 29 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • WebClient throws 407 Proxy Authentication Required error

    Hi all,

    I have an external application that calls WebClient to download a file from our server. It runs fine without any proxy server involved. However, once there is a proxy server layer, it throws a 407 proxy authentication required error.

    My question is that since I do not know whether the users are going to download a file thru a proxy, is there a way in C# to specify a general way of coding to handle proxy and...
    See more | Go to post

  • In fact, the console application process is triggered in an ActiveX control which means the console application is already pre-installed in client's PC.

    It seems that the options (CreateNoWindow or WindowStyle) doesn't affect the ActiveX control when triggering a process.
    See more | Go to post

    Leave a comment:


  • malkin
    started a topic How do I call a hidden process from a web app ?

    How do I call a hidden process from a web app ?

    Hello all,

    I have a web application which needs to call a console application and capture the output of that execution process.

    What I have is the following:
    Code:
    ProcessStartInfo psi = new ProcessStartInfo();
    psi.WindowStyle = ProcessWindowStyle.Hidden;
    psi.FileName = "doTask.exe";
    psi.Arguments = "abc";
    psi.UseShellExecute = false;
    psi.CreateNoWindow = true;
    ...
    See more | Go to post
    Last edited by Frinavale; Jun 1 '09, 03:02 PM. Reason: Added code tags. Please post code within [code] [/code] tags.

  • malkin
    started a topic Download file from web server to client's computer
    in .NET

    Download file from web server to client's computer

    Hi there,

    I am developing a web application which requires a download function to download files selected on the web page into client's computer. I have tried to build a C# DLL, load to client's machine and retrieve the file (data) from server and save it in client's PC. That's doesn't work. During this test, I got a Unauthorized Access Exception when I tried to use the StreamWriter to write the data to "d:\tmp\" (for...
    See more | Go to post
No activity results to display
Show More
Working...