Contributions
- 2.5KViews0likes0Comments
The process excel crached when I use the plugin ExcelCompare.tcx
Hi Everybody! When I use the Excel plugin ExcelCompare.tcx and do : var msg = objectExcel.ExcelCompare(sPath1, sPath2,resfile) I have sometimes the error : The EXCEL.EXE process crashed. Exception code: 0xC0000005. I just have this error log in TestComplete 9.31.3889.7 But when I try this code in TestComplete 7.52 I don't have this error Can you help me? Thanks5.7KViews1like9Comments- 1.7KViews0likes0Comments
How to get Multiple Excel Instance by Com
Hi everybody, I want to get a specific instance of excel to get a specific worbook opened in this instance and save this worbook. But when I use a TestComplete OleObject or ActiveXObject, I just take an instance of excel that I don't want. (maybe the Active Instance) I have many excel instances opened with one or many workbook opened in these instances. I was trying var oExcel = GetObject("","Excel.Application"); and var oExcel = Sys.OleObject("Excel.Application") and var oExcel = new ActiveXObject("Excel.Application"); but it doesn't work because I get an instance of Excel that I don't want. Have you another method to get all excel instances which works with Com Object because I want to save an Workbook with the com method like oWorkBook.SaveAs("C:\myPath..........")? Can you help me? Thanks5.9KViews0likes7Comments