Corel Products. Performance. Value. Compatibility.


| CSP Website |




CSP Newsletters

CSP S/W Orderform
   *UPDATED*

CorelDRAW® 10
   *BETA2*

Fenasoft
   *Sao Paulo, Brazil*

Linux World 2000
   *San Jose, CA*

CorelDRAW® 8/9 &
   Corel® WordPerfect® 9
   *Official Guides*

Corel Paradox®9 Runtime
   SP3 Patch CD

Corel Paradox®
   Developer Newsletter



DEVELOPER TIPS

*OLE Automation Task in WordPerfect*


Newsletter: your connection to corel


July 2000 - Corel Solution Partners Newsletter


COREL® Solution Partners Web site
http://partners.corel.com

The CSP Members Web site contains private sections for Paradox, Platinum and Standard CSP members only.

* * * * * * * * * * * * *

Software Developer Kits (SDK)
http://www.corel.com/partners_developers/csp/soft_kits.htm

CSP members can tap into the leading-edge developer tools and technology provided in the Corel® Software Developer Kits (SDKs). The SDKs also include documentation and sample code to help reduce development time and to create a similar look and feel to other Corel products.

* * * * * * * * * * * * *

COREL® Solution Partners Software Order form (UPDATED)
ftp://cspusr:MSERFL@sftp2.corel.ca/csp/cspusr/csp_orderform.pdf

The CSP Software Order form has been updated to include the following products:

• Corel® WordPerfect® LAW OFFICE 2000
• Corel® WordPerfect® OFFICE 2000 for Linux® Deluxe Edition
• Corel® WordPerfect® OFFICE 2000 for Linux® Standard Edition




CorelDRAW® 10 Beta2 (AVAILABLE NOW)

As part of the Corel Solution Partners Program, we are providing our Platinum & Paradox members with the opportunity to obtain a CorelDRAW® 10 Beta2 CD. If you are interested in obtaining this Beta2 CD, please e-mail your request to partners@corel.com. All Corel Solution Partners Platinum & Paradox members requesting this Beta2 CD will be required to complete, sign and return a "BETA Testing Agreement" before the Beta2 CD is shipped. Once again, these Beta2 CD's are only available to Platinum & Paradox members.

Alternatively, members can become officially registered Corel BETA testers by applying to the Corel BETA Program located on-line at: http://www.corel.com/betaprogram/index.htm.




Fenasoft July 24–29 & Linux World 2000 Aug.15–17

Fenasoft - Sao Paulo, Brazil (July 24–29)
Fenesoft Telematica 2000, a major IT trade fair in Brasil, and one of the largest in the world, will take place in the Anhembi Convention Centre in Sao Paolo from 24 to 29 July. For these six days, representatives from both national and international companies will be exhibiting their latest hardware, software, internet products and services. In many cases, these products will be available to the consumer several months later. This year the central theme will be "Your digital world in the Internet era". The fair is divided into two sections to cater for an expected 720 thousand visitors: - "Commerce" for the general public, and "Business" for the 120 thousand expected representatives from a variety of influential positions within the corporate sector. The Fenesoft Congress will be running concurrently, providing over one hundred discussion forums on a wide selection of topics, ranging from e-business to digital marketing and system development..

Linux World 2000 - San Jose, CA - (Aug.15–17)
Since the dawn of the computer age, operating systems—and the potential to unleash the full power of creative programming—have been kept under lock and key by an elite few. Linux—the robust OS that utilizes open source code—is finally loosening the stranglehold of proprietary OS code and the LinuxWorld Conference & Expo is where Linux visionaries come together to unlock the source for open solutions. The San Jose conference is only a short drive from both San Francisco and Silicon Valley and will offer IT professionals, entrepreneurs, and Linux aficionados a host of networking and entertainment opportunities. The San Jose LinuxWorld Conference & Expo promises to be one of the most exciting Linux events of the year and will be an excellent opportunity for individuals to contribute to the development of the revolutionary Linux OS.

For more information relating to this show, please visit the Linux Expo website at: http://www.linuxexpo.com/

Corel Corporation looks forward to seeing all new and existing customers at these exiting events.


Corel® WordPerfect® OFFICE 2000 & CorelDRAW®8/9 - Official guides available to CSP members

The CSP Program has a limited number of Corel® WordPerfect® OFFICE 2000 & CorelDRAW®8/9 "Official Guides" available to all CSP members. The CorelDRAW® books were written by Foster D. Coburn III and Peter McCormick and contain innovative tips/tricks, detailed explanations and step by step instructions. The Corel® WordPerfect® OFFICE 2000 book was written by Alan Neibauer and delivers expert techniques for creating reports, generating spreadsheets, producing presentations, publishing on the Web, and much more.
  • Corel WordPerfect OFFICE 2000 "THE OFFICIAL GUIDE" - CSP Price = $20 US + shipping
  • CorelDRAW™8 "THE OFFICIAL GUIDE" - CSP Price = $15 US + shipping
  • CorelDRAW® 9 "THE OFFICIAL GUIDE" - CSP Price = $20 US + shipping
For more information and to obtain a copy of either book, please e-mail partners@corel.com





Corel Paradox® Runtime SP3 Patch CD

As part of the Corel Solution Partners membership, we are providing all Platinum and Paradox members with the opportunity to obtain a Corel Paradox® Runtime SP3 Patch CD. If you are interested in obtaining this CD, please e-mail your request to partners@corel.com. Once again, these CD's are only available to CSP Platinum and Paradox members only.

Alternatively, the Corel Paradox® Runtime SP3 Patch can be downloaded from Corel's website at: http://www.corel.com/support/ftpsite/pub/paradox/paradox9/index.htm.




Corel® Paradox Developer Newsletter - August 1st distribution

The Paradox Developer Newsletter will be transmitted on August 1st, 2000. Again, we would like to invite all CSP Members interested in receiving our new monthly Corel® Paradox Developer Newsletter to please register on-line at: http://195.7.54.129/paradox_subscribe/. This newsletter will prove to be quite informative and extremely valuable to those interested in keeping abreast of Corel® Paradox issues and developments. We look forward to your comments and feedback.



Developer TIPS

OLE Automation Task in WordPerfect

To show you how OLE Automation works with WordPerfect, we will use Visual Basic 4.0 as our developer tool. Below is a complete example on how to complete a task defined in WordPerfect.

Our Task
  • Our task will be to take a Paradox database and merge all the records into a WordPerfect merge data file.
  • Once this task is completed, we will save the data file to disk and then complete the merge process in WordPerfect by creating a form letter to send out to various individuals.
  • Once this has been accomplished, we will print each of the form letters.

PerfectScript Commands Used

We will use the ImportDatabase, FileSave, MergeRun, and PrintFull commands as well as other commands required to accomplish this task.

Files Required and Created

To accomplish this task, we will need a Paradox database, and a WordPerfect merge form letter. During this task we will create a WordPerfect merge data file from the database and the result of the accomplished task will be form letters to send to each of the names in the database.


Example
Private Sub BtnCreateCustomerAd_Click()

'The OLE automation object to use with PerfectScript
Dim WP As Object 




'Holds the field names in the database
Dim sFieldNames As String 


'Holds the name of the database
Dim sDatabaseName As String


'Holds the secondary merge file name
Dim sDataFile As String


'Holds the merge form file name 
Dim sFormFile As String 




'Create a new document if you can, already has a WP object defined
CheckOpenDocuments (True)   


'Create the WordPerfect object needed to send OLE Automation commands
Set WP = CreateObject("WordPerfect.PerfectScript")


'Define the field names to put into the secondary merge file
sFieldNames = "Contact ID,Company Name," 
sFieldNames = sFieldNames + "Contact Name,Title,Address,"
sFieldNames = sFieldNames + "City,State,Country,Postal Code"



'sRootPath is a global to our program root path
sDatabaseName = sRootPath + "data\customer.db" 


'All predefined files are stored off this path
sFormFile = sRootPath + "docs\cstadver.frm" 


'Start sending the OLE Automation code to WP
With WP    


'Set the database filename to import
.ImportSetFileName sDatabaseName  


'Set the source, 34 is a paradox database
.ImportSetSource 34


'Set the destination, 3 is a secondary merge file
.ImportSetDestination 3   


'Set the field names to import
.ImportSetFields sFieldNames
  
'Set the query
.ImportSetQuery   


'Do the import of the data.  This will create the file in 
'WP.  We must now save it out to disk
.ImportDoImport   


'Save the sec. merge file to disk under this name in WP6 format
.FileSave sRootPath + "docs\dbdoc.dat", 6 


'Get the name of the file saved.  Bypass this step most of the time
'by knowing, as in the above example, the name of the saved file.
sDataFile = .EnvPath + .EnvName  


'Close the secondary merge file created
.Close 0    


'Maximize WP
.AppMaximize    


'Select the type of merge to perform 0 is all records
.MergeSelect 0


'Perform the merge.  The first 2 in the command tells PerfectScript to
'merge from a form file on disk.  The second 2 tells PerfectScript to
'merge from a secondary file on disk. And the last parameter, a 1,
'tells PerfectScript to create a new document with the 'merged data.
.MergeRun 2, sFormFile, 2, sDataFile, 1 




'Optionally, you can but don't have to delete the secondary merge
'file.
.FileDelete sDataFile   


'This is a mandatory command to send at the end of each sequence of
'PerfectScript commands sent through OLE Automation.  If you do not
'send this command, WordPerfect will be left in a macro play state and
'will not work properly.
.Quit     


'End the OLE Automation command stream
End With    


'Release the OLE Automation object
Set WP=Nothing    
End Sub




Contact
Info
Chris Cheverie -
Corel Solution Partner Program Administrator
Frank Van Der Hoeven -
International CSP Program Administrator (Dublin)

DEVELOPER SUPPORT*
Phone: 1-877-578-0554
devsup@corel.com
*This is a fee-based service for Standard partners

North American Partners:
Corel Corporation
Corel Solution Partner Program
1600 Carling Ave
Ottawa, ON K1Z 8R7
CANADA
Phone: 613-274-0503
FAX: 613-724-3447
partners@corel.com
International Partners:
Corel Corporation Ltd.
Corel Solution Partner Program
Europa House
Harcourt Street
Dublin 2, Ireland
Phone: 353 1 407-4507
FAX: 353 1 285-7723
int_csp@corel.com

 


Copyright © 1999 Corel® Corporation. All rights reserved.
Year 2000 Information
Graphics by Corel
Products Support Shop Contact Us News Events Search Corel Home Page