Click here to Skip to main content
15,887,746 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Smart Clients and Client-Server Modules Pin
Serge Lobko-Lobanovsky16-Jun-04 7:13
Serge Lobko-Lobanovsky16-Jun-04 7:13 
GeneralRe: Smart Clients and Client-Server Modules Pin
Vega0218-Jun-04 5:50
Vega0218-Jun-04 5:50 
GeneralRe: Smart Clients and Client-Server Modules Pin
Serge Lobko-Lobanovsky21-Jun-04 1:16
Serge Lobko-Lobanovsky21-Jun-04 1:16 
GeneralRe: Smart Clients and Client-Server Modules Pin
Vega0221-Jun-04 3:09
Vega0221-Jun-04 3:09 
GeneralAppDomains and Dynamic Loading in .net CF Pin
ppp00115-Jun-04 8:16
ppp00115-Jun-04 8:16 
QuestionSmart Tags in Visual Studio Editor?? Pin
Boniolopez15-Jun-04 4:17
Boniolopez15-Jun-04 4:17 
QuestionHow to show a Form without changing the Focus Pin
Member 168515-Jun-04 0:02
Member 168515-Jun-04 0:02 
GeneralInvokeMember "Member Not Found" when attempting to set a property Pin
Senkwe Chanda14-Jun-04 23:10
Senkwe Chanda14-Jun-04 23:10 
I’m dabbling with some of .Nets reflection features and am running into the following problem…

I have the following code,

Assembly myAssembly  = AppDomain.CurrentDomain.Load("MyAssembly");<br />
<br />
Type myType = localDataAssm.GetType("MyNameSpace.MyType", true, true);<br />
<br />
Object myObjectInstance = Activator.CreateInstance(myType);<br />
<br />
myType.InvokeMember("MyProperty", System.Reflection.BindingFlags.SetProperty , null, myObjectInstance, new object[] {"blah"});


The InvokeMember step fails with “Member Not Found”, even though the said property does indeed exist.

This seems to be straight forward to me so what am I missing??


Woke up this morning...and got myself a blog
GeneralRe: InvokeMember &quot;Member Not Found&quot; when attempting to set a property Pin
Serge Lobko-Lobanovsky15-Jun-04 1:27
Serge Lobko-Lobanovsky15-Jun-04 1:27 
GeneralRe: InvokeMember &quot;Member Not Found&quot; when attempting to set a property Pin
Senkwe Chanda15-Jun-04 1:36
Senkwe Chanda15-Jun-04 1:36 
GeneralRe: InvokeMember &quot;Member Not Found&quot; when attempting to set a property Pin
Serge Lobko-Lobanovsky15-Jun-04 1:47
Serge Lobko-Lobanovsky15-Jun-04 1:47 
GeneralRe: InvokeMember &quot;Member Not Found&quot; when attempting to set a property Pin
Senkwe Chanda15-Jun-04 2:19
Senkwe Chanda15-Jun-04 2:19 
GeneralRe: InvokeMember &quot;Member Not Found&quot; when attempting to set a property Pin
Serge Lobko-Lobanovsky15-Jun-04 3:44
Serge Lobko-Lobanovsky15-Jun-04 3:44 
General&quot;Cannot control &lt;service name&gt; service on computer '.' &quot; using ServiceController... Pin
CherezZaboro14-Jun-04 8:35
CherezZaboro14-Jun-04 8:35 
Generalabout CF .net Pin
ting66813-Jun-04 23:54
ting66813-Jun-04 23:54 
Generalsetup project Pin
Dpriya13-Jun-04 20:46
Dpriya13-Jun-04 20:46 
GeneralRe: setup project Pin
Heath Stewart14-Jun-04 9:22
protectorHeath Stewart14-Jun-04 9:22 
GeneralQuestion about .NET's Setup Project Pin
Rafferty Uy13-Jun-04 15:12
Rafferty Uy13-Jun-04 15:12 
GeneralRe: Question about .NET's Setup Project Pin
Heath Stewart13-Jun-04 19:15
protectorHeath Stewart13-Jun-04 19:15 
GeneralRe: Question about .NET's Setup Project Pin
Rafferty Uy16-Jun-04 13:41
Rafferty Uy16-Jun-04 13:41 
GeneralRe: Question about .NET's Setup Project Pin
Heath Stewart16-Jun-04 13:44
protectorHeath Stewart16-Jun-04 13:44 
GeneralRemoting and security exceptions Pin
Tom Archer13-Jun-04 13:21
Tom Archer13-Jun-04 13:21 
GeneralRe: Remoting and security exceptions Pin
Heath Stewart13-Jun-04 19:19
protectorHeath Stewart13-Jun-04 19:19 
GeneralError looping through Collection Pin
rfox511-Jun-04 8:47
rfox511-Jun-04 8:47 
Generalincremental installation of C# application Pin
ting66810-Jun-04 15:52
ting66810-Jun-04 15:52 

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.