|
-
December 14th, 2004, 06:35 AM
#1
Create OLE in WebExtension
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
-
December 14th, 2004, 06:40 AM
#2
Re: Create OLE in WebExtension
Because, you do not have rights to do the same on WebExtesions.
Regards.
-
December 14th, 2004, 06:54 AM
#3
Re: Create OLE in WebExtension
Is it possible to get the rights?
-
December 14th, 2004, 06:55 AM
#4
Re: Create OLE in WebExtension
I dont hope so.. as it is not specific to you (User)....
-
December 14th, 2004, 06:59 AM
#5
Re: Create OLE in WebExtension
I am Admin on this server, not User.
-
December 14th, 2004, 07:03 AM
#6
Re: Create OLE in WebExtension
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
Futher, sorry to tell you that I do not have exposure to WebExtns. Did you mean Web Extesions for FrontPage, or something like that?
-
December 14th, 2004, 07:06 AM
#7
Re: Create OLE in WebExtension
It is a ISAPI-Extension dll extends CHttpServer.
-
December 14th, 2004, 07:14 AM
#8
Re: Create OLE in WebExtension
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...
-
December 14th, 2004, 07:16 AM
#9
Re: Create OLE in WebExtension
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.
-
December 14th, 2004, 08:08 AM
#10
Re: Create OLE in WebExtension
OK, thanks. I'll try.
Michael
-
February 18th, 2005, 02:49 AM
#11
Re: Create OLE in WebExtension
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|