Home > Error Calling > Error Calling External Object Function Saveas

Error Calling External Object Function Saveas


Mike Terry Voth Posted on 2002-08-02 02:18:34.0Z Newsgroups: sybase.public.powerbuilder.generalFrom: Terry Voth Subject: Re: OLE error 35 (repost)Date: Thu, 01 Aug 2002 22:18:34 -0400X-Newsreader: Forte Agent 1.91/32.564MIME-Version: 1.0Content-Type: text/plain; charset=us-asciiContent-Transfer-Encoding: 7bitLines: 17NNTP-Posting-Host: How to challenge optimized player with Sharpshooter feat Why I failed to use the \foreach command to connect the points? Please contact the Help Desk." gn_app.display_message("Error",ls_msg,"StopSign!","OK!",1) lb_ok = FALSE END TRY -- Larry Cermak [Team Sybase] Branick Consulting, Inc. Good luck, Terry share|improve this answer edited Feb 21 '11 at 17:39 answered Feb 20 '11 at 21:02 Terry 5,577916 Hai, Thanks for the replay –Jaibin Paul Feb 21 this contact form

Any thoughts on what I am doing wrong? Are backpack nets an effective deterrent when going to rougher parts of the world? Sequel's Sandbox: http://www.techno-kitten.com Home of PBL Peeper, a PowerBuilder Developer's Toolkit. Thanks. click resources

Error Calling External Object Function Powerbuilder

dw_3.RowCount() > > // Create the oleobject variable xlapp > xlApp = Create OLEObject > > // Connect to Excel and check the return code > ret = xlApp.ConnectToNewObject( "Excel.Application" ) I used a try catch and throwed a proper message but before the messagebox for the catch event happens, the PB execution error R0035 happens. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! worksheets(1).Columns(7).HorizontalAlignment = -4108 lole_excel.application.workbooks(1).

Can two different firmware files have same md5 sum? The system returned: (22) Invalid argument The remote host or network may be down. Also below is the entire script for the event in > question. > > Thanks, > Mike > > I inherited an application written on PB 5.0.3 in which the below Please try the request again.

Browse other questions tagged excel powerbuilder or ask your own question. Powerbuilder Application Execution Error (r0035) From the information you've supplied, it's impossible to tell if the OLE host has crashed and isn't responding anymore, or if you've got the OLE host into a state where these In PB 8 with the same Word 97 I am getting Error number 35 errors. http://stackoverflow.com/questions/5050888/error-on-excel-importing share|improve this answer answered Apr 5 '12 at 20:23 rskar 2,7291014 add a comment| up vote 0 down vote You will have to turn off the option to break into the

Inserting a DBNull value in database Why IsAssignableFrom return false when comparing a nullable against an interface? High-Performance PDF Conversion with Amyuni. As Terry mentioned, ole_word is a standard non-visual user object of type oleobject. Last posting was on 2002-08-02 16:47:44.0Z Mike Posted on 2002-08-01 14:03:01.0Z Newsgroups: sybase.public.powerbuilder.generalFrom: MikeDate: Thu, 1 Aug 2002 10:03:01 -0400Subject: OLE error 35 (repost)Lines: 312MIME-Version: 1.0Content-Type: text/plain; charset="us-ascii"Content-Transfer-Encoding: 7bitMessage-ID: <[email protected]>Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!newsXref:

Powerbuilder Application Execution Error (r0035)

worksheets(1).Columns(9).NumberFormat = "#,##0" lole_excel.application.workbooks(1). https://scn.sap.com/thread/3395303 Dave Rooney Mayford Technologies http://www.mayford.ca wrote in message news:[email protected].. > List, > > This is a re-post with some additional information for a PBdebugtrace below > this first note. Error Calling External Object Function Powerbuilder Create "gold" from lead (or other substances) Why are three-bladed helicopters relatively rare? Powerbuilder Error 35 The code clip you've posted will never enter the block where the GarbageCollect() is called (ll_Excel_Cnt is never initialized), so you might want to make sure that part is working.

Using Win32 API: http://www.rgagnon.com/pbdetails/pb-0030.html Using PB function fileopen()with the (default) exclusive rights set: http://www.tek-tips.com/viewthread.cfm?qid=1610670 In other words, see if the file can be opened exclusively before connecting to Excel or making weblink Could that be the problem by any chance. > Please help. > > Thanks... > > ----------------------------------------------------------------------- > long numcols , numrows , col, row > OLEObject xlapp , xlsub > asked 5 years ago viewed 3280 times active 4 months ago Related 1149Create Excel (.XLS and .XLSX) file from C#2How to set the WrapText in the cells of Excel by PowerBuilder?0Open Registration on or use of this site constitutes acceptance of our Privacy Policy.

Why is the TIE fighter tethered in Force Awakens? Three rings to rule them all (again) Allow multiple GUI elements to react dynamically to interaction with a single element A problem on integrals Install Setup not working How to automatically Please contact the Help Desk." gn_app.display_message("Error",ls_msg,"StopSign!","OK!",1) lb_ok = FALSE CATCH (Exception ee) ls_msg = "An Exception has occurred. " ls_msg += "~r~n~r~n" + ee.text ls_msg += "~r~n~r~nThe DOS report will not navigate here Board index Change font size FAQ Login Information The requested topic does not exist.

New Feb 21 I'd also change the set of files being processed, so that I could tell if the key to the crash is a specific file, or the quantity of After that I am getting an error message like: Error calling external object function open at line 55..... dw_3.object.data[row,col] Next Next xlApp.DisConnectObject() Destroy xlapp "PascalB" Newsgroups: sybase.public.powerbuilder.ole-ocx-activexReferences: <[email protected]>Subject: Re: Save datawindow to excel using OLEObject giving errorLines: 73X-Priority: 3X-MSMail-Priority: NormalX-Newsreader: Microsoft Outlook

I havent figured this out.

worksheets(1).Columns(9).HorizontalAlignment = -4108 lole_excel.application.workbooks(1). Thanks... ----------------------------------------------------------------------- long numcols , numrows , col, row OLEObject xlapp , xlsub int ret numcols = long( tab_1.tabpage_2. Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! Thanks for the answers...! –Sid Mar 8 '12 at 7:12 add a comment| up vote 0 down vote I'd try a PowerScript FileOpen () call with a LockReadWrite!

Good luck, Terry [TeamSybase] and Sequel the techno-kitten On Thu, 1 Aug 2002 12:22:00 -0400, Mike wrote: >I am getting an error indicating that ole_word is an illegal datatype. Could that be the problem by any chance. > Please help. > > Thanks... > > ----------------------------------------------------------------------- > long numcols , numrows , col, row > OLEObject xlapp , xlsub > IF ole_object.ConnectToNewObject("word.application.8") = 0 THEN IF li_template = 1 THEN w_progress.wf_progress("Loading Letter Template....") ole_object.Documents.open(ls_str+"\s01ltr.doc") ELSE w_progress.wf_progress("Preparing to Format without Template....") ole_object.Documents.open(ls_str+"\s01ltr1.doc") END IF ELSE MessageBox('OLE Error','Unable to start an OLE server his comment is here Also, I always recommend to put anything that uses OLE inside a Try..Catch block and catch OleRuntimeError and RuntimeError.