Link to home
Start Free TrialLog in
Avatar of cms1978
cms1978Flag for United States of America

asked on

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

code for read pfd and exe ebooks in an html page in a browser
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

For a PDF you could use the embed tag or a javascript library:

http://pdfobject.com/

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.
Avatar of cms1978

ASKER

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?
>> 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:

http://kb2.adobe.com/cps/415/tn_4150.html

It's aimed at Flash but the principle is the same for any file type.
Here's a better link explaining the Object tag and what you can use it with:

http://joliclic.free.fr/html/object-tag/en/index.php
Avatar of cms1978

ASKER

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?

ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial