Click here to Skip to main content
15,887,083 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: incremental installation of C# application Pin
ting66814-Jun-04 15:52
ting66814-Jun-04 15:52 
QuestionStoring Trace/Debug Entries in Memory? Pin
llyal200010-Jun-04 13:48
llyal200010-Jun-04 13:48 
AnswerRe: Storing Trace/Debug Entries in Memory? Pin
Heath Stewart13-Jun-04 19:26
protectorHeath Stewart13-Jun-04 19:26 
GeneralRe: Storing Trace/Debug Entries in Memory? Pin
llyal200013-Jun-04 22:16
llyal200013-Jun-04 22:16 
Generalnewbie trying to register TLB, COM DLL and .NET DLL for Interop Pin
sabushadi10-Jun-04 7:25
sabushadi10-Jun-04 7:25 
GeneralRe: newbie trying to register TLB, COM DLL and .NET DLL for Interop Pin
Heath Stewart13-Jun-04 19:31
protectorHeath Stewart13-Jun-04 19:31 
GeneralRe: newbie trying to register TLB, COM DLL and .NET DLL for Interop Pin
sherif13-Jun-04 19:53
sherif13-Jun-04 19:53 
GeneralRe: newbie trying to register TLB, COM DLL and .NET DLL for Interop Pin
Heath Stewart13-Jun-04 19:58
protectorHeath Stewart13-Jun-04 19:58 
sherif wrote:
Doesn't this mean I have to recompile the VB6 COM (yes, you were right) DLL again?

No. When you compiled the assembly, if GuidAttributes weren't used the internal GUID of the type that is generated at compile-time is used and will not change so long as you don't recompile the project. If you do, then you will need to re-add the typelib to the VB COM DLL and recompile it. This is another good reason to use the GuidAttribute for any COM-visible (read about the ComVisibleAttribute in the .NET Framework SDK) type. Class GUIDs (CLSIDs) should almost never change, and interface GUIDs (IIDs) should change from version to version (which means that interfaces - once published - should never change definitions; just inherit from the old interface with a new one and implement the new interface as the first interface for your class).

If you're looking to improve your COM interop skills, I suggest you pick up a good book on COM interop with .NET. I know that Microsoft Press[^] has one or two (I don't know how good they are - I learned all this through many years of experience with COM and as many years possible with .NET) and I'm betting there's a few more from other publishers you can find on Amazon[^] or something.

 

Microsoft MVP, Visual C#
My Articles
QuestionHow to Set the Window Class Name of a Windows Form App? Pin
Matt Gerrans10-Jun-04 7:06
Matt Gerrans10-Jun-04 7:06 
AnswerRe: How to Set the Window Class Name of a Windows Form App? Pin
Heath Stewart13-Jun-04 19:50
protectorHeath Stewart13-Jun-04 19:50 
GeneralRe: How to Set the Window Class Name of a Windows Form App? Pin
Matt Gerrans16-Jun-04 10:18
Matt Gerrans16-Jun-04 10:18 
GeneralRe: How to Set the Window Class Name of a Windows Form App? Pin
Heath Stewart16-Jun-04 10:21
protectorHeath Stewart16-Jun-04 10:21 
GeneralWindows service problem accessing network share Pin
Member 116497710-Jun-04 6:03
Member 116497710-Jun-04 6:03 
GeneralRe: Windows service problem accessing network share Pin
Heath Stewart13-Jun-04 19:39
protectorHeath Stewart13-Jun-04 19:39 
Generallocalizing bitmaps Pin
klawipo10-Jun-04 1:42
klawipo10-Jun-04 1:42 
GeneralRe: localizing bitmaps Pin
Heath Stewart13-Jun-04 19:36
protectorHeath Stewart13-Jun-04 19:36 
GeneralProblem with serializing objects Pin
Marco M.9-Jun-04 23:02
Marco M.9-Jun-04 23:02 
GeneralRe: Problem with serializing objects Pin
Vega0210-Jun-04 17:36
Vega0210-Jun-04 17:36 
QuestionHow to obtain appconfig file name Pin
peshkov9-Jun-04 22:19
peshkov9-Jun-04 22:19 
AnswerRe: How to obtain appconfig file name Pin
Heath Stewart13-Jun-04 19:51
protectorHeath Stewart13-Jun-04 19:51 
Generaldynamic loading Pin
ting6689-Jun-04 16:13
ting6689-Jun-04 16:13 
GeneralRe: dynamic loading Pin
Richard Jones7-Jul-04 2:57
Richard Jones7-Jul-04 2:57 
GeneralSaving image as JPEG - best possible quality Pin
michalJ9-Jun-04 11:42
michalJ9-Jun-04 11:42 
Generalregasm fails, cannot load type Pin
Steven Campbell9-Jun-04 6:25
Steven Campbell9-Jun-04 6:25 
GeneralRe: regasm fails, cannot load type Pin
klawipo10-Jun-04 1:30
klawipo10-Jun-04 1:30 

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.