code for read pfd and exe ebooks in an html page in a browser

Posted on 2011-05-12
Medium Priority
Last Modified: 2013-12-13
code for read pfd and exe ebooks in an html page in a browser
Question by:cms1978
  • 4
  • 2
LVL 70

Expert Comment

by:Jason C. Levine
ID: 35751925
For a PDF you could use the embed tag or a javascript library:


For an exe file, you won't get it to launch from inside the browser.  At best, the user would have to download it and execute it from their end.

Author Comment

ID: 35752331
I have got an exe to load in a html file using the object tag before, I setup my ebook.exe insert it to my created ebook using an ebook software, I had to use just html pages and wanted to protect my ebook.exe, so I inserted this ebook.exe into a html page using the object html tag, and then put this html page that has my ebook.exe in it, I then set the ebook key for it and saved it, then opened it up, I saw the html page in this new ebook displaying my ebook.exe embed book with also my h3 tags for my heading above the ebook?

I have done this once before and I also created a book like this displaying a pdf file too? I think the pdf file just popped out of the ebook and showed the created ebook.exe that was supposed to show my pdf file in it, but just showed a white display where the pdf file was supposed to go?

how was I able to do this? all have to create this again, if I can remember the object html tag I used, but they say that you should include also a embed tag for displaying your content in explorer I think using the embed html code with object tag?

all have to create this again and show you if i remember the code format?
LVL 70

Expert Comment

by:Jason C. Levine
ID: 35756975
>> I have got an exe to load in a html file using the object tag before

Not without generating a boatload of warnings.  It mightwork in an intranet, where the EXE file is local to the network but not over the internet.  If the ebook was in Flash or something else, different story but that would not have been an .exe

>> how was I able to do this?

I have no idea.  I'm not a mind reader.  I'm also skeptical that you did what you say you did in the way you did it.  It's possible to embed certain things in a browser page but if I take the above at face value, no.

>> but they say that you should include also a embed tag for displaying your content in explorer I think using the embed html code with object tag?

You can use both tags if you want.  Read up here:


It's aimed at Flash but the principle is the same for any file type.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 70

Expert Comment

by:Jason C. Levine
ID: 35757016
Here's a better link explaining the Object tag and what you can use it with:


Author Comment

ID: 35757352
ok I did the pdf file again and works, but now trying to get the exe ebook in an object tag to display in an page.html page and then to compile it for an exe ebook, this is supposed to protect my ebook in exe I made with a protection software, but this software can only setup html pages etc.. and then setup the protection process, then compile it for a new ebook.exe

Where is a software that just inserts a ebook.exe and also ebook.pdf ebooks and you lock/protect it with this protection software without really creating the ebooks? this is just a way to insert an ebook and then protect your already made ebooks in exe and pdf?

how can I create a insert file input field, out put file field for the new file, license key field for generating up the license, also how to grant access to keys for ebooks and set it to a email and IP address?

how can I do this in visual basic or other software, I have visual basic 2008, and I heard about a web client to set this up for online activation for ebooks?

any ideas?

I also have purchase digitalaccesspass.com and have that setup, I would like to make a line of license code in my members profiles for them to protect there ebooks and also get licenses for there ebooks that they have bought too?

LVL 70

Accepted Solution

Jason C. Levine earned 2000 total points
ID: 35757588
You're all over the map now.  Generally, one question per thread is what works for EE. I suggest you close this question as answered and open a couple of different new ones to cover the above.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
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, 2 hours left to enroll

840 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