Click here to Skip to main content
15,672,471 members
Home / Discussions / C#
   

C#

 
Generallock and entrancy Pin
Reno Tiko30-Sep-02 16:23
Reno Tiko30-Sep-02 16:23 
GeneralRe: lock and entrancy Pin
Eric Gunnerson (msft)1-Oct-02 11:50
Eric Gunnerson (msft)1-Oct-02 11:50 
GeneralRe: lock and entrancy Pin
Reno Tiko1-Oct-02 17:55
Reno Tiko1-Oct-02 17:55 
GeneralDistributing a C# App??? No Setup Tool Pin
Jon E30-Sep-02 16:03
Jon E30-Sep-02 16:03 
GeneralRe: Distributing a C# App??? No Setup Tool Pin
James T. Johnson30-Sep-02 16:24
James T. Johnson30-Sep-02 16:24 
Generalequivalent of VB's CreateObject in C#?... Pin
CherezZaboro30-Sep-02 8:17
CherezZaboro30-Sep-02 8:17 
GeneralRe: equivalent of VB's CreateObject in C#?... Pin
Paul Riley30-Sep-02 8:28
Paul Riley30-Sep-02 8:28 
GeneralRe: equivalent of VB's CreateObject in C#?... Pin
Richard Deeming1-Oct-02 0:45
mveRichard Deeming1-Oct-02 0:45 
Paul Riley wrote:
Have a look at System.Activator

And combine with Type.GetTypeFromCLSID or Type.GetTypeFromProgID.

object CreateObject(string progID)
{
    Type T = Type.GetTypeFromProgID(progID, true);
    return Activator.CreateInstance(T);
}
object CreateObject(string progID, string server)
{
    Type T = Type.GetTypeFromProgID(progID, server, true);
    return Activator.CreateInstance(T);
}

GeneralTooltips by rectangle Pin
Nnamdi Onyeyiri30-Sep-02 6:41
Nnamdi Onyeyiri30-Sep-02 6:41 
GeneralRe: Tooltips by rectangle Pin
Stephane Rodriguez.30-Sep-02 7:05
Stephane Rodriguez.30-Sep-02 7:05 
GeneralRe: Tooltips by rectangle Pin
Nnamdi Onyeyiri30-Sep-02 7:09
Nnamdi Onyeyiri30-Sep-02 7:09 
GeneralSerial Number Field Pin
Nic Oughton30-Sep-02 5:12
professionalNic Oughton30-Sep-02 5:12 
GeneralRe: Serial Number Field Pin
leppie30-Sep-02 5:40
leppie30-Sep-02 5:40 
GeneralRe: Serial Number Field Pin
Nic Oughton30-Sep-02 6:04
professionalNic Oughton30-Sep-02 6:04 
GeneralRe: Serial Number Field Pin
leppie30-Sep-02 7:58
leppie30-Sep-02 7:58 
Generalblinking listbox Pin
Darryl Borden30-Sep-02 4:10
Darryl Borden30-Sep-02 4:10 
GeneralRe: blinking listbox Pin
Stephane Rodriguez.30-Sep-02 4:33
Stephane Rodriguez.30-Sep-02 4:33 
GeneralRe: blinking listbox Pin
Darryl Borden30-Sep-02 5:09
Darryl Borden30-Sep-02 5:09 
GeneralRe: blinking listbox Pin
Darryl Borden30-Sep-02 5:50
Darryl Borden30-Sep-02 5:50 
GeneralRe: blinking listbox Pin
Stephane Rodriguez.30-Sep-02 6:00
Stephane Rodriguez.30-Sep-02 6:00 
GeneralImage Class Refresh Problems Pin
Ceri30-Sep-02 3:46
Ceri30-Sep-02 3:46 
GeneralAssembly Pin
Jinwah29-Sep-02 22:05
Jinwah29-Sep-02 22:05 
GeneralRe: Assembly Pin
Stephane Rodriguez.29-Sep-02 22:18
Stephane Rodriguez.29-Sep-02 22:18 
GeneralRe: Assembly Pin
leppie29-Sep-02 22:57
leppie29-Sep-02 22:57 
GeneralRe: Assembly Pin
Jinwah30-Sep-02 0:10
Jinwah30-Sep-02 0:10 

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.