473,395 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How outlook is able to display as HTML??

110 100+
hi all,
I have a HTML page which is exported from a database..
It is shown in simple table format. Now in the HTML page if i copy all the contents (Ctrl + a and Ctrl + c) and open my outlook and press "New" message button and paste there.. It is pasted as HTML format!! i have a small tool called "clipsize" (http://www.programurl.com/clipsize.htm) to monitor contents of the clipboard. It doesnt show any HTML tags after i copied from the browser..

my question is how outlook is able to show it in compiled HTML format?

if i know how data is maintained after copying from clipboard.. i can maintain data in that format directly using C++.

Thnx in advance,
Xoinki
Oct 18 '07 #1
2 1485
If you are pressing CTRL-C inside a web browser, it is surely using an OLE mechanism to place the data in the clipboard

Check the function
OleGetClipboard
To get this data

When applications put data in the clipboard, they may put data in different formats, i.e. text format and ole format. Im not familiar with your clipboard monitoring application, but I would guess it may only be monitoring clipboard data in text format and it is not detecting OLE format data. But that is just a guess.

As a side note, you could embed a WEB browser inside your C++ application using OLE embedding, so you wouldnt need to code the HTML decoding in C++, all you needed to do would be to embed an HTML browser in your window, and feed it the HTML data from the clipboard. That is what Outlook does for HTML data.
Oct 21 '07 #2
xoinki
110 100+
hi,
Thnx for the insight.. I will check this out!

Regards,
Xoinki
Oct 23 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Fritz Switzer | last post by:
Can anyone provide a small snippet in C# that pulls out the Contacts in Outlook XP. I've seen a couple of examples in C++ and VB in previous newsgroup posts, but either the originals didn't work...
3
by: Chuck Farah | last post by:
I am unsuccessfullly trying to display an outlook email from a vb web forms (.net) outlook 2002 #1. is it possible to use outlook client email from a web form using the outlook object model...
10
by: John | last post by:
Hi When I open a new outlook email from vb.net, sometimes outlook is very slow to appear or occasionally outlook freezes completely. I am targeting mixed office2000/xp environments so I am...
2
by: John | last post by:
Hi I am trying to find the way to create an email in outlook. I am using the code given at the end. It works fine the first time but calling the code second time gives the following error; ...
2
by: Karen Grube | last post by:
Hi! I hate to bother you all with this, but I don't know how best to approach a particular task. Here's the deal: Once a month I receive in my own inbox on my company's Outlook Exchange...
0
by: Mads Westen | last post by:
Hi, I'm using the code under here to make a mail in Outlook and display it. I would like to be able to use the standard template/stationary I use in Outlook. It's HTML with som tables, pictures...
2
by: sakieboy | last post by:
When attempting to load an Oulook Object in ASP.Net (VB) I get the foloowing error on the Server: System.Security.SecurityException: Request for the permission of type...
1
by: LeAnne | last post by:
Does anyone know how i could display a MS Outlook screen which can be used for the user to select a contact. I need a screen to display the outlook contacts and for the user to select one of them...
16
by: Kosmos | last post by:
Good afternoon everyone, just wondering if anyone knew if it's possible to send meetings or appointments through email when you run VBA or SQL code in Access 2003? The following is the code I've been...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.