Click here to Skip to main content
15,907,149 members
Home / Discussions / C#
   

C#

 
GeneralRe: Collections Pin
Heath Stewart20-Feb-04 13:18
protectorHeath Stewart20-Feb-04 13:18 
QuestionHow to make a Text Box only Numbers Pin
gr8tushar20-Feb-04 8:06
gr8tushar20-Feb-04 8:06 
AnswerRe: How to make a Text Box only Numbers Pin
Werdna20-Feb-04 8:31
Werdna20-Feb-04 8:31 
AnswerRe: How to make a Text Box only Numbers Pin
Judah Gabriel Himango20-Feb-04 8:34
sponsorJudah Gabriel Himango20-Feb-04 8:34 
GeneralParsers Pin
Husein20-Feb-04 7:40
Husein20-Feb-04 7:40 
GeneralRe: Parsers Pin
Werdna20-Feb-04 8:26
Werdna20-Feb-04 8:26 
GeneralUse an ACtiveX in my .NET application Pin
Mazdak20-Feb-04 2:56
Mazdak20-Feb-04 2:56 
GeneralRe: Use an ACtiveX in my .NET application Pin
Heath Stewart20-Feb-04 3:18
protectorHeath Stewart20-Feb-04 3:18 
It doesn't matter in which language a COM component was written, just like it doesn't matter in which language a .NET assembly was written (for different reasons, but similar in concept).

If you're adding an ActiveX control the correct way is through the toolbox. Customize your toolbox (for example, the Windows Forms or Components tab when a dialog or control is open in the designer) and find it in there. If it's not in there, then it does have to be registered. Adding a reference to your project is more for typelibs (similar to tlbimp.exe), where customizing your toolbox and dragging it on a design surface in your managed project will create an actual control wrapper (simimlar to aximp.exe), derived from AxHost. The latter still creates the typelib interop assembly as well.

Find the COM library and run the following:
regsvr32.exe Library.ext
That will call the DllRegisterServer export. If you wedge a /u in between, it will call DllUnregisterServer and unregister your library.

Note also that the .lib (static library) and .exp (exports) files won't make a difference. These are really only useful in C/C++ applications (during the linking process).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Use an ACtiveX in my .NET application Pin
Mazdak20-Feb-04 4:26
Mazdak20-Feb-04 4:26 
GeneralRe: Use an ACtiveX in my .NET application Pin
Heath Stewart20-Feb-04 6:23
protectorHeath Stewart20-Feb-04 6:23 
GeneralRe: Use an ACtiveX in my .NET application Pin
Mazdak20-Feb-04 9:16
Mazdak20-Feb-04 9:16 
GeneralRe: Use an ACtiveX in my .NET application Pin
Heath Stewart20-Feb-04 10:10
protectorHeath Stewart20-Feb-04 10:10 
GeneralRe: Use an ACtiveX in my .NET application Pin
Mazdak20-Feb-04 3:25
Mazdak20-Feb-04 3:25 
GeneralListing files&folders on a server Pin
CWIZO20-Feb-04 1:31
CWIZO20-Feb-04 1:31 
GeneralRe: Listinf files&folders on a server Pin
Mazdak20-Feb-04 1:54
Mazdak20-Feb-04 1:54 
GeneralRe: Listing files&folders on a server Pin
CWIZO20-Feb-04 2:01
CWIZO20-Feb-04 2:01 
GeneralRe: Listing files&folders on a server Pin
Mazdak20-Feb-04 2:10
Mazdak20-Feb-04 2:10 
GeneralRe: Listing files&folders on a server Pin
Mazdak20-Feb-04 2:15
Mazdak20-Feb-04 2:15 
GeneralRe: Listing files&folders on a server Pin
CWIZO20-Feb-04 3:33
CWIZO20-Feb-04 3:33 
GeneralRe: Listing files&folders on a server Pin
Mazdak20-Feb-04 3:45
Mazdak20-Feb-04 3:45 
GeneralRe: Listing files&folders on a server Pin
CWIZO20-Feb-04 9:58
CWIZO20-Feb-04 9:58 
GeneralOwner drawn Menu Items Pin
Katalin20-Feb-04 0:20
Katalin20-Feb-04 0:20 
GeneralRe: Owner drawn Menu Items Pin
Heath Stewart20-Feb-04 3:30
protectorHeath Stewart20-Feb-04 3:30 
GeneralRe: Owner drawn Menu Items Pin
Katalin20-Feb-04 4:28
Katalin20-Feb-04 4:28 
GeneralRe: Owner drawn Menu Items Pin
Heath Stewart20-Feb-04 6:14
protectorHeath Stewart20-Feb-04 6:14 

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.