Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

OLE Problems...

Posted on 1997-04-18
13
Medium Priority
?
268 Views
Last Modified: 2012-05-04
Well, ppl, I still can't get an Idea of how to PRINT the
contents of my OLE Object (OLEContainer)... There are no any methods which could I use for printing or hsndling the data in Container.... :(
  Thanks in progress, I've handed over all the points I had!
0
Comment
Question by:wizzard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 5
13 Comments
 
LVL 1

Expert Comment

by:Heapster
ID: 1335474
A colleague informs me that you need to use 'verbs'.
0
 

Author Comment

by:wizzard
ID: 1335475
Well, can't you tell me what exactly do you mean by "verbs"? :-\
0
 

Author Comment

by:wizzard
ID: 1335476
Adjusted points to 160
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:wizzard
ID: 1335477
Adjusted points to 165
0
 
LVL 1

Expert Comment

by:Heapster
ID: 1335478
Verbs are methods of the Ole object which can be called, to do common functions, like print, etc.  Working with OLE is a complete nightmare if you're trying to write any sort of sensible, robust application,and you would probably do better to avoid it.  Definitely easier to rewrite your application than to get OLE to work properly.  Other than that i'm afraid I dont know any more.  Good Luck though, didnt mean to send out such a negative comment.
0
 

Author Comment

by:wizzard
ID: 1335479
 Thanks alot, but how can I use these "verbs"? Please tell me in your answer and I promise you'll get a good Grade for that! ;)
Just tell how to use these VERBS to print from OLE. Some simple situation....

 WizzarD.
0
 
LVL 1

Expert Comment

by:Heapster
ID: 1335480
I REALLY REALLY wish i could tell you, but i just dont know and dont have the time to find out. Hang on,while i ask a friend...
0
 

Author Comment

by:wizzard
ID: 1335481
Adjusted points to 185
0
 
LVL 1

Expert Comment

by:Heapster
ID: 1335482
Said expert friend doesnt know - he copied it to a bitmap and printed that, although it's a bad solution as you lose resolution. Ole is the work of the Devil!

0
 

Author Comment

by:wizzard
ID: 1335483
Adjusted points to 190
0
 

Author Comment

by:wizzard
ID: 1335484
Hmm, looks like something interesting... A new way of solving The PROBLEM, eh? ;) So, If you only could explain how to Save those damned OLE contains to Bitmap.... I'll regard it as an answer...

 Thanks in progress,
      [WizzarD].

0
 
LVL 1

Accepted Solution

by:
Heapster earned 190 total points
ID: 1335485
To be able to copy from your ole container to a bitmap in code, you will need to get hold of the ole container canvas, or at least a handle to it (canvas otherwise known as device context), and then you can do a brushcopy or stretchdraw.  Give this a go, if you cant get hold of it then get back to me - lets get this sorted today - provinding my server decides to let me actually use the net today.
0
 

Author Comment

by:wizzard
ID: 1335486
Please, send me your e-mail to gw@paul.cclu.lv
(gw - Game Wizard ;) So I could ask you about that question

 SAD, but when I've last posted this question one dude answered me, but the same way - no certain functions to use, no procedures or Properties of an object... Only foggy stories about OLE's canvas or contents... :( As I've already said, I HAVEN'T FOUND ANY SIGNS OF A PROPERTY THAT SHOULD HOLD THE CONTENTS OF OLE OBJECT! :((( So I can't brush them or what did you mean...
   Thanks for those long diskussions, I'll grade them, hoping you'll try to describe me those methods of printing...
     
     WizzarD.

0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question