Click here to Skip to main content
15,902,938 members
Home / Discussions / C#
   

C#

 
GeneralRe: datagrid and DialogResult.OK Pin
xrado9-Mar-05 0:02
xrado9-Mar-05 0:02 
GeneralObject Viewer Pin
RohanWest8-Mar-05 23:23
RohanWest8-Mar-05 23:23 
GeneralRe: Object Viewer Pin
TylerBrinks9-Mar-05 6:12
TylerBrinks9-Mar-05 6:12 
GeneralRe: Object Viewer Pin
RohanWest9-Mar-05 6:17
RohanWest9-Mar-05 6:17 
GeneralRe: Object Viewer Pin
TylerBrinks9-Mar-05 6:40
TylerBrinks9-Mar-05 6:40 
GeneralRe: Object Viewer Pin
Heath Stewart9-Mar-05 7:22
protectorHeath Stewart9-Mar-05 7:22 
GeneralDelphi / C# COM w/ EL Crypto Pin
Prof AKA8-Mar-05 22:43
Prof AKA8-Mar-05 22:43 
GeneralRe: Delphi / C# COM w/ EL Crypto Pin
Heath Stewart9-Mar-05 7:14
protectorHeath Stewart9-Mar-05 7:14 
Exposing .NET Framework components to COM should not be taken lightly. Never use auto-generated interfaces, always attributes your classes and interfaces with distinct GuidAttribute values, and many more things I've said in the past, which you can find by clicking "Search comments" above and search for "com interop". You should also read Exposing .NET Components to COM[^] here on CodeProject. When not using auto-generated class interfaces (which can lead to invalid VTBL binding or using the wrong cached dispatch IDs, if appropriate) you must declare the interface yourself and implement the class interface as the first interface in the interface implementation list when declaring your class.

Once you have followed these rules, so that your CLSIDs and IIDs don't change every time you compile (it's hard to hit a moving target, which is what you're doing now), you need to run either "regasm.exe assembly" is assembly is in the GAC, or "regasm.exe /codebase assembly" if not, which registers the full path to assembly in the InProcServer32 registry key for the CLSID in the registery.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
QuestionHow to do I Print data Row in Database Table using C#.? Pin
pubududilena8-Mar-05 20:52
pubududilena8-Mar-05 20:52 
AnswerRe: How to do I Print data Row in Database Table using C#.? Pin
Heath Stewart9-Mar-05 7:09
protectorHeath Stewart9-Mar-05 7:09 
GeneralRetrieving extended file properties Pin
Vlad Judys8-Mar-05 18:30
Vlad Judys8-Mar-05 18:30 
GeneralRe: Retrieving extended file properties Pin
Heath Stewart9-Mar-05 6:41
protectorHeath Stewart9-Mar-05 6:41 
GeneralRe: Retrieving extended file properties Pin
lil dracula9-Mar-05 7:55
susslil dracula9-Mar-05 7:55 
Question[VS .NET] Drag & Drop into Solution Explorer? Pin
spacebass50008-Mar-05 17:59
spacebass50008-Mar-05 17:59 
AnswerRe: [VS .NET] Drag & Drop into Solution Explorer? Pin
Heath Stewart9-Mar-05 6:23
protectorHeath Stewart9-Mar-05 6:23 
GeneralRe: [VS .NET] Drag & Drop into Solution Explorer? Pin
spacebass50009-Mar-05 6:30
spacebass50009-Mar-05 6:30 
GeneralRe: [VS .NET] Drag & Drop into Solution Explorer? Pin
Heath Stewart9-Mar-05 7:48
protectorHeath Stewart9-Mar-05 7:48 
GeneralRe: [VS .NET] Drag & Drop into Solution Explorer? Pin
spacebass50009-Mar-05 8:44
spacebass50009-Mar-05 8:44 
GeneralRe: [VS .NET] Drag & Drop into Solution Explorer? Pin
Heath Stewart9-Mar-05 9:47
protectorHeath Stewart9-Mar-05 9:47 
QuestionHow to do a balloon tip in a tray icon in C# Pin
howardsilver8-Mar-05 17:41
howardsilver8-Mar-05 17:41 
AnswerRe: How to do a balloon tip in a tray icon in C# Pin
TylerBrinks9-Mar-05 6:05
TylerBrinks9-Mar-05 6:05 
AnswerRe: How to do a balloon tip in a tray icon in C# Pin
Kasdoffe9-Mar-05 6:09
Kasdoffe9-Mar-05 6:09 
GeneralExpriences Pin
Toan Thang8-Mar-05 16:49
Toan Thang8-Mar-05 16:49 
GeneralRe: Expriences Pin
Chua Wen Ching8-Mar-05 23:34
Chua Wen Ching8-Mar-05 23:34 
Generalwrap a dll into another dll Pin
ppp0018-Mar-05 15:28
ppp0018-Mar-05 15:28 

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.