I have an application written in vfp 3.0. I write some informtion to an excel document with some code similar to the following.
oleExcel = CreateObject("Excel.Application"
oleExcel.application.workbooks.open("BlankExcel.xls"
oleExcel.application.worksheets("sheet1".activate
* Fill in Header information
oleExcel.cells(1,1).Value =gcTitle
oleExcel.cells(3,1).value = "Date"
oleExcel.cells(3,2).value = "Time"
oleExcel.ActiveWorkbook.SaveAs(gcFile_Name+".xls"
oleExcel.Quit
This code seems to work OK and I use the setup Wizard to create the installation files. It will install fine on a computer that has excel already loaded, but not on one that doesn't. I'm guessing that there is some dll that I need to include with the install but I do not know which one. Any ideas?
oleExcel = CreateObject("Excel.Application"
oleExcel.application.workbooks.open("BlankExcel.xls"
oleExcel.application.worksheets("sheet1".activate
* Fill in Header information
oleExcel.cells(1,1).Value =gcTitle
oleExcel.cells(3,1).value = "Date"
oleExcel.cells(3,2).value = "Time"
oleExcel.ActiveWorkbook.SaveAs(gcFile_Name+".xls"
oleExcel.Quit
This code seems to work OK and I use the setup Wizard to create the installation files. It will install fine on a computer that has excel already loaded, but not on one that doesn't. I'm guessing that there is some dll that I need to include with the install but I do not know which one. Any ideas?