Click here to Skip to main content
15,927,593 members
Home / Discussions / C#
   

C#

 
GeneralDoc to PDF conversion codes... Pin
Member 172116521-Feb-05 0:09
Member 172116521-Feb-05 0:09 
GeneralRe: Doc to PDF conversion codes... Pin
Heath Stewart21-Feb-05 7:20
protectorHeath Stewart21-Feb-05 7:20 
GeneralCOM DCOM multi client model Pin
sokettepower20-Feb-05 23:33
sokettepower20-Feb-05 23:33 
GeneralRe: COM DCOM multi client model Pin
Heath Stewart21-Feb-05 7:09
protectorHeath Stewart21-Feb-05 7:09 
GeneralAny other ways to convert .net to vb 6.0 Pin
montu337720-Feb-05 22:11
montu337720-Feb-05 22:11 
GeneralRe: Any other ways to convert .net to vb 6.0 Pin
Judah Gabriel Himango21-Feb-05 6:11
sponsorJudah Gabriel Himango21-Feb-05 6:11 
GeneralRe: Any other ways to convert .net to vb 6.0 Pin
montu337721-Feb-05 6:16
montu337721-Feb-05 6:16 
GeneralRe: Any other ways to convert .net to vb 6.0 Pin
Heath Stewart21-Feb-05 6:51
protectorHeath Stewart21-Feb-05 6:51 
We've discussed this countless times in this forum and there are articles on this site. To search this forum, click "Search comments" above and search for "interop". For this site, every page has a text box under the logo to search for articles.

You should start learning about COM interop - and more specifically exposing .NET components to COM - by reading Exposing .NET Framework Components to COM[^] in the .NET Framework SDK.

To expose your classes and interfaces correctly, knowledge of COM is useful. Read Interface Design Rules[^]. A friend of mine - Nick Parker - also has an article that is helpful, with some comments I had him add. Read Exposing .NET Components to COM[^]. Basically, never use auto-generated class interfaces, never change published interfaces - add new ones (called versioning interfaces), and always use explicit GuidAttribute values that typically do not change for classes, and that never change for interfaces. You should also use an assembly-level GuidAttribute like so:
[assembly: Guid("Insert guid from guidgen.exe here")]


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]
GeneralSMS Application Pin
A Khan20-Feb-05 22:06
sussA Khan20-Feb-05 22:06 
GeneralRe: SMS Application Pin
Heath Stewart21-Feb-05 6:45
protectorHeath Stewart21-Feb-05 6:45 
QuestionGood security project idea in C#? Pin
Mohammed Aijaz Mohiuddin20-Feb-05 20:22
Mohammed Aijaz Mohiuddin20-Feb-05 20:22 
AnswerRe: Good security project idea in C#? Pin
Mohammed Aijaz Mohiuddin20-Feb-05 20:23
Mohammed Aijaz Mohiuddin20-Feb-05 20:23 
QuestionPanel Layout problem? Pin
Tee+20-Feb-05 16:43
Tee+20-Feb-05 16:43 
GeneralOverride wait cursor Pin
eggie520-Feb-05 16:29
eggie520-Feb-05 16:29 
GeneralI'd like to use the column like the header column in DataGrid Pin
yu-yu20-Feb-05 14:41
yu-yu20-Feb-05 14:41 
GeneralDatasets and Web Services Pin
ronin177020-Feb-05 14:01
ronin177020-Feb-05 14:01 
GeneralRe: Datasets and Web Services Pin
Kodanda Pani20-Feb-05 18:24
Kodanda Pani20-Feb-05 18:24 
GeneralTimer on a new thread Pin
eggie520-Feb-05 12:15
eggie520-Feb-05 12:15 
GeneralRe: Timer on a new thread Pin
S. Senthil Kumar20-Feb-05 13:20
S. Senthil Kumar20-Feb-05 13:20 
GeneralRe: Timer on a new thread Pin
eggie520-Feb-05 14:35
eggie520-Feb-05 14:35 
GeneralRe: Timer on a new thread Pin
eggie520-Feb-05 15:08
eggie520-Feb-05 15:08 
GeneralRe: Timer on a new thread Pin
S. Senthil Kumar20-Feb-05 15:33
S. Senthil Kumar20-Feb-05 15:33 
GeneralRe: Timer on a new thread Pin
eggie520-Feb-05 16:25
eggie520-Feb-05 16:25 
QuestionChecking the attributes of a directory? Pin
Marlun20-Feb-05 11:40
Marlun20-Feb-05 11:40 
QuestionHow to arrange attribute of PropertyGrid Pin
lee meng20-Feb-05 9:44
lee meng20-Feb-05 9:44 

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.