I'm writing a WPF application which will monitor a feed. When there are new items determined from the feed I want to spawn off small windows as a notification. If anyone's familiar with Growl on OS X, that kind of what I'm trying to do. Also, I'll point out that this is my first WPF application (and the first time I've done something tha...
I need to send encrypted emails using C# without using any third party component. This is pretty much working as long as I do not need attchments on the email but as soon as I add attchments, I face the same problem as described on http://social.msdn.microsoft.com/forums/en-US/netfxnetcom/thread/74e4711e-1f66-43a7-9e3b-bc9cfbcd1b73/
The...
How to get the minimize box click event of a WPF window?
...
I recently asked a question regarding how to Save a list with nested elements to XML but now I am trying to write the loader for the class and have run into problems with it.
I am attempting to reverse the answer given (thanks Jon).
I believe my core LINQ query is ok, it is the recursion I am struggling with.
Here is my code so far (fo...
Hello,
I create cab file.when i install on to my real device.i am getting this type of error.-
installation was unsuccessful.The programme or setting cannot be installed because it doesnot have sufficent permissions.
Could anyone help me????]
thx in advance....
Regards
Pankaj
...
I wish to get a list of all strings that are used in a .NET assembly including the “static” values that local variables are set to, parameters passed to methods, fields at set to, etc.
I recall from something I read a long time ago that a .NET assembly contains a tables of all strings it uses (or they can be "interned")– or am I just dr...
I want to add authentication and authorization to my application. I do not want to use Active Directory for this.
Should I use System.IdentityModel.Claims to do this?
Will using System.IdentityModel.Claims make it easier to implement authentication and
authorization and why/why not?
...
Okay, so a while ahead I posted how to read other config files of other programs (here is the link Previous Post. I managed to do it. But now there is another problem. The scenario is like this, I have two programs. Program A reads its configuration from a config file and program B is only used to modify the contents of the config file w...
Are there any thoroughly tested .NET libraries out there to sanatize input from things like script/sql injection?
...
Hi,
I would like to allow my users to drag a couple of interface items around. At the moment, only seem able to draw directly to a graphics object using the Cursor.Draw method.
I'd like to be able to show items being dragged around the screen, in the fashion of dragging Windows icons such as folders, which can be dragged from window to w...
I have a custom CMS in which I use an static XElement as the site map. When updates occur to the map, I am synchronizing the writer threads, but am doing nothing with the readers, just allowing them to grab the XElement when they need it.
In testing, I thought that if I was enumerating the XElement from a reader thread, while I update...
Hi,
I have a .net 2.0 application and I can't work out why a button's onclick method is run on page refresh.
The exact scenario when this happens is a checkbox is ticked against each item the button is clicked and the onclick mthod processes this item, and the checkbox is cleared. Now when the page is refreshed for some reason the oncl...
I have a page with several gridviews. For usability, I have put these gridviews into a series of jquery tabs. Tabs works by creating anchor links that go to containers with certain ids, so after clicking on a given tab, the url might change from
host.com/page.aspx
to
host.com/page.aspx#tab2
The issue is that if any elements inside th...
Hello,
I am new in mobile deployment.I am working on standard mobile .I am getting this error when i deploy my application on real device.
" Can't find PInvoke DLL 'sqlceme30.dll' ".
could any one help me???
thx in advance..
Regards
Pankaj Pareek
...
EDIT
Appreciate all the inputs guys. Opinions were very welcome, I think we'll go with an L2S implementation at this point and just roll-up/encapsulate our DAL in such a way that if we need to change to EF in the future, it won't be too painless an operation.
As it was pretty subjective, points go to the poster with the most upvotes.
...
Having a PrintTicket how to display the printer-specific configuration dialog?
Note: I don't mean the PrintDialog from the System.Windows.Controls namespace.
...
//It must be tagged by RIA Services also, but I can't find this tag.
I loading data on client from server.
var context = new WordsDomainContext();
context.LoadWords();
And I using my collection context.Words on client as I need. It's working good.
But I want to refresh my context.Words for some reasons. When I call again context.Loa...
Is it possible have more than one profile template?
I'm working on an internal application for a company that will be distributed to multiple locations and have different setups. I was thinking of having a profile for user preferences, and then using the profile system to store system configuration information (I didn't want to load th...
I am writing a C++ application which will require a block of memory (about 1000 bytes) as a temporary buffer for some text processing. The operation may be repeated up to 10,000 times a second.
Could anybody confirm that it would be more expensive to allocate the memory each time I need the buffer (i.e. new with a smart pointer, memory ...
what does it mean to sign an assembly? and why is it done?
what is the simplest way to sign it?
what is the .snk file for?
thanks
...