Click here to Skip to main content
15,890,557 members
Home / Discussions / COM
   

COM

 
GeneralActiveX/COM on J# Pin
Maverick23-Dec-04 12:54
Maverick23-Dec-04 12:54 
GeneralCOM Controls Pin
csharp623-Dec-04 7:22
csharp623-Dec-04 7:22 
GeneralSimple (hopefully) event question Pin
__makaveli__21-Dec-04 23:54
__makaveli__21-Dec-04 23:54 
GeneralRe: Simple (hopefully) event question Pin
ThatsAlok22-Dec-04 17:28
ThatsAlok22-Dec-04 17:28 
GeneralRe: Simple (hopefully) event question Pin
__makaveli__6-Jan-05 5:19
__makaveli__6-Jan-05 5:19 
GeneralRe: Simple (hopefully) event question Pin
ThatsAlok6-Jan-05 6:36
ThatsAlok6-Jan-05 6:36 
GeneralRe: Simple (hopefully) event question Pin
__makaveli__6-Jan-05 7:23
__makaveli__6-Jan-05 7:23 
GeneralE_INVALIDARG with EnvDTE::Commands::AddNamedCommand Pin
Franz Klein21-Dec-04 21:35
Franz Klein21-Dec-04 21:35 
I am always getting a return value of E_INVALIDARG when the function AddNamedCommand is called:Cry | :((

CComPtr<envdte::command> pCreatedCommand;

hr = pCommands->AddNamedCommand(m_pAddInInstance, CComBSTR(commandname), CComBSTR(commandtext), CComBSTR(tb_name), VARIANT_FALSE, IDB_LOGO, NULL, EnvDTE::vsCommandStatusSupported+EnvDTE::vsCommandStatusEnabled, &pCreatedCommand);

IDB_LOGO is a 16x16 Bitmap.

I am using Visual Studio .NET 2003 on Win XP SP2. I have looked at the documentation and at other examples but I can't find where I am going wrong. I have exactly the same code as everybody else, but theirs works fine.

Any ideas?

I am the handsome one in the crowd.
GeneralActiveX Control implementation in VB 6 app. Pin
nilesh v chauk21-Dec-04 2:43
nilesh v chauk21-Dec-04 2:43 
GeneralDumb COM Interop question Pin
steve_hocking20-Dec-04 23:15
steve_hocking20-Dec-04 23:15 
GeneralRe: Dumb COM Interop question Pin
steve_hocking20-Dec-04 23:40
steve_hocking20-Dec-04 23:40 
QuestionWIA Automation: how to get video stream? Pin
ralfoide20-Dec-04 10:06
ralfoide20-Dec-04 10:06 
GeneralDigi96/8 microsoft synthesizer Pin
Member 160064319-Dec-04 9:54
Member 160064319-Dec-04 9:54 
GeneralModem_to_Sound_Card Pin
Vova2118-Dec-04 4:04
Vova2118-Dec-04 4:04 
GeneralRe: Modem_to_Sound_Card Pin
ThatsAlok20-Dec-04 0:59
ThatsAlok20-Dec-04 0:59 
GeneralRe: Modem_to_Sound_Card Pin
Anonymous3-Jan-05 8:35
Anonymous3-Jan-05 8:35 
GeneralRe: Modem_to_Sound_Card Pin
ThatsAlok3-Jan-05 16:59
ThatsAlok3-Jan-05 16:59 
GeneralHelp creating CLSID_VideoMixingRenderer9 Pin
c.diamond17-Dec-04 20:41
c.diamond17-Dec-04 20:41 
GeneralRe: Help creating CLSID_VideoMixingRenderer9 Pin
User 21559717-Dec-04 21:05
User 21559717-Dec-04 21:05 
GeneralGet TypeLibID Pin
GDavy16-Dec-04 21:05
GDavy16-Dec-04 21:05 
GeneralRe: Get TypeLibID Pin
geo_m16-Dec-04 22:33
geo_m16-Dec-04 22:33 
GeneralActiveX ctrl not loading in browser Pin
Muhammad Azam16-Dec-04 20:15
Muhammad Azam16-Dec-04 20:15 
GeneralRe: ActiveX ctrl not loading in browser Pin
User 21559717-Dec-04 0:07
User 21559717-Dec-04 0:07 
GeneralRe: ActiveX ctrl not loading in browser Pin
Muhammad Azam19-Dec-04 17:22
Muhammad Azam19-Dec-04 17:22 
GeneralDCOM - COM and eVC++ Pin
GDavy16-Dec-04 9:03
GDavy16-Dec-04 9:03 

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.