Click here to Skip to main content
15,916,463 members
Home / Discussions / COM
   

COM

 
AnswerRe: EXCEL - Hooking Excel VTABLE Pin
jaafar tribak17-Apr-15 13:59
jaafar tribak17-Apr-15 13:59 
QuestionHow to generate an early-bound COM object in VS2013 Pin
CrewR4-Mar-15 6:50
CrewR4-Mar-15 6:50 
SuggestionHow to reference IWshRuntimeLibrary Pin
ThanhTrungDo2-Mar-15 17:24
professionalThanhTrungDo2-Mar-15 17:24 
GeneralRe: How to reference IWshRuntimeLibrary Pin
Richard MacCutchan2-Mar-15 21:27
mveRichard MacCutchan2-Mar-15 21:27 
QuestionRegistration Free COM / COM Interop Pin
Michael Salzlechner8-Feb-15 3:28
Michael Salzlechner8-Feb-15 3:28 
AnswerRe: Registration Free COM / COM Interop Pin
F-ES Sitecore2-Mar-15 4:55
professionalF-ES Sitecore2-Mar-15 4:55 
GeneralRe: Registration Free COM / COM Interop Pin
DriveByCoder24-Mar-15 7:18
professionalDriveByCoder24-Mar-15 7:18 
GeneralRe: Registration Free COM / COM Interop Pin
F-ES Sitecore24-Mar-15 8:12
professionalF-ES Sitecore24-Mar-15 8:12 
QuestionHow to SubClass ContentControl in MSWORD Pin
Member 1017975812-Dec-14 16:07
Member 1017975812-Dec-14 16:07 
QuestionDCOM CLASSNOTREG error Pin
Billy Bang19-Nov-14 18:58
Billy Bang19-Nov-14 18:58 
AnswerRe: DCOM CLASSNOTREG error Pin
Richard MacCutchan19-Nov-14 21:29
mveRichard MacCutchan19-Nov-14 21:29 
GeneralRe: DCOM CLASSNOTREG error Pin
Billy Bang19-Nov-14 21:48
Billy Bang19-Nov-14 21:48 
GeneralRe: DCOM CLASSNOTREG error Pin
Richard MacCutchan19-Nov-14 22:49
mveRichard MacCutchan19-Nov-14 22:49 
QuestionHow to remove other submenu items when implement my context menu handle. Pin
chiyun11-Sep-14 20:39
chiyun11-Sep-14 20:39 
QuestionC# COM Server should be called by a C++ client... Pin
Juergen_8027-Aug-14 1:44
Juergen_8027-Aug-14 1:44 
SuggestionRe: C# COM Server should be called by a C++ client... Pin
Richard MacCutchan27-Aug-14 2:09
mveRichard MacCutchan27-Aug-14 2:09 
GeneralRe: C# COM Server should be called by a C++ client... Pin
Juergen_8027-Aug-14 2:27
Juergen_8027-Aug-14 2:27 
QuestionCreating an Access Add-In that can be used by all users - "Connect" error Pin
lmaycock8-Aug-14 3:04
lmaycock8-Aug-14 3:04 
I'm having trouble getting an Access plugin working for all users. The setup application installs/registers the dll and associated tlb file absolutely fine (installed for all users) and my VBA code (below) also works successfully when logged in as an administrator, but attempting to use it under a non-privileged user account fails here:

VB
Private Sub Form_Load()
    With COMAddIns("MyPlugIn.Connect")
        ' Make sure the COM add-in is loaded.
        .Connect = True   ' <---- Fails here

        ' Hook up the desired objects.
        .Object.HookupControls cmdUploadImage
    End With
End Sub


The returned error is: This add-in is installed for all users on this computer and can only be connected or disconnected by an administrator.

Is there any way to prevent this?

Some additional information:
- The dll/tbl and setup application are all created in C# (.net 3.5)
- The target machine is virtualised, so any user could potentially log into it (thus installing the plugin for the active user isn't an option... though if there's a way to silently install the file in a user login script that might work?)

Thanks in advance... though I'm more hopeful than expectant! Frown | :(
Questioncapture Event in ActiveX component Pin
pablogvivo28-Jul-14 4:28
pablogvivo28-Jul-14 4:28 
Questionerror in an example of loading dll dynamically Pin
virusx198416-Jul-14 4:41
virusx198416-Jul-14 4:41 
AnswerRe: error in an example of loading dll dynamically Pin
Richard MacCutchan16-Jul-14 5:49
mveRichard MacCutchan16-Jul-14 5:49 
QuestionHow to simulate click event on IHtmlObjectElement in C++? Pin
FoxBryant10-Jul-14 0:55
FoxBryant10-Jul-14 0:55 
QuestionCOM using pure c++ Pin
Member 989964421-Jun-14 20:12
Member 989964421-Jun-14 20:12 
AnswerRe: COM using pure c++ Pin
Derek Tortonian28-Jun-14 8:37
Derek Tortonian28-Jun-14 8:37 
GeneralRe: COM using pure c++ Pin
Member 989964429-Jun-14 7:21
Member 989964429-Jun-14 7:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.