Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 19-Dec-12 10:08am
Rate this: bad
good
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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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>
  Permalink  
v2
Rate this: bad
good
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.
or
In MS VS Add reference... -> COM tab -> Microsoft Internet Controls.
  Permalink  

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

  Print Answers RSS
0 BillWoodruff 330
1 Mathew Soji 309
2 Maciej Los 295
3 DamithSL 225
4 Afzaal Ahmad Zeeshan 217
0 OriginalGriff 6,369
1 Sergey Alexandrovich Kryukov 5,973
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 4,025


Advertise | Privacy | Mobile
Web03 | 2.8.1411019.1 | Last Updated 22 Dec 2012
Copyright © CodeProject, 1999-2014
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