Invoke Exe Available In Client Machine In A Web Application

Dec 7, 2010

I am using c# and ASP.NET 2.0.

How to invoke exe, which is available in the client machine?

View 4 Replies


Similar Messages:

How To Uniquely Identify The Client Machine In Application

Jan 5, 2011

I have a server application that runs in a hosted environment but creates print jobs in the client's local network (behind NAT; the mechanics of this is not relevant).

In order to send the print job to the printer that is attached to the workstation, I need to identify the workstation. The users move around between workstations, so I can't permanently associate a user with a workstation/printer. The trivial solution is to require the user to identify the machine he is logging in from, for instance by selecting from a list, but that's an inconvenience and subject to user error.

Options I have eliminated:

Host header variables (nothing identifiable is sent) Cookies, in support of a user selection. This somewhat addresses the potential for user error, but not really. HTML5 DOM Storage - is not supported by the client's browser

Edit: I do have the option of puttnig this particular function (create a print job) into a thick client app. The app can then of course be configured and the problem goes away. But the user experience will suffer from having to switch between the browser and a Windows app.

View 2 Replies

Web Forms :: How To Create A File On Client Machine From A Web Application

Nov 30, 2010

I have a web application which is supposed to create a file on clients local mcahine as the user is not having permissions to create a file on the server on which the web application is running.Can anyone please help me with this.I came across some posts stating that it is not a security measure to create a file on clients machine, but in my case I am left with no options.

View 1 Replies

Architecture :: Invoke Client From Web Service?

May 31, 2010

I've a web services wich can invoke a pc on the internet when a new event has come.

How do I write the code?

View 13 Replies

AJAX :: Invoke The AsyncFileUpload Programmatically From Client Script?

Jan 20, 2011

I would like to call the click event of the the AsyncFileUpload control programmatically, is it possible? I tried to call the click event, but it is not working. actually I don't like the appearance of the upload, so I am trying to hide the AsyncFileUpload control, assign the file name and click it programmatically.

View 2 Replies

WCF / ASMX :: Invoke Web Service From Client At Body's Onunload Event

Feb 21, 2011

as part of a log feature that my client asked for, I'm tring to monitor whenever the browser is closed by the user.

I have created a new web service, registered it the ScriptManager (like in this exmple [URL]

The web method is this:

[Code]....

When I put a break point it is reached, but the executenonquery won't fired.

View 1 Replies

Response.Cookie Client Or Server/where Does The Cookie Saved? On Client Machine Or Server Machine?

Mar 7, 2011

When calling Response.Cookie.Add(new HttpCookie("MyCookie", "objValue")); where does the cookie saved? on Client Machine or Server Machine?

EDIT:if saved in Client Machine, how can I read it from javascript then? I tried this kind of script.

function getCookie(c_name) {
var i, x, y, ARRcookies = document.cookie.split(";");
for (i = 0; i < ARRcookies.length; i++) {
[code].....

I cannot get the cookie that I saved from code behind. When I look into the document.cookie object, it is just an empty string.

Scenario:On Page_Init() on code behind. I create a cookie using Response.Cookie.Add(new HttpCookie("MyCookie", "cookieValue"));.
On Client side, I'm trying to read the cookie saved from code behind on page load using the snippet above, but it returns undefined

View 3 Replies

C# - How To Invoke An Executable Desktop Application From Within An Application

Feb 18, 2011

I have finished developing an executable desktop application to generate a fractal image based on the passed-in arguments. The output type is JPEG.Now I am developing a site under ASP.NET MVC 3. I want to use the executable from within my site.

Is it possible to use it as is without converting it to a class library and recompiling?

View 3 Replies

Invoke Exe From Web Application Using C#?

Nov 26, 2010

How to invoke a exe from asp.net web application using C#?

View 5 Replies

How To Invoke Setup / MSI File In Web Application

Dec 7, 2010

Is it possible to invoke setup file in asp.net web application? for example, run the web application (like [URL], select the setup file and upload to server and invoke it(from the server setup will be executed), user enter the required details and install it, after installation completed site will be refereshed.

Note: I think not possible to use process.start method, because error will be produced in IIS (after hosting in IIS). from the development point its working (run the code using VS2010).

View 3 Replies

Web Forms :: Invoke Desktop Application From URL?

Mar 9, 2010

Is it possible to invoke/execute a particular desktop application why entering an URL in the browser. i.e, when a specific request is executed on the browser, our desktop application should be invoked.

View 2 Replies

Redirect To An URL When Invoke A Webservice Method In Application?

Jan 12, 2010

I have a web service method in .net as below:

[WebMethod(Description = "Adds two numbers", MessageName = "AddMessage")]
public string Add(string x)
{
string retVal = x;
string fileLoc = @"D:KumareshCreateFile.xml";
StreamWriter sw = new StreamWriter(fileLoc);
sw.WriteLine(retVal);
HttpResponse response = HttpContext.Current.Response;
response.Redirect(http://www.google.co.in", true);
sw.Close();
return retVal;
}

I deployed my webservice in IIS server. I have created another .net application, and called the webservice method from the new application. My problem is I am unable to redirect to the specified link[google.co.in]. I am getting the following error: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Web.HttpException: Response is not available in this context. at System.Web.UI.Page.get_Response() Sometimes I get the error as: "Object moved here". "here" is shown as a hyperliink, If I click here, i am redirected to the specified link.

View 1 Replies

First Invoke Server Side Code Then Client Side Script Without Using AJAX?

May 18, 2010

in a form i have a buttoin, when click both OnclientClick and postback should happen. on clicking the "Email" button a client side "mailto" tag should do the work and pull a new message window on the client's machine.

whereas, the email addresses should be invoked by the post back. so , when clicking the button the server side post should happen and on return the client side script should be invokded with the values read during post back, and populate all the email addresses.

i need know how to first do a server hit take the values and then execute the client script with those values without using AJAX

View 1 Replies

Want To Make Sure That Can Log Onto Client's Machine?

Jun 30, 2010

I'm looking into a ASP.Net project for a friend who has a client at the moment. I just want to make sure that I can log onto her client's machine where they host their site, I'm working from home and not on their domain.

If I can't log in using the account info they gave me, is it possible that they can limit FTP access from outside IPs? Just a question in case I have a problem then I can suggest a solution. "Hey friend, I tried to log in, but the service denied me probably because your client has to include from my outside IP. My IP address is ....." or something like that.

View 3 Replies

How To Run .exe File On Client Machine

Mar 4, 2011

I want to run .exe files on client machine.

System.Diagnostics.Process.Start("C:Windowssystem32otepad.exe") i Use this codeing it work on my system but not work on server. and with the javascript it also give the error

[code]....

View 5 Replies

How To Get MAC Address Of Client Machine In C# And Vb.net

Jan 7, 2010

How to get MAC address of client machine in c# and vb.net

View 3 Replies

How To Install .Net App On Client Machine

Apr 2, 2011

e are developing an ASP.Net application. The requirement is to install and run an app (say console app developed using .Net) on the client machine through out ASP.Net application. How can we install this app (and .Net Framework required to run the app) when the user access our web app

View 2 Replies

Executing An Exe On Client Machine?

Jul 23, 2010

I have written a console application which will map a volume as disk to a client machine and then Initializes, formats and assigns a drive letter.

Now i want to achieve the same through a web site. This is going to be a Internal site.Right now i can do this by executing the exe with a pop up from the website to run.

But i want to do the same operation as if it is a simple button click on the website after the user fills in the requirements like size,drive letter. I dont want to have any security pop ups.

Is there a way that i can do disk operations with out having security pop ups on end user machines?

View 5 Replies

Get The Host Name Of The Client Machine?

Nov 23, 2010

I am building an ASP.NET intranet application. I am trying to get the host name of the client machine. I have started off by using System.Net.Dns.GetHostName(); but this just seems to return the hostname of the server running the website through IIS. Am I using the wrong method or am I using this one incorrectly?

[Code]....

View 4 Replies

Print PDF Files At Client Machine?

May 27, 2010

I have a Requirement Where I need to Generate the PDf Docuemnts and I need to Send it to the Printer.

All the Pdf Documents are dynamically generated and it will be saved in server Temporary Folder.Then all these PDF Document has to be sent to the Clients Network Printer.

View 11 Replies

Capturing IP Address Of The Client Machine?

Dec 15, 2010

I have a web site where I need to capture the IP address of the logged in user. Earlier my code used to work fine. But all of a sudden it is giving me only one IP address from whichever machine may be the user logging in. I have tried almost all possibilites :

Request.ServerVariables("REMOTE_ADDR")
Request.ServerVariables("HTTP_X_FORWARDED_FOR")
Request.UserHostAddress()

Still it is giving me the same IP address.

View 3 Replies

Architecture :: How To Get The Client Machine Mac Address

Dec 16, 2010

We need the a solution for our ASP.NET website. in which a user needs to activate his machine and next time if he visits the site then we need to check the machine is activated or not. if the machine is activated then we want to redirect the user on different page.

Is there any way by which we can get the client machine MAC address and store it our database?

I have found some solution in which this can be done but it works on on IE and some ActiveX setting needs to be done.We want this should work on atleast IE and FireFox.

View 3 Replies

Print Pdf File From The Client Machine?

Oct 25, 2010

I want print PDF file from the client machine. The PDF file exists on the server.

View 1 Replies

C# - Receiving Data Sent From Client Machine?

Feb 7, 2011

I'm working on a project that has a C# app (running 24/7 as a server) on the client's machine). This app needs to send a file as a byte stream via POST to a server I am currently hosting on my home desktop.

Can this file be received by a C# app running on my server, or does it have to be as ASP app/page?

Also, I know how to send a bytestream via POST, but how will I set my server side app to listen for this incoming data? I have never done something like this, so I'm looking for some pointers to get me started.

View 3 Replies

Private IP Of Client Machine From Website?

Feb 2, 2011

how can I get the private ip of client system from a website hosted on public ip in ASP.Net C#? while i am checking userhostname, it's showing the global IP of the Internet connectivity which is the same for all the machines in the network.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved