473,385 Members | 1,780 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,385 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

Jul 21 '05 #1
0 938

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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.