?
Solved

run exe file which is installed on the client machine from the web browser

Posted on 2011-09-17
3
Medium Priority
?
394 Views
Last Modified: 2012-05-12
Hi,

I have a small exe file written in VB.NET which connects to database, gets the last row and send the information to the printer. It is just a small part of a program but it uses special font and also calculates the widths for the printer.

I've developed the same program with PHP. Now almost every functionality of it is same wirh the windows based program. But the printing results of the web browser can't be same as I get with the exe file. So I want to just send a paramater to the exe file and run it. (with a javascript call or else) Exe file is on the client machine and I will know where it is the located.

Can you suggest me a way to do that.
I read that this is possible using dll or ocx.

I'm not familiar developing browser plugins.
Is there a tutorial or book for that?
Thanks in advance.
0
Comment
Question by:jet-black
3 Comments
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 1000 total points
ID: 36554951
ActiveX in IE is the only way to do that.  All other browsers and javascript block access to the local machine.  Here's something from Microsoft: http://msdn.microsoft.com/en-us/library/aa751970%28v=vs.85%29.aspx 
0
 
LVL 7

Assisted Solution

by:boon86
boon86 earned 1000 total points
ID: 36558201
here is other way to run exe files it using vbscript:

http://www.tek-tips.com/viewthread.cfm?qid=979664&page=1
0
 
LVL 12

Author Closing Comment

by:jet-black
ID: 36582299
I decided to create a webservice instead of that. Thanks for your answers.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
When you put your credit card number into a website for an online transaction, surely you know to look for signs of a secure website such as the padlock icon in the web browser or the green address bar.  This is one way to protect yourself from oth…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question