Click here to Skip to main content
13,449,913 members (53,903 online)
Rate this:
Please Sign up or sign in to vote.

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 19-Dec-12 9:08am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Thanks for the answer.

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

(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>
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

I found IE API:
SHDocVw.InternetExplorer IE = new SHDocVw.InternetExplorer();

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

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

Advertise | Privacy |
Web02 | 2.8.180318.3 | Last Updated 22 Dec 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100