OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > Corel PHOTO-PAINT > General

Thread Tools Search this Thread Display Modes
Old 26-07-2007, 22:02
Posts: n/a
Default Corel PhotoPaint on C#/C++

how do i create/use Application.CorelScript object in C++/C#?

I used this code in C#

public object imageGamma;
imageGamma = photoApp.CorelScript();

...this code has errors

ive tried casting:

...this wont work either

ive also tried:

public CorelSript imageGamma;

imageGamma = photoApp.CorelScript(); / imageGamma = (CorelScript)photoApp.CorelScript();

...still doesn't work

i've been using scripting for coreldraw since coreldraw8 days. And i've been programming for corelDraw and photopaint for 3 years using C++ and C#. This is the first time i will be using image adjustment tools of photopaint and i am having problems with it.

Can someone pls help me out.

Reply With Quote
Old 27-07-2007, 13:56
wOxxOm's Avatar
wOxxOm wOxxOm is online now
Senior Member
Join Date: Mar 2005
Posts: 836

probably CorelScript is not exported via ObjectModel.
Use regular (newer than corelscript) object model.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for VBA or Corel Script for cabinet design HomeDesignerDavid Macros/Add-ons 2 22-03-2011 17:25
Corel 8.232 Help xsc General 3 31-07-2006 11:38
corel draw 11 and Corel Trace 11 BEAMA General 2 04-08-2005 19:39
Type Mismatch error in Corel PhotoPaint V9 NEHovis Corel Photo-Paint VBA 2 17-07-2003 04:19
Corel Capture 8 and Corel Script Helix CorelDRAW CS 0 13-12-2002 18:10

All times are GMT -5. The time now is 17:54.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com