PowerBuilder Forum

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Stationary Printing OLEObject Timing problem for different MS word version


Newbie

Status: Offline
Posts: 1
Date:
Stationary Printing OLEObject Timing problem for different MS word version


we are dealing with stationary printing and System taking more time in ms word 2007 and 2010 as compare to 2003 office word 

There are two environments as production(GOT) and Test (TJ):

 Time taken in GOT = 3 min, in TJ = 7- 10 min

 

1.       Different Office version: Production(got): Office2003 VS Test: Office 2010

2.       Different OS version: Production(citrix): Win Server 2003 VS Test: Win Server 2008

 As stationary report (Word document) was opened and closed repeatly with continue copying

& pasting from the Clipboard in the background, not sure if it is reasonable design.

 

we did like below code 

IF ole_word.ActiveDocument.BookMarks.Exists("umf_address_p_3") THEN

/*IF ls_address_p_3  = '' OR ISNULL(ls_address_p_3) THEN 

Clipboard (' ')

ELSE 

Clipboard (ls_address_p_3 )

END IF*/ //Commented by ME now and used typetext function

ole_word.WordBasic.WW7_EditGoTo("umf_address_p_3")

//ole_word.Selection.Paste //commented by me, Old code Replaced with below line (TypeText)

ole_word.Selection.TypeText(ls_address_p_3) 

END IF

 

could you please help as system executing same code but due to different versions of MS word new version taking more time than previous one. 2010 taking more time than 2003 . Please answer, i am stucked in this problem 

 

Your prompt response will be highly appriciated.

Regards,

TAMS



__________________


Veteran Member

Status: Offline
Posts: 40
Date:

You might try taking this one to one of the MSDN forums.

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard