Click here to Skip to main content
14,971,742 members
Home / Discussions / C#
   

C#

 
Questionhow add context help by pressing F1 key Pin
sikandarhayat12-Oct-06 20:51
Membersikandarhayat12-Oct-06 20:51 
AnswerRe: how add context help by pressing F1 key Pin
Stefan Troschuetz12-Oct-06 21:09
MemberStefan Troschuetz12-Oct-06 21:09 
Questiongetting a avi resource Pin
Parshant Verma12-Oct-06 20:40
MemberParshant Verma12-Oct-06 20:40 
AnswerRe: getting a avi resource Pin
AB777112-Oct-06 21:56
MemberAB777112-Oct-06 21:56 
QuestionUse .Net library in C++ Pin
Ward12-Oct-06 20:13
MemberWard12-Oct-06 20:13 
AnswerRe: Use .Net library in C++ Pin
quiteSmart12-Oct-06 20:54
MemberquiteSmart12-Oct-06 20:54 
AnswerRe: Use .Net library in C++ Pin
Nader Elshehabi13-Oct-06 13:02
MemberNader Elshehabi13-Oct-06 13:02 
GeneralRe: Use .Net library in C++ Pin
Ward15-Oct-06 20:40
MemberWard15-Oct-06 20:40 
I've searched some documentation and I was able to do it.
The trick is to register the .Net dll as a COM server.
But to be able to register it as a COM server you must first have a tlb file of it.
This tlb file you can create with the visual studio tool tlbexp.exe.
From the command prompt:

tlbexp dotNET.dll /win32 /out:dotNET.tlb

Once you have the tlb file you can use regasm to register the .Net dll as a COM server. You will not be able to run regasm from the windows command prompt. You must launch the visual studio command prompt to do this.
In the visual studio command prompt type:

regasm dotNET.dll /tlb:dotNET.tlb

From this point you can use the classes and functions of the .Net dll is whatever language that understands COM.

Kind regards,




GeneralRe: Use .Net library in C++ Pin
Nader Elshehabi16-Oct-06 4:09
MemberNader Elshehabi16-Oct-06 4:09 
QuestionSetting a form onto a panel. Pin
JacquesDP12-Oct-06 20:12
MemberJacquesDP12-Oct-06 20:12 
AnswerRe: Setting a form onto a panel. Pin
AB777112-Oct-06 20:38
MemberAB777112-Oct-06 20:38 
GeneralRe: Setting a form onto a panel. Pin
JacquesDP12-Oct-06 21:11
MemberJacquesDP12-Oct-06 21:11 
GeneralRe: Setting a form onto a panel. Pin
AB777112-Oct-06 21:52
MemberAB777112-Oct-06 21:52 
AnswerRe: Setting a form onto a panel. Pin
Andrei Ungureanu12-Oct-06 21:17
MemberAndrei Ungureanu12-Oct-06 21:17 
GeneralRe: Setting a form onto a panel. Pin
JacquesDP12-Oct-06 21:38
MemberJacquesDP12-Oct-06 21:38 
GeneralRe: Setting a form onto a panel. Pin
AB777112-Oct-06 21:52
MemberAB777112-Oct-06 21:52 
GeneralRe: Setting a form onto a panel. Pin
JacquesDP12-Oct-06 22:07
MemberJacquesDP12-Oct-06 22:07 
GeneralRe: Setting a form onto a panel. Pin
AB777112-Oct-06 22:30
MemberAB777112-Oct-06 22:30 
AnswerRe: Setting a form onto a panel. Pin
darkelv12-Oct-06 23:16
Memberdarkelv12-Oct-06 23:16 
GeneralRe: Setting a form onto a panel. Pin
JacquesDP12-Oct-06 23:49
MemberJacquesDP12-Oct-06 23:49 
Questionhow to find registry of com coponents Pin
vinay_inavolu12-Oct-06 19:46
Membervinay_inavolu12-Oct-06 19:46 
AnswerRe: how to find registry of com coponents Pin
mav.northwind12-Oct-06 20:02
Membermav.northwind12-Oct-06 20:02 
GeneralRe: how to find registry of com coponents Pin
vinay_inavolu12-Oct-06 20:29
Membervinay_inavolu12-Oct-06 20:29 
GeneralRe: how to find registry of com coponents Pin
mav.northwind13-Oct-06 0:48
Membermav.northwind13-Oct-06 0:48 
GeneralRe: how to find registry of com coponents Pin
vinay_inavolu13-Oct-06 1:21
Membervinay_inavolu13-Oct-06 1:21 

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.