I want to monitor all text selections made in any application by the user. Is that possible? I would prefer a solution in .net, but vanilla C++ is OK.
If not, can I monitor all text copy operations (CTRL+C) from a .net application?
similar question: http://stackoverflow.com/questions/653003/in-c-is-there-a-way-to-consistently-be-able-...
Hi friends,
I wrote the following code to test the CAS:
[SecurityPermission(SecurityAction.Demand,Flags=SecurityPermissionFlag.Execution)]
static void Main(string[] args)
{
Console.WriteLine("hello, world!");
}
In the .NET 2.0 Configuration, I use the strong name of the above assembly to create a code group an...
In the inheritance why the base class constructor get the call first why not the derived one??
...
I am trying to deserialize the following sample XML file.I have created the schema for this XML file.With the help of schema i am able to deserialize the XML into object.
But my problem is i have a XML comments(ex:<!----Test-->) on my XML file.Deserializer is not reading the comments from the XML to object which i created using schema.
...
Hi all,
I've created a custom panel (inherited from Panel) that override OnPaint method to paint the inner rectangle with LinearGradientBrush.
public void PaintPanel()
{
// Re-calculate the
CalculatePanelHeight();
Graphics _g = this.CreateGraphics();
Point _startPoint = new Point(0, m_TopAreaHeight)...
I have a multi-threaded application with (4) thread i want to know how much processing time spent in threads. I've created all these threads with ThreadPool
Thread1 doing job1
Thread2 doing job2
..
..
result would be:
Thread1 was running in 12 millisecond
Thread2 was running in 20 millisecond
I've actually download a web page in a jo...
Hey guys,
TextBox.ForegroundProperty is inherited from TextElement.ForegroundProperty.
Unfortunately TextBoxs DefaultStyle sets this Property again.
That means that setting TextElement.Foreground on any parent container of the TextBox does not affect the TextBoxs Foreground Color.
Do you know any elegant way to avoid this behavior? I ...
Hi
I would like to build a very simple application - Automated FAQ. I searched the internet and found some information about different approaches but there is no .Net specific example. Do you have som experience of building such application or maybe know some .Net specific examples? It would be very interesting to take a look at one.
H...
Hi, I'm new to DDD. I have an existing ASP.NET application (not MVC) and I would like to start implementing a domain driven design.
However, I'm not sure where I should call the repository from. For example if I had a customer repository with a Save method, my understanding is that I should not call the Save method from the customer en...
When using WebClient to download data there seems to be some minor but perceivable delay incurred each time from resolving the proxy. Since I need to call the methods using the webclient multiple times in different threads and webclient itself isn't thread safe I was thinking of instead just creating a new webclient each time and settin...
I have a typed message broker similar to what Caliburn provides:
public interface IMessageBroker
{
void Publish<T>(T message);
IDisposable Subscribe<T>(Action<T> subscriber);
}
How can I to convert subscriptions to IObservable?
I want an extension method, something like this:
public static IObservable<T> Subscribe<T>(this IM...
Hi i Have Used Database file for storing Data in my Application.
Now I want to take backup of data in Access, Excel or in Any other
Format. Thank You..
...
I have an application with a .jar installer.
the .jar file is the installer. Now i want to make a .cab file for the application and install it using internet explorer through web config. I got a tool by which i have converted my .jar installer into .exe now i want to convert it into .cab file which can be installed with .cab file
...
Currently we use log4net of version 1.2.10.0 and we should start using some 3rd party components developed by other team.
Mentioned component references log4net of version 1.2.9.0.
All binaries are deployed into one folder.
I'm sure that we cannot rebuild our sources with 1.2.9.0 version, because there are too many other dependencies ...
var q = from child in doc.Descendants("level")
where (int)child.Attribute("id") == 55
select (string)child.Element("Points").**Value.ToString()**;
I would like to get q as a type string after executing this query. Even after keeping the extra bolded line this is giving me some IEnumerable type.
Well let me put it this ...
I use Sharp Architecture 1.6 and run in to an issue with EntityDuplicateChecker.
I have an Entity with 2 properties as domain signature, (int) CustomerId and a ValueObject that represents a week(consist of year and a weeknumber).
So in DB terms there is a domain signature on 3 columns, CustomerId, Year and WeekNumber.
EntityDuplicateC...
I want to create a function in C# which for a week number will return me the days, in that week.
For instance for week number 40, how can I get the days:
4/10, 5/10, 6/10, 7/10, 8/10, 9/10, 10/10.
Thank you in advance!
...
Hey guys,
Suppose you were forced to use TCP sockets over UDP sockets (ie: something that Silverlight insists on). Would it be possible to create a multiplayer game that involves sending real time positional updates to up to say eight players so that each player could accurately see every other player in real time, even though UDP would...
How do you check to se if a user has read permissions for a file in windows? There is the possibility to read the authorization rules via File.GetAccessControl. This does not tell me if the user has the right to read the file through group membership...
...
I am able to send an email successfully to my gmail account and the mail goes to the INBOX, but when i send it to hotmail it reaches the Junk/Spam folder?
I am using System.Net.Mail to send email.
...