OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26-08-2016, 03:21
clausm clausm is offline
Junior Member
 
Join Date: Mar 2004
Posts: 16
Default Automation with C#

Hello everybody,

I have written many tools with Corel DRAW - VBA from Version 12 to X8.
Now I have a request for writing a tool that runs on Windows Server 2008 R2 and shall automate Corel DRAW X8. The Task is quite simple: Something like: Start Corel DRAW every hour, open some files, extract some informations, write these data into an csv file.

So, in VBA, running from a Corel DRAW-gms-file this would be no problem.
But the tool has to run outside Corel DRAW, started by a service or so. - so I think, this should be done by a C# or VB.NET application.
But I have only few experience in C# - so my questions are:
Is this an easy task? Can it be done at all?
Would it be an easy task for someone, that is good in DRAW-VBA AND C# ?

Would be very kind, if somebody could give me some hints in this.
(here in the forum I found nothing about automation with C# at all?)

kind regards,
Claus

Last edited by clausm; 26-08-2016 at 13:44.
Reply With Quote
  #2  
Old 18-10-2016, 10:45
Craig Tucker Craig Tucker is offline
Member
 
Join Date: Nov 2002
Posts: 73
Default

Hi Claus,
This can easily be accomplished in C#.
Please post a sample cdr file and details of what you would like to accomplish, maybe we can help code it.
Thanks, Craig
Reply With Quote
  #3  
Old 15-03-2017, 09:25
clausm clausm is offline
Junior Member
 
Join Date: Mar 2004
Posts: 16
Wink

Sorry for the late answer, i havn't been in the forum for months and i didn't get an email.
thank you for your answer and your willingness to help.
you are right - it's not difficult to do it.
and it's exciting code with c# when you come from VBA.
(although in the beginning it's hard)
it's like Mercedes and Volkswagen.
thanks a lot
claus
Reply With Quote
  #4  
Old 15-03-2017, 09:52
shark shark is offline
Senior Member
 
Join Date: Aug 2010
Location: Russia, Belgorod
Posts: 146
Default

Hi
By the way, is there such a need - to run the program every hour, when you can start it once (e. g. in Autorun) and simple macro will be track timer and perform any actions
Reply With Quote
Reply


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
Automation Error noj CorelDRAW/Corel DESIGNER VBA 1 10-12-2012 22:03
Corel Freezing during an automation ian CorelDRAW/Corel DESIGNER VBA 5 08-10-2006 12:21
Coupon box in X3 automation sallybode General 1 14-06-2006 07:19
COM/OLE Automation Gerry Hickman Corel Photo-Paint VBA 2 02-01-2004 18:31
Photo-Paint 11 Automation error ... Allan Shearer Corel Photo-Paint CS 1 15-09-2003 16:28


All times are GMT -5. The time now is 16:11.


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