B
BeatH
Hi
I implemented c# application which writes an excel sheet and formats the
sheets with late binding. Everything works fine.
So I distributed the application. But on another system the following snippet
aParameterList = new Object[1];
aParameterList[0] = "true";
aActiveWindow.GetType().InvokeMember("FreezePanes",
BindingFlags.SetProperty,
null, aActiveWindow, aParameterList);
throws an exception
"Unable to set the FreezePanes property of the Window class"
I compared the involved dll's and PIA but didn't find a difference.
What do I need to check to locate the problem?
Any hint is appreciated. Thanks
Beat
I implemented c# application which writes an excel sheet and formats the
sheets with late binding. Everything works fine.
So I distributed the application. But on another system the following snippet
aParameterList = new Object[1];
aParameterList[0] = "true";
aActiveWindow.GetType().InvokeMember("FreezePanes",
BindingFlags.SetProperty,
null, aActiveWindow, aParameterList);
throws an exception
"Unable to set the FreezePanes property of the Window class"
I compared the involved dll's and PIA but didn't find a difference.
What do I need to check to locate the problem?
Any hint is appreciated. Thanks
Beat