Visual Studio instead of VSTA Editor and fill objects with content from a database - possible?

Hey all,

I am currently doing an internship in the "Application Development". Now I have the task to develop a C-Sharp program which should have external acess to the data of corel.  I want Visual Studio to open the file Corel (cdr), and then to fill objects like (text fields) with content from a database. Is that possible? I Would be gratefull if someone there could send me some example or give me some tips. Is it also possible to work with Visual Studio 2008 pro. instead of the "VSTA editor"?

Have a nice day!

 

  • Yes you can. You should call Corel DRAW or Paint in VS Resources. The VSTA editor has a template, that let you create CorelDRAW and Paint addons.

    • Michael,

      I have been doing some research on programming Corel.  I have extensive experience with programming AutoCad with VB .net and am wanting to tie the two together.  Do you have any documents you could recommend.  Something as simple as creating toolbars etc.  

       

      I appreciate any help you could give.  

    • I forgot to post oberon place forum link. There you will find examples and help.

      http://www.oberonplace.com

      There you should follow Forum link.

      • Hello Tobi,

        as you contacted me I'd like to add my reply to this thread (in english as most of the development questions will be posted and discussed in english).

        There's some guidance on the use of VSTA (and C#) in the Object Model Help for CorelDRAW Graphics Suite X5 as well.

        Note that only the new CorelDRAW Graphics Suite X5 supports VSTA. Previous versions only support VBA as integrated development environment so that C# would not be supported in this environment.

        As Michael mentioned, in CorelDRAW Graphics Suite X5 there's a C# template included for creating Add-Ins for CorelDRAW and for Corel PHOTO-PAINT.

        Regards,
        Klaus.