PC Review


Reply
Thread Tools Rate Thread

CreateObject question

 
 
Casey Brown
Guest
Posts: n/a
 
      15th Dec 2003
Hi. I posted this on a VB group but was advised to move it here to .NET, so
my apologies if you frequent both groups.

In VB6 I made a DLL that uses CreateObject to work with Powerpoint. I am
getting
Error Number 70: Permission Denied when CreateObject is called from a .NET
web service. Powerpoint makes some registry edits to HKCU (Current User),
and it won't let the user ASPNET make those changes.

My DLL is going to reside on a machine with PPT installed and is going to
receive calls from the web service, which will likely be on a different
server. Seems to me that in order to make those calls successful, I either
need to change the permissions on the registry keys so that ASPNET can
change them OR else ASPNET would have to be given adminstrator privileges
for the machine with PPT installed. This will be on a corporate machine,
and I highly doubt sysadmin will like either option.

Are there other ways to solve this? Can I somehow A)Prevent powerpoint from
writing to registry or B)Call powerpoint as if I was the current user or C)
Do something wiser? I'm not sure option B will work, because there won't
necessarily be any user logged on.

Thanks in advance for any insights or advice you have!
-Casey



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: CreateObject(), GetObject() question Michael Bauer [MVP - Outlook] Microsoft Outlook VBA Programming 3 24th Feb 2010 08:20 AM
Another CreateObject C# question =?Utf-8?B?SG9tZXI=?= Microsoft Dot NET Framework Forms 1 11th Nov 2005 09:52 PM
CreateObject Question ibeetb Microsoft Excel Programming 0 20th Jul 2004 12:23 AM
if in asp is CreateObject("Microsoft.XMLHTTP"). Is in asp.net this Server.CreateObject("MSXML2.ServerXMLHTTP") ? Raúl Martín Microsoft ASP .NET 1 13th May 2004 04:47 AM
CreateObject question Casey Brown Microsoft ASP .NET 0 15th Dec 2003 02:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:44 AM.