Click here to Skip to main content
15,439,721 members
Home / Discussions / COM
   

COM

 
AnswerRe: Trouble with implement Com Local Server Pin
Richard MacCutchan26-Sep-15 20:47
mveRichard MacCutchan26-Sep-15 20:47 
GeneralRe: Trouble with implement Com Local Server Pin
Tri Cuong3-Oct-15 7:29
MemberTri Cuong3-Oct-15 7:29 
GeneralRe: Trouble with implement Com Local Server Pin
Richard MacCutchan4-Oct-15 2:41
mveRichard MacCutchan4-Oct-15 2:41 
QuestionWhy is the resolution in SampleGrabber different from the resolution in IAMStreamConfig? Pin
garry.fang24-Jun-15 12:44
Membergarry.fang24-Jun-15 12:44 
QuestionC#: Fixed Function ID in COM DLL Pin
DoxMan20-Apr-15 23:52
MemberDoxMan20-Apr-15 23:52 
AnswerRe: C#: Fixed Function ID in COM DLL Pin
Richard Deeming21-Apr-15 2:37
mveRichard Deeming21-Apr-15 2:37 
AnswerRe: C#: Fixed Function ID in COM DLL Pin
F-ES Sitecore29-Apr-15 4:09
professionalF-ES Sitecore29-Apr-15 4:09 
QuestionIoleUndoManager with Excel application Pin
jaafar tribak6-Apr-15 5:28
Memberjaafar tribak6-Apr-15 5:28 
Hi all,

I am trying to control the Undo/Redo Stack in excel but I can't seem to get a pointer to the UndoManager Interface in the ppv out argument when calling the QueryService Method .. it always returns Nothing ..

I hope someone can tell me what I am doing wrong .. I think the "SID_SApplicationObject" is not the right SID

Note : I am using the olelib.tlb

Code :
VB
Sub Test()
    Dim pUnk As olelib.IUnknown
    Dim IServiceProvider As olelib.IServiceProvider
    Dim IID_IServiceProvider  As olelib.UUID
    Dim IID_IOleUndoManager As olelib.UUID
    Dim SID_SApplicationObject As olelib.UUID
    Dim ppv As IUnknown
    CLSIDFromString IIDSTR_IServiceProvider, IID_IServiceProvider
    CLSIDFromString "{0C539790-12E4-11CF-B661-00AA004CD6D8}", SID_SApplicationObject
    Set pUnk = Excel.Application
    pUnk.QueryInterface IID_IServiceProvider, IServiceProvider
    IServiceProvider.QueryService SID_SApplicationObject, IID_IOleUndoManager, ppv 
End Sub

Any help will be much appreciated
Regards.
QuestionEXCEL - Hooking Excel VTABLE Pin
jaafar tribak3-Apr-15 17:53
Memberjaafar tribak3-Apr-15 17:53 
AnswerRe: EXCEL - Hooking Excel VTABLE Pin
jaafar tribak17-Apr-15 13:59
Memberjaafar tribak17-Apr-15 13:59 
QuestionHow to generate an early-bound COM object in VS2013 Pin
CrewR4-Mar-15 6:50
MemberCrewR4-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
MemberMichael 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
MemberMember 1017975812-Dec-14 16:07 
QuestionDCOM CLASSNOTREG error Pin
Billy Bang19-Nov-14 18:58
MemberBilly 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
MemberBilly 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
Memberchiyun11-Sep-14 20:39 
QuestionC# COM Server should be called by a C++ client... Pin
Juergen_8027-Aug-14 1:44
MemberJuergen_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 

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.