Home > Error Calling > Error Calling External Object Function Openreport

Error Calling External Object Function Openreport

Everything works fine except when I try to run the report. Browse other questions tagged excel powerbuilder or ask your own question. If it were me, and it was happening consistently, I'd run the app in the debugger to get to the state where the error is about to happen (you can set Using CASE to select between two geometry functions? this contact form

When stating a theorem in textbook, use the word "For all" or "Let"? Scroll down to Crystal ActiveX Report Viewer Control 11.0 and the function is not there. Can a class instance variable be excluded from a subclass in Java? After that I am getting an error message like: Error calling external object function open at line 55.....

However, > when I move the application to another PC (without Crystal > and without PB IDE) I get the following error. > "Error calling external object function openreport..." I > I really stuck with this issue, if anyone can help that will be grateful. Also within PB IDE I can browse the OLE object by clicking menu option Tools then browse, click the OLE tab to browse Insertable Objects.

Check the object browser for a list of things you can catch for OLEObject. -- Larry Cermak [Team Sybase] Branick Consulting, Inc. I have a simple PB ver 9 application that has a few > Crystal 9 reports embedded into an OLE object. > > The application works if it's run through PB OLEObject io_ole_crx_application OLEObject io_ole_crx_report string ls_filename io_ole_crx_application = create OLEObject il_return = io_ole_crx_application.ConnectToNewObject('CrystalRuntime.Application') if il_return < 0 then Messagebox("Error", "Did not connect to Crystal Application Object") return else Messagebox("OK", "Connect to However, when > I move the application to another PC (without Crystal and > without PB IDE) I get the following error. > "Error calling external object function openreport..." I >

Could accessed sites over an SSH tunnel be tracked by ISP? Do you have any ideas? I'd expect you'd also have to throw in some test code, since I'm not confident everything you'd want to test would be available to the debugger. HKLM\Software\Microsoft\Windows\CurrentVersion\AppPaths\yourApp.exe -- Paul Horan[TeamSybase] Cynergy Systems www.cynergysystems.com wrote in message news:[email protected].. > Ok, I have racked my brain on this and need to call for > help.

Etymology of word "тройбан"? I have a simple PB ver 9 application that has a few > Crystal 9 reports embedded into an OLE object. > > The application works if it's run through PB Your cache administrator is webmaster. SetPointer(Hourglass!) gi_return = g_ole_crx_application.ConnectToNewObject('CrystalRuntime.Application.9') IF gi_return < 0 THEN MessageBox("Error", "Did not connect to Crystal Application Object") RETURN END IF //gs_rpt = "PRTMACH-"+gs_user_codiv gs_rpt_filename = "C:\Projects\Implementation\PRTMACH.rpt" g_ole_crx_application = g_ole_crx_application.OpenReport(gs_rpt_filename) g_ole_crx_application.ParameterFields[1].AddCurrentValue(gs_user_codiv) ole_crviewer.object.ReportSource(g_ole_crx_application)

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 https://groups.google.com/d/topic/powersoft.public.powerbuilder.ole-ocx-activex/_TvN4gexKFg I'd also get rid of unnecessary calls. www.branick-inc.com EAServer & PowerBuilder Consulting & Training EAServer and PowerBuilder Computer Based Training Courses wrote in message news:[email protected].. > Hello, > > I am getting Does Zootopia have an intentional Breaking Bad reference?

However, when I move the application to another PC (without Crystal and without PB IDE) I get the following error. "Error calling external object function openreport..." I have the Crystal DLLs weblink The code is working in a loop and I am able open and import around 600 Excel files. Generated Mon, 10 Oct 2016 16:47:22 GMT by s_wx1131 (squid/3.5.20) × Sybase NNTP forums - End Of Life (EOL) The NNTP forums from Sybase - forums.sybase.com - are now CrystalRuntime.Application.9 sounds (to me) like it requires the full install of Crystal, which you said isn't installed. - Is there another version of the OCX installed?

Forums Archive > PowerBuilder > /nntp-archive/action/newsgroup/sybase.public.powerbuilder.ole-ocx-activex;jsessionid=F7D94525D7EC92ACA1967862DAAB6CFC > "Attilio" Attilio 2 posts in . Where are the oil platforms in Google Earth? The system returned: (22) Invalid argument The remote host or network may be down. navigate here Is it a fallacy, and if so which, to believe we are special because our existence on Earth seems improbable?

Last posting was on 2006-08-01 02:48:58.0Z Error calling external object function openreport Posted on 2006-07-27 20:02:09.0Z Sender: [email protected]: Error calling external object function openreportNewsgroups: sybase.public.powerbuilder.ole-ocx-activexSubject: AttilioX-Mailer: WebNews to Mail Gateway v1.1tMessage-ID: I'm also not clear from the code clip why you'd need to call a Save(), either time; this could be expendable as well. I have a simple PB ver 9 application that has a few > Crystal 9 reports embedded into an OLE object. > > The application works if it's run through PB

One possibility is that you're running out of memory.

I get the same error message even when running it through the PB IDE I am using PB8 with Crystal 11 (crviewer.dll) The ConnectToNewObject works OK but when executing Command g_ole_crx_application.OpenReport(gs_rpt_filename) What are the drawbacks of the US making tactical first use of nuclear weapons against terrorist sites? I have a simple PB ver 9 application that has a few Crystal 9 reports embedded into an OLE object. I also chagned the path to make sure the cr*.dll (s) were available.

Code posted in reply comments: For ll_LoopCnt = 1 To Dw_1.rowcount( ) Ls_File_Name = Dw_1.getitemstring( ll_LoopCnt, "file_name") Ls_Path =Dw_1.getitemstring( ll_LoopCnt, "file_path") ll_Sr_No= Dw_1.getitemNumber( ll_LoopCnt, "sr_no") ldt_File_Date= Dw_1.getitemDateTime( ll_LoopCnt, "file_date") Excel.Application.DisplayAlerts = share|improve this answer answered Feb 22 '11 at 16:12 Hugh Brackett 2,485618 Thanks for the Replay let me try that..I rectified that issue, actually i still dont know what Here is the code... his comment is here However, > when I move the application to another PC (without Crystal > and without PB IDE) I get the following error. > "Error calling external object function openreport..." I >

Making the parsing of a String to an Int32 robust (valid, positive, not 0 validation) Was Isacc Newton the first person to articulate the scientific method in Europe? A Riddle of Feelings Wrong password - number of retries - what's a good number to allow? Do you have any ideas? Make sure you have the same copy of the DLLs as on your development machine. - Finally, try and create an AppPaths registry entry for your application, and include the path

Tom Posted on 2006-06-12 17:13:49.0Z Sender: [email protected]: TomNewsgroups: sybase.public.powerbuilder.ole-ocx-activexSubject: Re: Openreport Error in Crystal OCXX-Mailer: WebNews to Mail Gateway v1.1tMessage-ID: <[email protected]>References: <[email protected]>X-Original-NNTP-Posting-Host: 10.22.241.42X-Original-Trace: 12 Jun 2006 10:10:17 -0700, 10.22.241.42Lines: 71X-Original-NNTP-Posting-Host: forums-2-dub.sybase.comX-Original-Trace: Excel.Application.Visible), when they only need to be called once. 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 What is the meaning and etymology of "cod-French" accent?

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 more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed All new questions should be directed to the appropriate forum at the SAP Community Network (SCN). Scroll down to Crystal ActiveX Report Viewer Control 11.0 and the function is not there.

I have PB8.0, CR XI and I registered the following Dlls craxdrt.dll (8.5) crviewer.dll (8.5) and craxddrt.dll (8.5) on my workstation. Is there a place in academia for someone who compulsively solves every problem on their own? For example, you've got several calls that maintain the state of Excel within the loop (e.g. Mitt kontoSökMapsYouTubePlayNyheterGmailDriveKalenderGoogle+ÖversättFotonMerDokumentBloggerKontakterHangoutsÄnnu mer från GoogleLogga inDolda fältSök efter grupper eller meddelanden current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.

Join them; it only takes a minute: Sign up Error on Excel importing up vote 1 down vote favorite I am trying to import around 1500 Excel files to my system. Is it plagiarims (or bad practice) to cite reviews instead of source material? Can Klingons swim? 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.