I'm trying to debug some code that uses reflection to load plugins
Here's the debugging code and its output:
Type a = methodInfo.GetParameters()[0].ParameterType.BaseType;
Type b = typeof(MessageContext);
Debug.WriteLine(a.AssemblyQualifiedName);
Debug.WriteLine(b.AssemblyQualifiedName);
Debug.WriteLine(a.Equals(b));
OrtzIRC.Common.M...
Hi,
Can someone point to an example of how to programmatically create & use Radio Buttons in C# WPF?
So basically how to (a) create them programmatically, and (b) how to catch triggers when the value changes, (c) how to pick up results at a given time.
Will be interested to see too if the answer will be based on use of a Binding app...
How do you create DataRow instances that aren't tied to any particular DataTable instance?
(EDIT: I know you can create DataRows using the DataTable.NewRow() method, but the problem is that I can't seem to disconnect the row from its parent table so I can pass the individual row around without having to pass the entire table around)
...
Possible Duplicate:
Why was .NET called .NET?
Hai all,
What is the full form of .NET and explain why its called so.
...
I've found that attributes in C# seem to be lazily instantiated.
[A(123)]
class A : Attribute
{
public A(int b)
{
GetType().GetCustomAttributes(true);
}
}
In this example, creating a new A instance causes a StackOverflowException, but if I remove the call to GetCustomAttributes(), then execution carries on normally...
Hi all:
To put this in concise language...
Aim:
To create a class which can load and save a list of objects to/from a data source.
Current Method:
I have created a class which accepts two delegates as construction parameters:
private class Foo
{
public delegate List<object> LoadObjectsDelegate();
public delegate void Sav...
Hi,
I don't know whether this is a silly question! I searched the web with no useful hits.
I am a dot net user (C#).I want to develop a Server, it may be called a middleware server (actually I am not sure), which does the following tasks,
I have a server which cannot be modified and many clients that request the server and receive th...
I have a string that containg alaphabets for example :
a) 254.69 meter
b) 26.56 cm
c) 23.36 inches
d) 100.85 ft
I want to remove all the alphabets (units) from the above mentiones strings so that I can call double.Parse method !!
Please help!!
...
i need a HTML to pdf component,which can convert the html to pdf with all the styles and designs...i have used itextsharp but the styles cannot be produced after conversion to pdf...
i need some free open source component to make the pdf conversion please help with valuable suggestions...
...
platform can be symbian OS,windows 6.0
I want to known is there any software like (visual stdio 2008) that will be installed in my smartphone
and i can write my code and compile it and execute it in smart phone
plz help me out
...
When you call the clone() method of an ArrayList, a shallow copy of the list is created.
what is shallow copy of array?
...
Hello, I've got the question... Are there any free build servers for .NET applications? We are starting project as remotely working team and right now we are searching for such solution. As far as it's an academic project we do not have funds to buy server and run CC.net on it.. Are there any charge free solutions? Or at least cheap ones...
Hi All,
I have a form and am creating controls, adding them at runtime. How do I get access to those controls without using controlcollection.
If I use controlcollection loop the system is getting hanged for a while.
Is there any other way to access that control?
Thanks in Advance.
...
Hi
I am facing a problem in sending an array of complex object from a J2ME Client using KSOAP to .net web service (Soap services).
my TestSoap.java file has a setArr() method which takes an array of PropHeaderMapBin object and sends it to the web service which returns an integer (count of PropHeaderMapBin objects)
TestSoap.java
pack...
Hello everyone. Sorry for poor English.
I have a configuration application where an user can 'manually' select or eliminate some features of a system, other features must be automatically selected or eliminated by application using rules.
The rules are in the form:
a IMPLIES b (If feature a is selected, the feature b must be selected)...
I need to intercept method invocations... please suggest a ready-made solution.
It's necessary to block access to some methods (so calling them will generate an exception)
...
My application connects to an arbitrary (configurable) instance of SQL Server.
If the instance is local, the application needs to ensure that the SQL service is started before connecting.
Given the name of the instance, how do I determine the name of the service to start?
...
For what reasons would this.InvokeRequired equal False within InitUIState(), as this new thread is being created via a delegate?
My problem is that my label is never being set and this.BeginInvoke() is never executing, I imagine it's due to the fact InvokeRequired = False.
private delegate void BackgroundOperationDelegate(ViewMode ...
Whats the best way to digitally sign a file server side with .Net before offering it for download via an asp.net based web site
In addition how do I trigger checking of the signature and hence prove the file has not been tmapered with during the download process in a web browser
...
I have an aspx page that hosts a silverlight application.
Debugging works fine and breakpoints in the silverlight app are hit when I go to the page directly but when I have the page launch in a new window from its hosting ASP.NET application the breakpoints stop getting hit.
Any ideas?
...