473,405 Members | 2,262 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

CreateObject question

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

Nov 18 '05 #1
0 705

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: deko | last post by:
Okay, so I got the common dialog working. but how to create object to copy selected files? Dim d As Object Dim fDialog As Office.FileDialog Set fDialog =...
4
by: Shawn B. | last post by:
Greets, If I say Dim X As Object X = CreateObject("Some.ProgID") .... X = Nothing
12
by: karen | last post by:
Hi all : this is going to be a long post. So i apologize in advance :) i am converting a java program in VB right now. I am a java programmer by trade. so i am no expert in this department. I...
7
by: dlasusa | last post by:
Sorry if this is the wrong group...I THINK I got to the right place...(oh...and I'm a newbie programmer...so please be gentle) Anyway I have a program that works fine when I run it from within...
9
by: salad | last post by:
I have the following code. I have a reference to the Outlook library in the reference list. My machine is standalone, not on a network. Dim Olapp As Outlook.Application Set Olapp =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.