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


Similar Messages:

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

C# - Possible To Deploy Application As Desktop Application (with Server Component)

Jul 7, 2010

Question: I created an ASP.NET web application. Now it originally was meant for deployment on a webserver.
That is working, so, so far so good. My question now is: Is it possible to deploy it as a desktop-application, too? That is to say the installer installs some kind of server, plus the web application, configures the server to run this application on a localhost URL, and then creates a link in the start menu/desktop, where it opens that url (website, the application) on localhost in a web browser?

I think it should be possible, though the server wouldn't be IIS, because this is a windows component which can't be separately installed. Is there anything like this already out there? The nonplusultra would be that it only starts the server when you click on the shortcut.

View 4 Replies

Running Executable Asynchronously From Web Application?

Apr 13, 2010

What are the alternatives to System.Diagnostics API for running external EXE or BAT files under IIS hosted web application?

I would like to run external EXE program from my ASP.NET-MVC web application. I don't need to wait till the program exits. I just want to start the program. The execution can take some time or it may crash, so I would like to run it separatelly from IIS in such a way that the web application only triggers its execution.

View 1 Replies

C# - How To Get Web Application To Communicate With Desktop Application

Aug 3, 2010

I have developed a Web and windows application, both in C#.NET. Now, what I would like to do is when a button is clicked on a particular page in the web application, a signal has to be sent to the windows app saying a link has been clicked. How could I do this really easily? I would like to stay away from socket programming...

I thought of the web app storing cookies and the desktop application monitoring the cookies folder but that seems a bit clumsy.

View 6 Replies

C# - Get The Path For Executable File That Started The Application?

Feb 3, 2010

i am working on a web application using C#,

i know that in window application how to give the path for executable file that started the application (if (!System.IO.File.Exists(Application.StartupPath + "gsdll32.dll")))

but i dont know how to give that path in web application using c#

View 2 Replies

C# - Differentiate Whether A Managed Library Is Running In The Context Of Application Or In A Executable?

Mar 24, 2010

how to differentiate whether a managed library is running in the context of asp.net application or in a executable?

View 2 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

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

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

Use System.Web In Desktop Application

Jul 12, 2010

I just added System.Web reference to a dll assembly, the assembly is for windows applications and for web applications. IF the assembly will be deployed on a server, System.Web will be shared using GAC, and there is no overhead. But what about windows clients. I am wondering if there are extra resources or any kind of problems when System.Web is loaded into memory?

View 1 Replies

How To Embed A Database In A Desktop Application

Sep 8, 2010

I'm going to develop a desktop tool that will require a database.

How would I go about doing it in a way that will allow me to post the code to a website so that all of the desktop applications see a new version and download the database.

View 2 Replies

VS 2008 Web Service Or Own Desktop Application?

Sep 27, 2010

I am developing one Intranet Que type project for a small Travel agency. I need one logic to route the customer que over all sales agent so anyone once free he will be buzzup to pickup the customer till here is Okay. But i need some timeout if no sales agent pickup the Que it will forward to the supervisor. Now here is my Question should i make a small desktop application and run in server to moinitor the time and forward the task.... or Is Web Service is suitable for this? (Forward means just it will update one field of table so it will start displaying in Supervisor screen.)

View 1 Replies

Make Desktop Application Web Interfaceable?

Jun 17, 2010

Is there a way to make a desktop application easily interfaceable via Web ? Meaning, can you have a way to interface with a single desktop application as if you were remote desktop'd into the machine but not? I am looking at doing this in ASP.NET or Silverlight.

View 2 Replies

How To Create A Desktop Sharing Application

Feb 2, 2011

how can we create a desktop sharing application in asp.net? can we use silverlight for this?

or any third party tool that we can use?

View 3 Replies

C# - Synchronizing Database In Web And Desktop Application?

Jun 6, 2010

I am trying to develop a web application(Using ASP.NET and c#) that uses a specific database hosted on web server. I will have another desktop application that will use a local database. Both databases have same structure and data at start up. Then databases will change when users add data to web application and an employee adds data to the desktop application. After a while I have to sync both databases.

What will be best way to do this? Is there any opensource example/ starter kit to start with?

View 3 Replies

Is It Possible To Connect To A Remote Desktop From Application

Dec 3, 2010

Is it possible to connect to a Remote Desktop from my ASP.net application,If so can you guide me through it.

View 1 Replies

C# - Render ASP Controls In Desktop Application?

Feb 16, 2010

Is it possible to take a page object, or maybe just a single ASP.NET control, and render it in a desktop application in some way? For example, Visual Studio, being a desktop application renders ASP.NET controls in the design surface. I want to do something similar.

Edit:

I am brainstorming on how to make a very simple designer for a very simple data entry application. I would have some custom ASP.NET data entry controls, and I want lay users to be able to see what the page might look like as close as possible. So I would want a panel in the application to show the rendered collection of controls, but the panel does not need to be interactive in any way. I.e. no click and drag or resizing of controls, etc. There will be standard windows form controls that the form author interacts with for defining the layout of the page.

I will simply save a list of the controls they added with some other information the "designer"(who are non-technical experts) provides, and I will use that information to later create the actual aspx page, either through a manual or automated process, TBD.

View 4 Replies

Security :: Membership And A Desktop Application?

Feb 19, 2010

I have an MVC application which uses the Membership services.I am importing a user list from another application that doesn't have any sort of Membership use, so I'm just using a csv file for the import, and writing a standalone C# app to do it. How do I get the standalone app to use the MVC application's database? The code works, in that calls to Membership.CreateUser are returning, but I'm not seeing the users appear in the correct database. So if the database is on my local machine and called "FooBar" how do I tell the Provider to use that instead of whatever default it's using?

View 5 Replies

Websites Functionality Reuse By Desktop Application

Nov 10, 2010

We are implementing some business functionality that it exposed through the asp.net web service. At the current stage user interface is required for some peace of it and we are going to implement it inside of already existing desktop application (it is MFC C++ application, but we are considering to integrate some WinForms/Wpf components). In the nearest future we plan to replace current desktop application with a web site version (it will be asp.net web site, or PROBABLY Silverlight application). Therefore, I would like to implement UI once on the web site and just re-use it in some way from desktop application. Am I clear enough? Is there any way to do that? For sure, I can implement web service and use it from desktop application right now and re-use it from web application when it will be required... But I hope there is a better way to do that.

View 3 Replies

Send Popup In Desktop Application From Web Page

Jul 31, 2010

I have a web application and on that application i update a sql database what i want is that when i update the database from the web application a notification will be sent to any one openening my application or a pop up appears to them on their desktop informing them that the database is updated to check all this will be in an intranet. I'm using ASP.Net and I'm the admin for all the PCs in the network and the server.

View 2 Replies

Web Forms :: Asp Application Running On Server Or Desktop?

Jul 16, 2010

is there any way i can make use of windows programming in my asp.net based application and i can determine if my application is running on server or desktop?

View 2 Replies

Install Different Silverlight Application To Desktop Than One That Is Running Currently

Mar 1, 2011

Specifically, I have the main application running in the browser. I would like to offer a link to install a set of tools that provide the user to perform a subset of the functionality provided in the main application. I'd like to have a link that says, "Install Tools," and this would in turn kick off the Out Of Browser installation of the tools, not the main application.

View 1 Replies

How To Get Webpage To Return Value To Desktop Application Caller

Sep 18, 2010

I need to make an autoupdater for my application. This has been done, and it is working perfectly. However, my application currently downloads version.txt, and reads it to work out whether it needs to download the new application. This is hideous, and slow, and was only supposed to be very temporary. It is also very annoying that we have to update this file every time we release a new version.

My boss wants me to create a webpage that reads the version data from the uploaded .exe, and then returns that to the Desktop application. Therefore, I would be able to call www.example.com/version.aspx, and it would return the version number, such as 1.1. I could then compare to the current version (don't worry, it is generated on the fly, and not hard coded) and then I could download the application if required.

Here comes my question. How would I go about this? I have heard of CGI scripts, and asp.net. Which one of these has the power to solve my problem. If you could just tell me that, then I will be all sorted, as I could read up on it, learn, and broaden my knowledge.

If this is not possible, or not easily possible, is there any way of reading the file version of a remote .exe, without downloading it. This would also be preferable in many ways.

P.S. I did try to explain this to my boss, and suggested that maybe he could either do it, but he is not very good at web applications, and refused, saying that it would broaden my education in this matter.

EDIT: Somehow forgot to add: I normally program in C#, although this application should be so small, that it would not really matter. Also, C# code would be ideal, if there is a way to check the version of a file on a remote server.

View 1 Replies







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