Hi,
I want to create an Excel OLE-Object from my webextension.
When I call m_app.CreateDispatch("Excel.Application") I get an Exception.
It works fine from a normal dll.
Thanks
Michael
Printable View
Hi,
I want to create an Excel OLE-Object from my webextension.
When I call m_app.CreateDispatch("Excel.Application") I get an Exception.
It works fine from a normal dll.
Thanks
Michael
Because, you do not have rights to do the same on WebExtesions.
Regards.
Is it possible to get the rights?
I dont hope so.. as it is not specific to you (User).... :o
I am Admin on this server, not User.
But Administrator is also a type of user!
What I meant is security polocies with executing the potentially harmful code.
We cannot create a folder using ASP :rolleyes:
Futher, sorry to tell you that I do not have exposure to WebExtns. Did you mean Web Extesions for FrontPage, or something like that? :blush:
It is a ISAPI-Extension dll extends CHttpServer.
Ohh!
Then you can obviously create any object and play with it.
Please do mention the exception message...
I thought you were doing something on scripting side...
You can also use #import directive to include typelibrary for excel, and name it as class. Further, declare object of that class and access its members directly.
You need not to depend on Dispatch, Invoke and all that.
OK, thanks. I'll try.
Michael
Hi,
I still haven't fixed the problem. I tried to import msword.olb, but had errors.
Have you a little exsample for me?
Thanks
Michael