exe

HTML hyperlink to call exe with parameters

…衆ロ難τιáo~ 提交于 2019-12-04 23:28:52
-Hello, looking for some help. We currently have a winform app used to do approvals in our company. The app sends html emails to the "approvers" who read the relevant info in the email and click on a hyperlink which launches the app so they can do their approval. Currently this is done by including the following in the email html: <a href=file:///C:\Temp\test.exe>Click to Approve</a> This correctly launches the app, after a couple of security warnings which we are OK with. We use Outlook 2010. Now, in order to improve this process I would need to pass an argument identifying the approver to

Converting .exe project to class library

痴心易碎 提交于 2019-12-04 22:35:32
I have a semi-large C# .exe project in visual studio 2010 Ultimate, and I would like to convert it to a DLL class library. Is there an easy way to do this that doesn't involve creating a new class library project? Thanks beforehand. Project > Properties > Application tab, change Output type to "Class Library". For the record, this isn't actually necessary. An EXE project works fine as an assembly reference. Assuming classes were declared public, something you might have to fix anyway to make them work in a library. mslot In .NET, an .exe and a .dll are both legal as references. This is because

Debugging an executable in visual studio

点点圈 提交于 2019-12-04 22:32:46
Want to debug an executable under debugger. How to do it in visual studio. Windbg has an option of open executable. But I find this is missing in VS 2010. The question is not exactly same as Debug exe in visual studio 2010 as I am not really interested in image file execution to debug a start up. Rather want to just debug the exe under debugger, once it is broken, want to set some break points and understand the flow of execution. Albeit image file execution is a workaround for this. I am not sure if this question is naive; But this is a very straight line use case scenario, I find missing in

Loading dll library from Resource to Current Domain(Embedding dll in main exe file)

别来无恙 提交于 2019-12-04 20:32:44
I'm trying to load dll libraries during runtime using the following code so that I don't have to provide the user with lot of dll files along with the main executable file. I have inlude all the dll files as an embedded resource and also in the reference part I have include them and have set the CopyLocal property to false. But the problems here are: 1. All the dll are getting copied to Bin\Debug folder 2. I'm getting FileNotFoundException . I did lot of searches to get these things resolved and finally I'm here. I got a similar code here but still couldn't do anything. What should I do to

Run ruby program on computers without ruby installed

蹲街弑〆低调 提交于 2019-12-04 19:59:48
Im new to programming in ruby and actually wrote an program that I would like to distribute to people that have windows computers and no ruby installed. I heard something about exerb but I'm not sure if this is the right thing for my issues or if there is something easier. Is there something I can use so that my ruby code can be run like an exe file? knut You can use ocra to create an exe. This exe-file is a self-extracting ruby interpreter with you code. After installing ocra, you can start: ocra my_application.rb There are some restrictions/pitfalls: You may not depend on additional dll (see

Use (ffmpeg) executable inside C#.NET project

▼魔方 西西 提交于 2019-12-04 19:28:08
I am trying to write a custom wrapper in c#.NET for ffmpeg. I downloaded multiple versions, but it seems like I am going to have to use the one with .exe files. ffmpeg.exe ffplay.exe ffprobe.exe However, I'm unable to reference these executables by going to add reference -> browse etc.. So what I'm trying to do now is just to add them as a file. And then run commands on them just like you would using the command line. Is that possible? Or maybe someone has a better idea? Thank you in advance for the help. Ok, I figured it out. For anyone else looking to write a .NET wrapper for ffmpeg.

How to add version informations to another exes in Delphi?

只愿长相守 提交于 2019-12-04 17:54:11
I want to add version informations (for a specific language) to another exes that does not have such informations (at all). I tried with BeginUpdateResource/UpdateResource/EndUpdateResource but all I succedeed is to create "Version >> 1 >> Unknown string", not "Version >> 1 >> CompanyName/VersionNumber/Description..." and their values. I searched on Google and here but I couldn't find something useful. Only incomplete code which I didn't know how to finish. Thank you. Edit: Here is the code that I use now: procedure SetExeInfo(const ExeName, ResName, ResValue: string); var ResourceHandle:

What are the differences between MSI and EXE installers, and which should I choose? [duplicate]

无人久伴 提交于 2019-12-04 17:40:35
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: What are the specific differences between .msi and setup.exe file? I am working on an installer for a new version of my project (C#). Previously, I've used Inno Setup to create .exe files for installing my projects on other computers in the workplace. While reading through some tutorials, though, I came across Windows Installer XML, which uses XML files to build a .msi installer. My project will be available on

How to Open a Windows Program with JavaScript?

别说谁变了你拦得住时间么 提交于 2019-12-04 17:12:21
So I'm trying to make a projects hub for Windows (run locally with Localhost) that will open different apps (e.g. a CAD program) at the click of a button. Is this insecure? If not, how would I do it? If so, is there an alternative? Thanks! A URI (Uniform Resource Identifier) will provide for the best user experience. A URI is a schema that can launch an application as well as pass data into the application. The most common example of a URI is the mailto: for launching a computer's mail client from a website. Creating a URI involves editing the registry. Here is some Microsoft Documentation on

How to run .exe executable file from linux command line? [closed]

空扰寡人 提交于 2019-12-04 13:53:21
I have one abc.exe executable file in windows. I am able to execute this application using DOS command promt and give some run-time variable to it. I want to do same in linux system from terminal. How can I do this?? Windows EXE files usually can't run on Linux. You might be successful with wine which emulates MS Windows, though: wine abc.exe What do you mean by a runtime variable? A command line argument, or environment variable? chorobas answer is correct, Linux cannot directly run .exe files however with third part software like wine, or running a windows vm to execute your file. 来源: https: