Steve Rindsberg said:
Have you contacted the developer of the controls?
That'd be the best place to start.
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:
www.pptfaq.com
PPTools:
www.pptools.com
================================================
Well, I am trying to develop my own ActiveX control for powerpoint, and I am getting the same error, specifically the "Cannot Access System Registry" one. So, technically I am one of the developers. First, I thought it was just my code, but then I realized other controls had the same problem. Here is my code that I used for a simple custom control:
I used c#.net
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Microsoft.Win32;
using System.Runtime.InteropServices;
using System.Reflection;
namespace ActiveXDotNet
{
[InterfaceTypeAttribute( ComInterfaceType.InterfaceIsDual )]
[Guid( "4075f012-1f8c-4bd5-a2d6-c843ac9e16a1" )]
public interface AxMyControl
{
[DispId(1000)]
String UserText { set; get ; }
}
[InterfaceTypeAttribute( ComInterfaceType.InterfaceIsIUnknown )]
[ComImport, Guid( "dd598b26-ca0b-4c42-bcb7-60d00d2fe181" )]
public interface IUnknown
{
[PreserveSig]
bool QueryInterface( string InterfaceName );
[PreserveSig]
void AddRef();
[PreserveSig]
void Release();
}
[ClassInterface( ClassInterfaceType.None )]
[Guid( "e5a054c6-8cf1-480c-b391-910e47cfe6ce" )]
public partial class myControl : UserControl, AxMyControl, IUnknown
{
private String mStr_UserText;
public String UserText
{
get { return mStr_UserText; }
set
{
mStr_UserText = value;
//Update the text box control value also.
txtUserText.Text = value;
}
}
public bool QueryInterface( string InterfaceName )
{
MessageBox.Show( "Interface Name is "+InterfaceName );
return true;
}
public void AddRef()
{ }
public void Release()
{ }
public myControl()
{
InitializeComponent();
}
}
}
the C# forums didn't know what it was, so I thought it might be a powerpoint
problem since more than one control gave the error