Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6574463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:15:54+00:00 2026-05-25T15:15:54+00:00

I have a small exe file written in VB.NET which connects to database, gets

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T15:15:55+00:00Added an answer on May 25, 2026 at 3:15 pm

    If my machine suddenly asked me if it was ok for a website to download and run an exe, I’d have closed the window before the dialog had finished rendering.

    The simplest thing to do here would be to fix the formatting of the php’s output. Just because you can potentially execute an exe file on the client is a million miles away from meaning you should. Unless you know and have complete control over the users and the systems that those users are working on, any exe related system is going to be brittle at best and even if you do have that control, it’s a bodge.

    There are pdf libraries written for php that would permit you better control over your outputs, including fonts. There’s a write up of one such library over at Sitepoint.

    Alternatively, you could probably turn your .NET app into a web app/service that your php could communicate with.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a small app in C++ consisting of a single EXE file.
I have a small scripting engine written which can run basic code. I want
I have small page which has label, DropDownList and a submit button. <div> <asp:label
I have small problem with my .net 2.0 winforms application. I want to embed
I have small utility that does some processing on a file and changes the
I have small database of business and their addresses. Using the Google Geocode API
I'm trying to do (in WPF): Have an .exe file that displays the system
I have a piece of software. When I disassemble the PE file ildasm foo.exe
i have a huge CU file which contains my project , im trying to
I have a small dos bat file I'm running to rsync a bunch of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.