Click here to Skip to main content
15,900,589 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to show a bookmarked position in default browser? Pin
Luc Pattyn10-Jul-07 2:46
sitebuilderLuc Pattyn10-Jul-07 2:46 
GeneralRe: How to show a bookmarked position in default browser? Pin
mav.northwind10-Jul-07 3:34
mav.northwind10-Jul-07 3:34 
GeneralRe: How to show a bookmarked position in default browser? Pin
Luc Pattyn10-Jul-07 4:00
sitebuilderLuc Pattyn10-Jul-07 4:00 
GeneralRe: How to show a bookmarked position in default browser? Pin
mav.northwind10-Jul-07 4:24
mav.northwind10-Jul-07 4:24 
QuestionGeneric parameter/reflection problem Pin
Bekjong10-Jul-07 1:46
Bekjong10-Jul-07 1:46 
AnswerRe: Generic parameter/reflection problem Pin
Pete O'Hanlon10-Jul-07 1:59
mvePete O'Hanlon10-Jul-07 1:59 
GeneralRe: Generic parameter/reflection problem Pin
Bekjong10-Jul-07 2:08
Bekjong10-Jul-07 2:08 
GeneralRe: Generic parameter/reflection problem Pin
Pete O'Hanlon10-Jul-07 2:32
mvePete O'Hanlon10-Jul-07 2:32 
I don't understand why you would want to do this in this way. As I stated before, generics are really handled at compile time. I knocked up the following quick routine to get a form.
namespace GenericForms
{
  public static class TestForms
  {
    public static Form ShowForm(string formName)
    {
      return (Form)Activator.CreateInstance(Type.GetType(formName));
    }
  }
}
Calling this becomes as simple as GenericForms.TestForms.ShowForm("Form1").ShowDialog();.

Please visit http://www.readytogiveup.com/ and do something special today.
Deja View - the feeling that you've seen this post before.

GeneralRe: Generic parameter/reflection problem Pin
Bekjong10-Jul-07 2:41
Bekjong10-Jul-07 2:41 
AnswerRe: Generic parameter/reflection problem Pin
Chintan.Desai10-Jul-07 2:08
Chintan.Desai10-Jul-07 2:08 
GeneralRe: Generic parameter/reflection problem Pin
Bekjong10-Jul-07 2:22
Bekjong10-Jul-07 2:22 
GeneralRe: Generic parameter/reflection problem Pin
Le centriste10-Jul-07 2:38
Le centriste10-Jul-07 2:38 
AnswerRe: Generic parameter/reflection problem Pin
AFSEKI10-Jul-07 6:26
AFSEKI10-Jul-07 6:26 
GeneralRe: Generic parameter/reflection problem Pin
Bekjong10-Jul-07 22:05
Bekjong10-Jul-07 22:05 
AnswerRe: Generic parameter/reflection problem Pin
AFSEKI11-Jul-07 22:04
AFSEKI11-Jul-07 22:04 
GeneralRe: Generic parameter/reflection problem Pin
Bekjong11-Jul-07 22:38
Bekjong11-Jul-07 22:38 
AnswerRe: Generic parameter/reflection problem Pin
AFSEKI11-Jul-07 23:58
AFSEKI11-Jul-07 23:58 
QuestionOPC communication in C# Pin
k reddy10-Jul-07 1:38
k reddy10-Jul-07 1:38 
AnswerRe: OPC communication in C# Pin
AlessandroOPC6-Apr-09 4:59
AlessandroOPC6-Apr-09 4:59 
QuestionShare DB on LAN Pin
mehrdadc4810-Jul-07 1:22
mehrdadc4810-Jul-07 1:22 
AnswerRe: Share DB on LAN Pin
Christian Graus10-Jul-07 1:24
protectorChristian Graus10-Jul-07 1:24 
GeneralRe: Share DB on LAN Pin
mehrdadc4810-Jul-07 1:33
mehrdadc4810-Jul-07 1:33 
GeneralRe: Share DB on LAN Pin
Colin Angus Mackay10-Jul-07 1:44
Colin Angus Mackay10-Jul-07 1:44 
GeneralRe: Share DB on LAN Pin
originSH10-Jul-07 1:48
originSH10-Jul-07 1:48 
QuestionWIN APP ON LAN Pin
Banjo Ayorinde10-Jul-07 0:54
Banjo Ayorinde10-Jul-07 0:54 

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.