Google Answers Logo
View Question
 
Q: Visual Basic and the Internet Explorer control ( No Answer,   2 Comments )
Question  
Subject: Visual Basic and the Internet Explorer control
Category: Computers > Software
Asked by: johngl-ga
List Price: $5.00
Posted: 15 Jun 2004 19:57 PDT
Expires: 15 Jul 2004 19:57 PDT
Question ID: 361694
I have a Visual Basic application that contains the Internet Explorer
active x control.  I would like to display a set of HTML pages in the
control but need to keep them secure. I can't allow the user who will
be viewing the HTML files via the control to view or copy the raw HTML
files.  By HTML files I mean HTML, images, etc.  Can this be
accomplished?  Thank you.

Request for Question Clarification by molloch-ga on 16 Jun 2004 06:14 PDT
Hi,

I think what you want is to be able to view the HTML normally, but
have none of the context menu (right click), copy/paste and shortcut
keys work?

Users may still be able to get to the HTML through temporary files;
though we can restrict that too if the HTML is generated locally. Is
it?

Wont be able to give you the code for about 24 hours but if I'm on the
right track here please let me know.

Molloch
Answer  
There is no answer at this time.

Comments  
Subject: Re: Visual Basic and the Internet Explorer control
From: gmn-ga on 16 Jun 2004 06:06 PDT
 
Method I
---------
Save the html documents with images saved as inline embedded images. 
Encrypt this file and and distribute it
Your exe should decrypt this file and load the html in the browser
control on the fly.


Method II
----------
Create a dll that implements pluggable protocol that can invoke
documents such as mydoc://c:\test\myfile.dat where myfile.dat is your
encrypted composite file that contains all files. Your dll would
contain all code to extract data from the myfile.dat

I know of one commercially available dll that implements this. 
http://www.eztools-software.com/tools/ezstor/default.asp

Method III
----------
Keep all your data in a structured storage file and access it through
your application.

Check the following link on microsoft site for more information on the
structured storage file
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stg/stg/about_structured_storage.asp

Please let me know if you need more information!

best wishes
Subject: Re: Visual Basic and the Internet Explorer control
From: johngl-ga on 17 Jun 2004 16:19 PDT
 
That's what I was looking for.  Thank you.  If you can just make that
your answer I can close this out.  Have a great one.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy