The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 VB.net and Origin: Clipboard problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jean_galy

Germany
Posts

Posted - 06/21/2006 :  09:35:04 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 SR5
Operating System:Windows XP

Dear all,

I have a problem when using the automation server to plot graph from a VB.net interface.

here is the basic command I send to Origin
b = OriginApp.Execute("win -a MyGraph; layer -a; Rescale; clipboard MyGraph")

it does send the right picture to the clipboard but when I try to get it back to the interface there is a problem.

I can paste the clipboard to a picture program but not back to my application.

Can anyone see why??

Any hint welcome...

Cheers,

Jean

Just adding a comment. it seems that origin doesn't put the graph as a bitmap in the clipboard.... but which format?????


Edited by - jean_galy on 06/21/2006 10:23:21 AM

easwar

USA
1965 Posts

Posted - 06/21/2006 :  2:06:32 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Jean,

An EMF object is placed in the clipboard with that command. Try getting the EFM object from your VB app?

Easwar
OriginLab

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000