Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 16:35
Matthew Hazlett8-Mar-04 16:35 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
leppie9-Mar-04 6:20
leppie9-Mar-04 6:20 
Question.NET interfaces - why doesn't this work? Pin
Judah Gabriel Himango7-Mar-04 19:00
sponsorJudah Gabriel Himango7-Mar-04 19:00 
AnswerRe: .NET interfaces - why doesn't this work? Pin
Meysam Mahfouzi8-Mar-04 0:02
Meysam Mahfouzi8-Mar-04 0:02 
GeneralRe: .NET interfaces - why doesn't this work? Pin
Judah Gabriel Himango8-Mar-04 4:32
sponsorJudah Gabriel Himango8-Mar-04 4:32 
AnswerRe: .NET interfaces - why doesn't this work? Pin
Werdna8-Mar-04 4:20
Werdna8-Mar-04 4:20 
AnswerRe: .NET interfaces - why doesn't this work? Pin
Heath Stewart8-Mar-04 4:22
protectorHeath Stewart8-Mar-04 4:22 
GeneralRe: .NET interfaces - why doesn't this work? Pin
Judah Gabriel Himango8-Mar-04 8:48
sponsorJudah Gabriel Himango8-Mar-04 8:48 
GeneralRe: .NET interfaces - why doesn't this work? Pin
Tom Larsen8-Mar-04 9:24
Tom Larsen8-Mar-04 9:24 

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.