Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: Recomended Data Store... Pin
Steve McLenithan8-Nov-02 12:00
Steve McLenithan8-Nov-02 12:00 
GeneralNeed Help!!! C# Interfaces and C++ Classes Pin
Chris Powers8-Nov-02 1:51
Chris Powers8-Nov-02 1:51 
QuestionHow do i find if user clik "ok" on my Modal Dialog? Pin
Karavaev Denis8-Nov-02 0:54
Karavaev Denis8-Nov-02 0:54 
AnswerRe: How do i find if user clik "ok" on my Modal Dialog? Pin
Chad Smith8-Nov-02 3:30
professionalChad Smith8-Nov-02 3:30 
GeneralRe: How do i find if user clik "ok" on my Modal Dialog? Pin
Karavaev Denis8-Nov-02 3:46
Karavaev Denis8-Nov-02 3:46 
GeneralScroll Listbox with API Pin
CristianRicciolo7-Nov-02 23:32
CristianRicciolo7-Nov-02 23:32 
GeneralComponent based programming in C# (newbie!) Pin
AaronStibich7-Nov-02 16:41
AaronStibich7-Nov-02 16:41 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker7-Nov-02 17:44
protectorNick Parker7-Nov-02 17:44 
AaronStibich wrote:
This has two problems: you cannot register your interface (tlb's can be registered) and it is editable(I like giving out tlb's, knowing that the interface won't be tampered with). Can you still use idl in C#? Can you import tlb's?

The .cs file is just the source like a .cpp file with VC++. You will compile your code into an assembly .dll. Under the .NET Framework there are no IDL files.

AaronStibich wrote:
We register our COM components using a registry groups. This allows us to programmatically query the registry for a list of our company's servers. It is very important for us to be able to filter the registry contents in this way. I think I understand that the global assembly cache now replaces the registry, but I don't see a way to programattically search it, much less search it with a group filter.

All strongly named assemblies can be installed within the GAC (Global Assembly Cache). This would allow you to install (for example) 4 different versions of myCode.dll and they are all still accessable. I will have an article coming up soon explain more on this. You may be able to expose the meta data somehow, not sure right now.

AaronStibich wrote:
We currently create our servers in the MTA for performance reasons, and because it's more deterministic. Is there a MTA\STA concept in .Net? Is there still a message pump?

There has been a lot of fuss of deterministic finalization, most people say that it no longer exists. The .NET Framework implements garbage collection so this is kind of a touchy subject. You can override the WndProc like this:

protected override void WndProc(ref System.Windows.Forms.Message m)
{
                <font color="green">//....your stuff here..</font>
    base.WndProc(ref m);
}


Hope this helps some. Smile | :)



Nick Parker

May your glass be ever full.
May the roof over your head be always strong.
And may you be in heaven half an hour before the devil knows you’re dead. - Irish Blessing



GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.7-Nov-02 19:11
Stephane Rodriguez.7-Nov-02 19:11 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker8-Nov-02 1:54
protectorNick Parker8-Nov-02 1:54 
GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.8-Nov-02 2:26
Stephane Rodriguez.8-Nov-02 2:26 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker8-Nov-02 3:36
protectorNick Parker8-Nov-02 3:36 
GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.8-Nov-02 3:45
Stephane Rodriguez.8-Nov-02 3:45 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker8-Nov-02 17:20
protectorNick Parker8-Nov-02 17:20 
GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.8-Nov-02 19:26
Stephane Rodriguez.8-Nov-02 19:26 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker9-Nov-02 2:07
protectorNick Parker9-Nov-02 2:07 
General.INI file usage in C# Pin
Darryl Borden7-Nov-02 11:54
Darryl Borden7-Nov-02 11:54 
GeneralRe: .INI file usage in C# Pin
Nick Parker7-Nov-02 13:20
protectorNick Parker7-Nov-02 13:20 
GeneralBy the way, ... Pin
Anonymous7-Nov-02 20:33
Anonymous7-Nov-02 20:33 
GeneralRe: By the way, ... Pin
Nick Parker8-Nov-02 3:40
protectorNick Parker8-Nov-02 3:40 
GeneralRe: .INI file usage in C# Pin
Karavaev Denis8-Nov-02 1:10
Karavaev Denis8-Nov-02 1:10 
GeneralClass/Collection tutorial Pin
hammackj7-Nov-02 10:34
hammackj7-Nov-02 10:34 
GeneralBeginner Q: How to create a splash screen Pin
matthias s.7-Nov-02 8:28
matthias s.7-Nov-02 8:28 
GeneralRe: Beginner Q: How to create a splash screen Pin
Daniel Turini7-Nov-02 8:43
Daniel Turini7-Nov-02 8:43 
GeneralRe: Beginner Q: How to create a splash screen Pin
matthias s.8-Nov-02 0:29
matthias s.8-Nov-02 0: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.