No announcements
Found 3937872 threads
-
0 Votes
How to access method inside user control using Activator.CreateInstance(myType)
Control objControl = Activator.CreateInstance(myType) as Control; if (objControl !Answered | 4 Replies | 1944 Views | Created by Jumpingboy - Wednesday, July 18, 2012 9:37 PM | Last reply by Jumpingboy - Wednesday, July 18, 2012 10:55 PM -
0 Votes
How to use Activator.CreateInstance method in .NET remoting?
Hi Kicaj, You will find the answers to all your queries at the links given ...Answered | 1 Replies | 5474 Views | Created by kicaj - Thursday, November 6, 2008 2:47 PM | Last reply by Sandeep Aparajit - Saturday, November 8, 2008 12:20 AM -
0 Votes
How to pass object as parameter inside user control using Activator.CreateInstance(myType)
if i have to add paramlist at runtime how i can do, sme thing like paranlist.add(..)Answered | 3 Replies | 3370 Views | Created by Jumpingboy - Thursday, July 19, 2012 9:04 PM | Last reply by Jumpingboy - Monday, July 23, 2012 4:32 PM -
0 Votes
Is it possible to create an instance of an entity by Activator.CreateInstance...
Paul, Firstly, you have to use AssemblyQualifiedName, because "entity" types are in another assembly (Application.Common), so it may be ...Answered | 4 Replies | 2583 Views | Created by Paul Van Bladel - Friday, November 25, 2011 9:41 PM | Last reply by Paul Van Bladel - Saturday, November 26, 2011 11:42 AM -
0 Votes
Activator.CreateInstance Exception in Web Control Design Mode
It will be very beneficial for other community members having the similar questions if you mark useful replies as answers.Answered | 3 Replies | 3723 Views | Created by Josue Avila - Wednesday, December 9, 2009 4:48 PM | Last reply by eryang - Wednesday, December 16, 2009 8:52 AM -
0 Votes
How do you access methods of user controls in a stack panel?
The client detail custom user control is loaded on the parent window inside a stack panel.Answered | 1 Replies | 2906 Views | Created by OldManDev - Saturday, January 25, 2014 10:22 AM | Last reply by Magnus (MM8) - Saturday, January 25, 2014 6:05 PM -
4 Votes
Access modifier inside method in C#
Hi Arash, What everyone is saying is that access modifiers are not needed inside method, and to avoid confusion the language doesn't allow it.Answered | 3 Replies | 827 Views | Created by Arash_89 - Monday, March 19, 2018 8:27 AM | Last reply by Mauricio Feijo - Monday, March 19, 2018 2:31 PM -
1 Votes
How to Access the methods of Winforms from WPF User Control
In return, how we can access the public methods in Winforms from WPF User Control ???Answered | 8 Replies | 4782 Views | Created by Luttapi - Saturday, May 2, 2009 6:18 AM | Last reply by Luttapi - Tuesday, May 5, 2009 3:43 AM -
1 Votes
Instantiating array of structures using Activator.CreateInstance in C#.NET
object s = Activator.CreateInstance(typeof(MyStruct1)); typeof(MyStruct1).GetField("MyField").SetValue(s, Array.CreateInstance(typeof(MyStruct2), 42));Answered | 2 Replies | 5187 Views | Created by Pavithra S - Wednesday, March 24, 2010 4:28 AM | Last reply by Pavithra S - Thursday, March 25, 2010 5:56 AM -
0 Votes
How to use an Interface of external dll in c#
var Instance = Activator.CreateInstance(ImplementationType); // Invoke the Method01() method.Answered | 4 Replies | 17648 Views | Created by Duan Brito - Friday, August 29, 2014 2:59 PM | Last reply by Aditya90u - Tuesday, August 8, 2017 6:41 AM -
9 Votes
constructor exceptions being caught in Activator.CreateInstance
Can you post code that shows how the error is produced?Answered | 18 Replies | 12143 Views | Created by SrsDanG - Friday, March 23, 2012 4:51 PM | Last reply by GuYuming - Thursday, March 29, 2018 6:52 AM -
0 Votes
How to access a control's methods from another module
But even if you pass the argument as Form1, you still won't be able to access your combobox, because all the control that are added to form are declared as private (it means that ...Answered | 3 Replies | 3404 Views | Created by Amit26 - Wednesday, June 18, 2008 5:50 AM | Last reply by Sergey Ukraine - Thursday, June 19, 2008 9:03 AM -
0 Votes
How to access the gridview inside a usercontrol?
Do you use any toolkit so this can work?Answered | 3 Replies | 1321 Views | Created by Rajesh Kumar Konda - Thursday, June 19, 2014 9:11 AM | Last reply by La_Yale - Tuesday, April 7, 2015 9:58 AM -
1 Votes
Properties and methods of User Control
You cannot hide public properties and methods of a base class from which you inherit.Answered | 2 Replies | 935 Views | Created by BGQQ - Thursday, March 14, 2013 3:51 PM | Last reply by BGQQ - Friday, March 15, 2013 6:30 PM -
6 Votes
WPF -> Activator.CreateInstance -> Resource not found
so i load resources only to my hosting element, but then they are not found when using Activator.CreateInstanceAnswered | 10 Replies | 1074 Views | Created by jogibear9988 - Tuesday, December 1, 2015 7:46 AM | Last reply by Andy ONeill - Tuesday, December 8, 2015 11:33 AM -
2 Votes
Use control name to access properties and methods
The example I provided passed the control to the second sub and we accessed the properties and methods using the DirectCast() stmt.Answered | 20 Replies | 2829 Views | Created by ExcelMonkey - Thursday, September 3, 2009 3:51 AM | Last reply by John Anthony Oliver - Saturday, September 5, 2009 12:21 PM -
0 Votes
Access control's method with MVVM
Finally I have found here what I was looking for.Answered | 2 Replies | 907 Views | Created by F Starred - Friday, April 10, 2015 8:21 AM | Last reply by F Starred - Friday, April 10, 2015 10:47 AM -
1 Votes
Activator.CreateInstance() that can invoke private constructor with parameter?
why would you use int x parameter inside Text method??Answered | 11 Replies | 16325 Views | Created by Werner Clausen - Thursday, October 6, 2011 12:21 PM | Last reply by Louis.fr - Monday, October 10, 2011 12:14 PM -
0 Votes
How to use navigation inside a tab control
How do I fix that?Answered | 3 Replies | 2985 Views | Created by Jason Curl - Wednesday, June 12, 2013 7:46 PM | Last reply by Min Zhu - Monday, June 17, 2013 9:05 AM -
1 Votes
More granular access control methods?
https://connect.microsoft.com/site1231/feedback/details/669069/instance-level-access-controlAnswered | 5 Replies | 2517 Views | Created by Ryan Lin of China - Wednesday, May 18, 2011 3:46 AM | Last reply by Yann Duran - Wednesday, May 18, 2011 10:53 AM - Items 1 to 20 of 3937872 Next ›
No announcements