Click here to Skip to main content
15,912,400 members
Home / Discussions / C#
   

C#

 
GeneralRe: I want Enter key to act like Tab key on a DataGrid Pin
mud778-Mar-04 10:02
mud778-Mar-04 10:02 
GeneralRe: I want Enter key to act like Tab key on a DataGrid Pin
Heath Stewart8-Mar-04 10:27
protectorHeath Stewart8-Mar-04 10:27 
GeneralThanks Heath I will try that Pin
mud778-Mar-04 11:56
mud778-Mar-04 11:56 
Generalmoving mdi child forms Pin
HappyPaws8-Mar-04 4:00
HappyPaws8-Mar-04 4:00 
GeneralRe: moving mdi child forms Pin
Heath Stewart8-Mar-04 4:45
protectorHeath Stewart8-Mar-04 4:45 
GeneralRe: moving mdi child forms Pin
LongRange.Shooter9-Mar-04 10:26
LongRange.Shooter9-Mar-04 10:26 
Generalmusic files Pin
jphuphilly8-Mar-04 2:57
jphuphilly8-Mar-04 2:57 
GeneralRe: music files Pin
Peter Greenall8-Mar-04 12:07
Peter Greenall8-Mar-04 12:07 
QuestionOutlook and word reference?? Pin
Reinier van de Wetering7-Mar-04 23:37
Reinier van de Wetering7-Mar-04 23:37 
AnswerRe: Outlook and word reference?? Pin
fnm8-Mar-04 3:18
fnm8-Mar-04 3:18 
AnswerRe: Outlook and word reference?? Pin
Heath Stewart8-Mar-04 4:39
protectorHeath Stewart8-Mar-04 4:39 
QuestionHow to fire KeyDown Event while pressing TAB key Pin
esupport7-Mar-04 23:13
esupport7-Mar-04 23:13 
AnswerRe: How to fire KeyDown Event while pressing TAB key Pin
Heath Stewart8-Mar-04 4:34
protectorHeath Stewart8-Mar-04 4:34 
GeneralRe: How to fire KeyDown Event while pressing TAB key Pin
esupport8-Mar-04 16:57
esupport8-Mar-04 16:57 
GeneralCreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett7-Mar-04 20:39
Matthew Hazlett7-Mar-04 20:39 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Nick Parker8-Mar-04 3:13
protectorNick Parker8-Mar-04 3:13 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 9:05
Matthew Hazlett8-Mar-04 9:05 
Thank you for your help, but it still will not work correctly. But at least its giving me a different error now:

An unhandled exception of type 'System.NullReferenceException' occurred in PluginHost.exe. It dies on this line o = Activator.CreateInstance(dll, t.ToString());

ObjectHandle o;
IPlugin plugin;
string dll = PluginManager.strPath + @"\" + pluginList.SelectedItem;

Type t = Type.GetType(dll);
o = Activator.CreateInstance(dll, t.ToString());
plugin = (IPlugin)o.Unwrap();

MessageBox.Show(plugin.Author);


I will keep at this and try to get it to work, thanks for pointing me in another direction. Also, if you have any further ideas please let me know.


Matthew Hazlett
Windows 2000/2003 MCSE
Never got an MCSD, go figure...
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 15:06
Matthew Hazlett8-Mar-04 15:06 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Nick Parker8-Mar-04 17:44
protectorNick Parker8-Mar-04 17:44 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 18:45
Matthew Hazlett8-Mar-04 18:45 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Heath Stewart8-Mar-04 4:28
protectorHeath Stewart8-Mar-04 4:28 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 9:07
Matthew Hazlett8-Mar-04 9:07 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Nick Parker8-Mar-04 9:19
protectorNick Parker8-Mar-04 9:19 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
leppie8-Mar-04 7:14
leppie8-Mar-04 7:14 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 9:06
Matthew Hazlett8-Mar-04 9:06 

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.