Powerbuilder Error Calling External Object Function
Contents |
and SafetyAsset NetworkAsset Operations
Powerbuilder Application Execution Error (r0035)
and MaintenanceCommerceOverviewSubscription Billing and Revenue ManagementMaster powerbuilder error 35 Data Management for CommerceOmnichannel CommerceFinanceOverviewAccounting and Financial CloseCollaborative Finance OperationsEnterprise Risk error calling external object function opendatasource and ComplianceFinancial Planning and AnalysisTreasury and Financial Risk ManagementHuman ResourcesOverviewCore Human Resources and PayrollHuman Capital AnalyticsTalent
Powerbuilder Application Execution Error (r0039)
ManagementTime and Attendance ManagementManufacturingOverviewManufacturing NetworkManufacturing OperationsResponsive ManufacturingMarketingOverviewMarket with Speed and AgilityUnique Customer ExperiencesReal-Time Customer InsightsR&D/EngineeringOverviewDesign NetworkDesign OrchestrationProject and Portfolio ManagementSalesOverviewCollaborative Quote to CashSales Force AutomationSales Performance ManagementSelling Through Contact CentersServiceOverviewEfficient Field Service ManagementOmnichannel Customer
Powerbuilder Application Execution Error R0002
ServiceTransparent Service Process and OperationsSourcing and ProcurementOverviewContingent Workforce ManagementDirect ProcurementSelf-Service ProcurementServices ProcurementStrategic Sourcing and Supplier ManagementSupply ChainOverviewDemand ManagementDemand NetworkLogistics NetworkManufacturing Planning and SchedulingResponse NetworkResponse and Supply ManagementSales, Inventory, and Operations PlanningTransportation ManagementWarehouse ManagementSustainabilityOverviewEnvironment, Health, and SafetyProduct Safety and Stewardship NetworkBrowse by IndustryAerospace and DefenseAutomotiveBankingChemicalsConsumer ProductsDefense and SecurityEngineering, Construction, and OperationsHealthcareHigh TechHigher Education and ResearchIndustrial Machinery and ComponentsInsuranceLife SciencesMediaMill ProductsMiningOil and GasProfessional ServicesPublic SectorRetailSports and EntertainmentTelecommunicationsTravel and TransportationUtilitiesWholesale DistributionBrowse Platform and TechnologyAnalyticsOverviewBusiness IntelligencePredictive AnalyticsGovernance, Risk, and ComplianceEnterprise Performance ManagementApplication Platform and InfrastructureOverviewApplication PlatformContent and CollaborationInterface ManagementProcess Management and IntegrationData ManagementOverviewBig Data on HadoopData WarehousingDatabase ManagementEnterprise Information ManagementIT ManagementOverviewApplication Lifecycle ManagementIT Infrastr
be down. Please try the request again. Your cache administrator is webmaster. Generated Mon, 24 Oct 2016 07:17:17 GMT by s_nt6 (squid/3.5.20)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more http://stackoverflow.com/questions/9579658/excel-object-saveas-error-happens-when-existing-file-is-open about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow http://www.tek-tips.com/viewthread.cfm?qid=1036498 is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Excel Object SaveAs, error happens when Existing File is Open up vote 0 powerbuilder application down vote favorite Excel_Obj = CREATE OleObject Excel_Obj.ConnectToNewObject( 'excel.application' ) Excel_Obj.Workbooks.Add Excel_Obj.Application.ActiveWorkbook.WorkSheets.Add Excel_Sheet = Excel_Obj.Application.ActiveWorkbook.WorkSheets[1] //EXAMPLE Excel_Sheet.Cells[1,1] = 45 Excel_Obj.Application.ActiveWorkbook.SaveAs(ls_file,56) //csv //where ls_file = the Opened File error happened after / during saveas. try catch throw "error calling external object..in click..line.. saveas.." -- i want to state to the user that the excel file is open therefore cannot be overwritten properly. I used a try catch and throwed a powerbuilder application execution proper message but before the messagebox for the catch event happens, the PB execution error R0035 happens. any solutions or proper way to know if the excel file is open. excel ms-office ole powerbuilder share|improve this question edited Apr 7 '14 at 19:09 Kara 3,18573148 asked Mar 6 '12 at 7:39 Sid 32711742 add a comment| 5 Answers 5 active oldest votes up vote 0 down vote You might be able to check if the file is open first, have a look at this answer: how to check if file is opened in excel using OLE (leaves excel process open) share|improve this answer answered Mar 6 '12 at 12:47 Colin Pickard 32.1k869126 i could do those using try catch in Powerbuilder. the true problem relies on the PB Execution Error upon knowing the file is open. not before. i also put it inside try, but the error still popped out. i dont think my users will ignore this,lol –Sid Mar 7 '12 at 1:04 i still need some help on this. I havent figured this out. my users want a perfect excel extract system. Thanks for the answers...! –Sid Mar 8 '12 at 7:12 add a comment| up vote 0 down vote I
FORUMSFOR COMPUTER PROFESSIONALS Log In Come Join Us! Are you aComputer / IT professional?Join Tek-Tips Forums! 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! Join Us! *Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. 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! Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Sybase: PowerBuilder Forum at Tek-Tips HomeForumsProgrammersDevelopment ToolsSybase: PowerBuilder Forum Error calling external object function saveas thread144-1036498 Forum Search FAQs Links MVPs Error calling external object function saveas Error calling external object function saveas joanneho (Programmer) (OP) 4 Apr 05 00:53 Hi everyone,Has any of you come across the error "Error calling external object function saveas at line xxx in clicked event of object xxx" ?I have using Powerbuilder6.5 and want to save a Word XP document on the XP server.Thanks.Joanne RE: Error calling external object function saveas mbalent (Programmer) 4 Apr 05 07:22 Check to make sure you have the proper permissions and that the drive/path are correct. "Nature forges everything on the anvil of time" RE: Error calling external object function saveas joanneho (Programmer) (OP) 5 Apr 05 21:50 Yes permission is fine because sometimes it works. We have recently upgraded to Windows XP and Office XP, do you think there is anything to do with this? Thanks. Red Flag This Post Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework. Cancel Red Flag SubmittedThank you for helping keep Tek-Tips Forums free from inappropriate posts.The Tek-Tips staff will check this out and take appropriate action. Close Reply To This Thread Posting in the Tek-Tips forums is a member-only feature. Click Here to join Tek-Tips and talk with other members! Resources Join | Indeed Jobs | Advertise Copyright © 1998-2016 ENGINEERING.com, Inc. All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. Registration on or use of this