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

C#

 
GeneralRe: programatically creating control instances Pin
Pyro Joe25-Dec-05 5:33
Pyro Joe25-Dec-05 5:33 
QuestionHow start a application at beginning windows(about registry) Pin
Developer_124-Dec-05 14:35
Developer_124-Dec-05 14:35 
AnswerRe: How start a application at beginning windows(about registry) Pin
Developer_124-Dec-05 21:52
Developer_124-Dec-05 21:52 
AnswerRe: How start a application at beginning windows(about registry) Pin
S. Senthil Kumar25-Dec-05 1:38
S. Senthil Kumar25-Dec-05 1:38 
QuestionVoice input in C# Pin
rajajee24-Dec-05 6:03
rajajee24-Dec-05 6:03 
QuestionNeed help for Parsing HTML Pin
dr_hema24-Dec-05 6:03
dr_hema24-Dec-05 6:03 
QuestionGetting .NET types programaticly? Pin
mikker_12324-Dec-05 3:09
mikker_12324-Dec-05 3:09 
AnswerRe: Getting .NET types programaticly? Pin
[Marc]24-Dec-05 4:19
[Marc]24-Dec-05 4:19 
The NetType you're talking about is actually System.Type[^] . You can get it using Object.GetType[^], Assembly.GetTypes[^] etc. For example, if you want to fill a combobox with all public types in your assembly, you can do:
using System.Reflection;

private void InitializeTypes(){
  cmbBlah.Items.Clear();

  // Get current assembly
  Assembly currentAss = Assembly.GetCurrentAssembly();
  // Get all public types from the assembly
  Type[] publicTypes = currentAss.GetExportedTypes();

  foreach (Type type in publicTypes){
    cmbBlah.Items.Add(type.ToString());
  }
}

Welcome to the wonderful world of reflection! Smile | :)

Merry Christmas! Jig | [Dance]
"..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.."
-- Mark McCormick

QuestionASync Sockets Throwing Strange Exception Pin
ColonelSanders24-Dec-05 2:21
ColonelSanders24-Dec-05 2:21 
AnswerRe: ASync Sockets Throwing Strange Exception Pin
ColonelSanders24-Dec-05 18:00
ColonelSanders24-Dec-05 18:00 
QuestionColoring rows in DataGrid Pin
Yoyosch23-Dec-05 23:22
Yoyosch23-Dec-05 23:22 
Questiontransfer my inbox mails to database Pin
sreesiri23-Dec-05 19:22
sreesiri23-Dec-05 19:22 
QuestionSend File Pin
flysky61823-Dec-05 17:25
flysky61823-Dec-05 17:25 
AnswerRe: Send File Pin
HakunaMatada23-Dec-05 17:34
HakunaMatada23-Dec-05 17:34 
AnswerRe: Send File Pin
Developer_124-Dec-05 11:43
Developer_124-Dec-05 11:43 
QuestionIntentionally Slowing Down Program Pin
Drausin23-Dec-05 11:01
Drausin23-Dec-05 11:01 
AnswerRe: Intentionally Slowing Down Program Pin
HakunaMatada23-Dec-05 17:41
HakunaMatada23-Dec-05 17:41 
GeneralRe: Intentionally Slowing Down Program Pin
Colin Angus Mackay24-Dec-05 2:49
Colin Angus Mackay24-Dec-05 2:49 
AnswerRe: Intentionally Slowing Down Program Pin
mav.northwind23-Dec-05 20:31
mav.northwind23-Dec-05 20:31 
AnswerRe: Intentionally Slowing Down Program Pin
[Marc]24-Dec-05 2:33
[Marc]24-Dec-05 2:33 
GeneralRe: Intentionally Slowing Down Program Pin
Drausin27-Dec-05 6:31
Drausin27-Dec-05 6:31 
QuestionBinaryWriter is Not writing in Case of .sql files Pin
VenkataRamana.Gali23-Dec-05 9:14
VenkataRamana.Gali23-Dec-05 9:14 
AnswerRe: BinaryWriter is Not writing in Case of .sql files Pin
Rob Graham24-Dec-05 11:53
Rob Graham24-Dec-05 11:53 
QuestionIs remote service running? Pin
picasso223-Dec-05 9:12
picasso223-Dec-05 9:12 
AnswerRe: Is remote service running? Pin
HakunaMatada23-Dec-05 17:43
HakunaMatada23-Dec-05 17:43 

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.