F
Franky
Hello,
I'm trying to migrate an Asp Webapp in Asp.Net. I'm just using the follwing
JScript.Net code:
var objExcel = new ActiveXObject("Excel.Application");
objExcel.Visible = false;
objExcel.DisplayAlerts = false;
On a WinXP Pro with Office 2003, it works. But on a Win2K Office XP, it
doesn't work, I receive the following error: "Old format or invalid type
library (System.Runtime.InteropServices)" for the "objExcel.DisplayAlerts"
line.
If possible, I would like to not use .Net codebehind and namespace (it would
be too much code to rewrite).
Thanks by advance.
Franky.
I'm trying to migrate an Asp Webapp in Asp.Net. I'm just using the follwing
JScript.Net code:
var objExcel = new ActiveXObject("Excel.Application");
objExcel.Visible = false;
objExcel.DisplayAlerts = false;
On a WinXP Pro with Office 2003, it works. But on a Win2K Office XP, it
doesn't work, I receive the following error: "Old format or invalid type
library (System.Runtime.InteropServices)" for the "objExcel.DisplayAlerts"
line.
If possible, I would like to not use .Net codebehind and namespace (it would
be too much code to rewrite).
Thanks by advance.
Franky.