Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Maximum script size exceeded

2 posts in iAnywhere General Discussion (Chinese) Last posting was on 2006-11-15 21:11:39.0Z
golyou Posted on 2006-11-15 07:21:50.0Z
From: "golyou" <golyou@yahoo.com>
Newsgroups: ianywhere.public.chinese.general
Subject: Maximum script size exceeded
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 60.2.89.12
X-Original-NNTP-Posting-Host: 60.2.89.12
Message-ID: <455ace1e$1@forums-1-dub>
Date: 15 Nov 2006 00:21:50 -0700
X-Trace: forums-1-dub 1163578910 60.2.89.12 (15 Nov 2006 00:21:50 -0700)
X-Original-Trace: 15 Nov 2006 00:21:50 -0700, 60.2.89.12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.chinese.general:804
Article PK: 554

hi,¸÷λ´óϺ£¬ÔÚÏÂÏÖÔÚ±àÒ»¸öwordÏà¹ØµÄÓ¦ÓóÌÐò£¬µ«ÊÇÓÉÓÚ³ÌÐòƪ·ù¹ý´ó£¬¶øÇÒole_objectÔÚº¯ÊýÀï²»ÈÏ£¬ÎÒ¸ÃÔõô×ö£¬Ð»Ð»£¡
ÏÂÃæÊÇÎҵĴúÂë
OLEObject ole_object
ole_object = CREATE OLEObject
talk= ole_object.ConnectToNewObject("Word.Application")
// Word
IF talk<> 0 THEN
MessageBox('system message£¡','OLE erroe£¬can't connect ole!')
RETURN
END IF
ole_object.Documents.Add()
//page setup
ole_object.ActiveDocument.PageSetup.TopMargin=36
ole_object.ActiveDocument.PageSetup.BottomMargin=36
ole_object.ActiveDocument.PageSetup.LeftMargin=36
ole_object.ActiveDocument.PageSetup.RightMargin=36
ole_object.ActiveDocument.PageSetup.Gutter=30
ole_object.ActiveDocument.PageSetup.HeaderDistance=36
ole_object.ActiveDocument.PageSetup.FooterDistance =30
ole_object.ActiveDocument.PageSetup.PageWidth =480
ole_object.ActiveDocument.PageSetup.PageHeight =630

ole_object.Visible = TRUE

...........................................
±£´æʱ³öÏֵĴíÎó£¬ËµµÃ´úÂëÐг¬¹ýÁËÏÞÖÆ
---------- Compiler: Errors
performance.pbl(w_out).cb_1.clicked.412: Error C0111: Maximum script
size exceeded

help me pls !

thanks a lot


Raymond.Kwong Posted on 2006-11-15 21:11:39.0Z
MIME-Version: 1.0
X-MIMETrack: Serialize by Notes Client on Raymond Kwong/SYBASE(Release 6.5|September 26, 2003) at 11/15/2006 04:54:30 PM, Serialize complete at 11/15/2006 04:54:30 PM, Serialize by Notes Client on Raymond Kwong/SYBASE(Release 6.5|September 26, 2003) at 11/15/2006 05:04:58 PM, Serialize complete at 11/15/2006 05:04:58 PM
From: Raymond.Kwong@sybase.com
Subject: Re: Maximum script size exceeded
Newsgroups: ianywhere.public.chinese.general
References: <455ace1e$1@forums-1-dub>
X-Newsreader: Lotus Notes Release 6.5 September 26, 2003
Content-Type: multipart/alternative; boundary="=_alternative 00794E0A85257227_="
NNTP-Posting-Host: rkwong-xp.sybase.com
X-Original-NNTP-Posting-Host: rkwong-xp.sybase.com
Message-ID: <455b909b$1@forums-1-dub>
Date: 15 Nov 2006 14:11:39 -0700
X-Trace: forums-1-dub 1163628699 10.25.98.158 (15 Nov 2006 14:11:39 -0700)
X-Original-Trace: 15 Nov 2006 14:11:39 -0700, rkwong-xp.sybase.com
Lines: 19
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.chinese.general:806
Article PK: 550


阁下的提问是不是有关PowerBuilder的? 有关PowerBuilder的提问,请转往 sybase.public.chinese.powerbuilder.general 张贴。本新闻组回答的问题是局限在iAnywhere的产品,其他的问题恕在下无能为力了。