Click here to Skip to main content
16,006,001 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using both .NET caching and generic list. Pin
Guffa22-May-08 9:58
Guffa22-May-08 9:58 
GeneralRe: Using both .NET caching and generic list. Pin
Steve Holdorf22-May-08 11:04
Steve Holdorf22-May-08 11:04 
QuestionInvoke C# Method in VB Script Pin
Arun Abraham Jose22-May-08 2:57
Arun Abraham Jose22-May-08 2:57 
AnswerRe: Invoke C# Method in VB Script Pin
Christian Graus22-May-08 2:58
protectorChristian Graus22-May-08 2:58 
GeneralRe: Invoke C# Method in VB Script Pin
Arun Abraham Jose22-May-08 3:11
Arun Abraham Jose22-May-08 3:11 
GeneralRe: Invoke C# Method in VB Script Pin
Christian Graus22-May-08 3:13
protectorChristian Graus22-May-08 3:13 
GeneralRe: Invoke C# Method in VB Script Pin
Arun Abraham Jose22-May-08 3:53
Arun Abraham Jose22-May-08 3:53 
GeneralRe: Invoke C# Method in VB Script Pin
The Nightcoder22-May-08 4:31
The Nightcoder22-May-08 4:31 
Hi!

Deep under the "Visual Studio" part of the documentation there is a chapter named "Exposing .NET Framework Components to COM" (under ".NET Framework Development...", ".NET Framework Advanced Development", "Interoperability", "Interoperating with Unmanaged Code"). You will find your options there, under "Registering Assemblies with COM". Or google that for the MSDN location of the piece.

The tool you use (corresponds to regsvr32) is regasm. The other settings you have made should cover the rest of what is needed. Additionally, you can use the ClassInterface, ProgId and Guid attributes on your class if you want to override the defaults (look them up in the docs). As long as you only call your component via late binding (using COM, that is), you needn't worry about versioning (script engines are by definition late bound).

Hope this helped.

--
Peter

GeneralRe: Invoke C# Method in VB Script Pin
Guffa22-May-08 3:37
Guffa22-May-08 3:37 
GeneralRe: Invoke C# Method in VB Script Pin
Arun Abraham Jose22-May-08 3:57
Arun Abraham Jose22-May-08 3:57 
GeneralRe: Invoke C# Method in VB Script Pin
Arun Abraham Jose22-May-08 4:32
Arun Abraham Jose22-May-08 4:32 
QuestionDrawToBitmap C# Pin
omlac22-May-08 1:14
omlac22-May-08 1:14 
AnswerRe: DrawToBitmap C# Pin
Shree22-May-08 1:32
Shree22-May-08 1:32 
GeneralRe: DrawToBitmap C# Pin
topcatalpha22-May-08 4:54
topcatalpha22-May-08 4:54 
AnswerRe: DrawToBitmap C# Pin
Gareth H22-May-08 2:17
Gareth H22-May-08 2:17 
GeneralRe: DrawToBitmap C# Pin
omlac22-May-08 21:01
omlac22-May-08 21:01 
AnswerRe: DrawToBitmap C# Pin
Reelix22-May-08 2:48
Reelix22-May-08 2:48 
GeneralRe: DrawToBitmap C# Pin
omlac22-May-08 21:53
omlac22-May-08 21:53 
GeneralRe: DrawToBitmap C# Pin
omlac22-May-08 22:58
omlac22-May-08 22:58 
GeneralRe: DrawToBitmap C# Pin
Member 31442519-Jun-11 23:50
Member 31442519-Jun-11 23:50 
QuestionExporting Functionality in C#.Net Pin
janak@tatva22-May-08 1:07
janak@tatva22-May-08 1:07 
AnswerRe: Exporting Functionality in C#.Net Pin
Ashfield22-May-08 1:27
Ashfield22-May-08 1:27 
GeneralRe: Exporting Functionality in C#.Net Pin
janak@tatva22-May-08 1:34
janak@tatva22-May-08 1:34 
GeneralRe: Exporting Functionality in C#.Net Pin
Ashfield22-May-08 2:04
Ashfield22-May-08 2:04 
AnswerRe: Exporting Functionality in C#.Net Pin
Laddie22-May-08 1:29
Laddie22-May-08 1:29 

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.