Hi,
I'm playing with C dlls to hook global Windows events and the next step is sending some event data (nothing huge) to a C# application.
As I want this communication to be as fast as possible, I'm analysing two options: Named Pipes and Memory Mapped Files.
I know that .NET 4 brings MMF in a native way, but I have to target .NET 2, a...
I'm using WinForms : C# .NET.
I'm facing a problem with ContextMenuStrip and Toolstrip. Visual Stuido's Property editor is not letting me to change the property I want.
Here is the snapshot of how I want my ContextMenuStrip to looklike & same is the case with Toolstrip. I don't understand how to do this.
If I need to learn something,...
How to access 3rd Party cookies in the Browser ?
...
Hi,
Just out of curiosity, does anyone know why the AsynchResult type resides in System.Runtime.Remoting.Messaging as opposed to System.Threading ? It would seem to make more sense to have it declared with all threading types.
Thanks,
Scott
...
Does anyone know how rightmove.co.uk is made? What technologies, databases, programming languages are they using? PHP? Ruby? Python?
I can see that it is using Apache. I would really love to know what database they use.
Thank you in advance ;-)
...
Is there a way to get an integer value from a DataRowView? I have a list box with datasource set to a binding source. I would like to be able to do this:
dim num as integer
num = lstBox.SelectedValue
But I receive an InvalidCastException:
Conversion from type 'DataRowView' to type 'Integer' is not valid.
This is how I fill my ...
Alright, this is an easy one:
What's the difference between Application.ThreadException and AppDomain.CurrentDomain.UnhandledException?
Do I need to handle both?
Thanks!
...
I have an ASP.NET MVC site which is composed of 3 projects in a solution:
DomainModel (Class Library - Holds LINQ Repo)
DomainServices (Class Library - Holds Business Logic)
WebUI (ASP.NET MVC Site)
I need a place to store a bunch of settings for our site that can be configured via XML.
Which project should this go in? ...
As part of a simple backup process, I would like to save files with the name indicating the date and time of the backup. Right now I am using yyyyMMddTHHmmss, i.e. "20100601T115720". I would like to be able to parse those dates back to allow clean up of files older than a certain date. (The backup date time is not necessary the same as t...
Somewhat strange problem... when I start my .NET app for the first time after rebooting my machine, the SQL Server queries are really slow... when I pause the debugger, I notice that it's hanging on getting the response from the query. This only happens when connecting to a remote SQL server (2008)... if I connect to one on my local mac...
I'm sure it's a requirement many developers have faced before: business needs an audit trail to know who is performing actions in their system.
Regardless of how you choose store the audited information, the core of this problem is how to identify the current user.
I want to write components, ranging from small domain model classes to ...
Hi, I have a simple LinqToSql query
from p in GL_PROJECTs
where p.CREATE_DT == new DateTime(2009,10,26)
select new p
Some of the records in the database have create dates with time parts other than 00:00:00, so wont be retreived by this query. What I want to achieve is a time insensitive retrieval for the whole day.
I tried the fol...
I have an asp.net page that exports some data to Microsoft Word 2003. The source of the data is what users have typed into an ajax control toolkit HtmlEditor on an input page. All works well unless the user has pasted text from a Word document into the HtmlEditor.
The html that is copied from Word looks like this:
<p class="MsoBody...
I'd like to add an option to my ListView, so that I can change it's view (tile, list, details,...) - just like in Windows Explorer. How can I build such a menu? With PictureBox and MenuStrip?
PS: winforms, not WPF
Thanks!
...
Hello
i'm developing a .net application which consumes a java web service, i created the client through wsdl.exe tool and its working fine, one of the method of the web service, receives an xml document as a parameter, and im using an XmlTextWriter to generate the document, but im having problems when including special characters inside ...
I am a .net newbie. I was trying to build this particular CLR project - http://github.com/richhickey/clojure-clr. I received the following error.
C:\sriram\work\clojure\clojure-clr\Clojure\Clojure.Compile\bin\Debug\Clojure.Compile.exe clojure.core clojure.set clojure.zip clojure.main clojure.walk clojure.stacktrace clojure.template cloj...
I have a single that might have a decimal place but might not.
I have to put the digit before the decimal into the first 4 bytes and the digit after in the next 4 bytes.
So 1.1 would be 01-00-00-00-01-00-00-00
or 2.1 would be 02-00-00-00-01-00-00-00
or 1 would be 01-00-00-00-00-00-00-00
The digit before the decimal point is stored like ...
I'm trying to set up a .NET 3.5 web service project in Visual Studio. My goal is to include a namespace in this web service that I can expose to web applications that references this web service.
As you can see below, I have added the namespace "MyWebservices", but I am not able to find it after referencing the web service.
Service1.a...
I have a .NET setup project that installs and uninstalls my application fine but on uninstall it leaves the installation directory behind.
How can I delete this folder during/after the uninstall?
UPDATE: My application creates a cahce file in this directory when it runs which looks like the reason the folder is not removed during the u...
hi
1) What properties ( if any ) do controls like GridView and TextBox save in control state? BTW - I assume these controls have their control state enabled by default?!
2) Control needs to call Page.RegisterRequiresControlState ( during Init event ) in order to signal that its control state needs to be persisted.
Assuming contro...