Click here to Skip to main content
15,441,629 members
Home / Discussions / COM


AnswerRe: COMException, error code :80040154 Pin
Anup Kasat9-Feb-15 2:12
MemberAnup Kasat9-Feb-15 2:12 
QuestionIFileSaveDialog / Filename using C++ Pin
jung-kreidler5-Jun-14 20:03
Memberjung-kreidler5-Jun-14 20:03 
SuggestionRe: IFileSaveDialog / Filename using C++ Pin
Richard MacCutchan5-Jun-14 22:23
mveRichard MacCutchan5-Jun-14 22:23 
GeneralRe: IFileSaveDialog / Filename using C++ Pin
jung-kreidler23-Jun-14 21:17
Memberjung-kreidler23-Jun-14 21:17 
QuestionHow to create a simple COM component in C++ Pin
CoRger5-Jun-14 1:07
MemberCoRger5-Jun-14 1:07 
AnswerRe: How to create a simple COM component in C++ Pin
Richard MacCutchan5-Jun-14 3:04
mveRichard MacCutchan5-Jun-14 3:04 
AnswerRe: How to create a simple COM component in C++ Pin
Member 989964421-Jun-14 20:19
MemberMember 989964421-Jun-14 20:19 
QuestionSetting up the COM+ Identity using C# Code Pin
Juan Topo19-May-14 8:50
MemberJuan Topo19-May-14 8:50 
Hello, I recently started programming with COM Objects Catalog using C-Sharp.

In principle, everything turned out pretty simple and I managed crar COM objects, install them and make them visible from the console, register and configure some properties of automatic way.

However I am with some problems as it relates to the configuration of some properties, namely:

While I can configure the identity component, either as INTERACTIVE USER or a specific user, I could not configure the identity of the COM + application with the Auditors Local System (Local System, Local Service and Network Service)

I do this as follows:

            Boolean resultado = false; ;
            ICOMAdminCatalog catalog;
            ICatalogCollection applicationCollection;
            ICatalogObject application;
            int applicationCount;
            int i;

                catalog = (ICOMAdminCatalog)new COMAdminCatalog();
                applicationCollection = (ICatalogCollection)catalog.GetCollection("Applications");
                applicationCount = applicationCollection.Count;

                for (i = 0; i < applicationCount; i++)
                    application = (ICatalogObject)applicationCollection.get_Item(i);
                    if (application.Name == nombreApp)
                        application.Value["ApplicationAccessChecksEnabled"] = false;

// Interactive User:
 application.Value["Identity"] = "Interactive User";

//Specific user:

 application.Value["Identity"] = txtUsuario.Text;
                                application.Value["Password"] = txtClave.Text; 

//Save Changes



            catch (Exception ex)
                resultado = false;

Can you think how to configure the Local System Account? I tell them that if IDENTITY indicated in the following:

@ "nt authority \ LocalService"

and PASSWORD "" (empty)

Everything goes well, but in reality is set to a specific user with the supplied information.

From already thank you very much! Laugh | :laugh:
QuestionHow do I set variable in ShockwaveFlashObjects C# Pin
Member 106494598-Mar-14 5:04
MemberMember 106494598-Mar-14 5:04 
QuestionVB6 to .Net Interop issue Pin
Sampath Sridhar1-Dec-13 22:10
MemberSampath Sridhar1-Dec-13 22:10 
QuestionCallback From .NET Com Class to Delphi Pin
P1kfr1k9-Oct-13 0:05
MemberP1kfr1k9-Oct-13 0:05 
SuggestionRe: Callback From .NET Com Class to Delphi Pin
Richard MacCutchan9-Oct-13 0:49
mveRichard MacCutchan9-Oct-13 0:49 
QuestionThe group or resource is not in the correct state to perform the requested operation Pin
Hari-Adarapu19-Sep-13 11:49
MemberHari-Adarapu19-Sep-13 11:49 
QuestionWorkBooks::Opentext help Pin
ForNow13-Sep-13 10:37
MemberForNow13-Sep-13 10:37 
AnswerRe: WorkBooks::Opentext help Pin
ForNow14-Sep-13 16:12
MemberForNow14-Sep-13 16:12 
QuestionRe: WorkBooks::Opentext help Pin
Richard MacCutchan14-Sep-13 21:52
mveRichard MacCutchan14-Sep-13 21:52 
AnswerRe: WorkBooks::Opentext help Pin
ForNow15-Sep-13 5:13
MemberForNow15-Sep-13 5:13 
GeneralRe: WorkBooks::Opentext help Pin
Richard MacCutchan15-Sep-13 5:27
mveRichard MacCutchan15-Sep-13 5:27 
QuestionWin8: Credential provider. CPUS_ONLOCK_WORKSTATION scenario Pin
_clown_9-Sep-13 23:27
Member_clown_9-Sep-13 23:27 
QuestionATL and MFC string conversion macros conversion macros Pin
ForNow13-Aug-13 10:38
MemberForNow13-Aug-13 10:38 
AnswerRe: ATL and MFC string conversion macros conversion macros Pin
Richard MacCutchan13-Aug-13 20:50
mveRichard MacCutchan13-Aug-13 20:50 
Question0x80020009 access rights opentext Pin
ForNow9-Aug-13 10:22
MemberForNow9-Aug-13 10:22 
GeneralRe: 0x80020009 access rights opentext Pin
Richard MacCutchan9-Aug-13 23:34
mveRichard MacCutchan9-Aug-13 23:34 
GeneralRe: 0x80020009 access rights opentext Pin
ForNow12-Aug-13 10:39
MemberForNow12-Aug-13 10:39 
Generalits a text Formatting problem Pin
ForNow13-Aug-13 10:14
MemberForNow13-Aug-13 10:14 

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.