Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello!

I create on C# library, which implement integration 2 Apps - KOMPAS 3D and Internet Explorer (Project's data, for example pics, displays in browser). The problem in transporting data (image of detail) without saving in such places as buffer, file on the disk, etc.

1) How can i transport the file(data) from one App into the second App
without saving in buffer or on disk?

2) And how browser can generate "about:" page? Maybe I can do something like it?

Thanks a lot!
Posted

You mean 'about internet explorer' ? It's just generated by code in the exe. If you mean an about page that a site has, it's HTML on the site.

You can keep data in memory without writing it to the file system, but you don't want to do that for too long. If the data is being moved in real time, there's no need to store it on the hard drive at all, you just stream it.
 
Share this answer
 
Thanks for the answer.

1) Yes, i talk about browser about pages, like this:

http://s020.radikal.ru/i716/1212/fc/723071822ab1.jpg

(It doesn't matter what browser). And how browser create them? Based on template in dll-resources?

2) Yes, true. But how i can say to browser: "Open this image, which not exist". Didn't see COM-library with method like this. Some one know where is IE API dll? Did exist any method which can open file from bytes?

I want to make this:
- Using System.Resources, generate html page from template in dll-resource, open it in browser. How i understand, it will be work like about:pages.
- But problem with file remains. html page need phisical file to display resource, like <.img src="......" >, so in my .html page no solution for display streaming file.</img>
 
Share this answer
 
v2
I found IE API:
C#
SHDocVw.InternetExplorer IE = new SHDocVw.InternetExplorer();

SHDocVw.dll in system32 folder.
or
In MS VS Add reference... -> COM tab -> Microsoft Internet Controls.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900