Hello, I was wondering if there are any free/OS resx files for phrases commonly used among websites. For instance, we all use save/submit/retry/cancel/etc. and I'd be surprised if there wasn't a library out there with these standard phrases in multiple languages. I searched but came up empty...Any ideas?
...
I'm writing an application where a user can change the Application's (process's) Basepriority
How can I do this in .Net?
Its seems I can only "get" the Basepriority value but I cant "set" it.
...
Do Microsoft actually provide a build of Rx / Silverlight Toolkit DragDrop that "just works" on WPF?
From what I can tell the Rx DragDrop stuff is only available in the SL Toolkit (not WPF).
The SL Toolkit seems to imply you can use it in WPF (various #defines) but gives no further info on how to do it.
If I just want the DragDrop stu...
I am trying to figure out what the best method is for writing an XML Document. Below is a simple example of what I am trying to create off of data I am pulling from our ERP system. I have read about XMLWriter, but thought I would see if there are any other better methods. Any suggestions would be greatly appreciated.
Example XML:
<?x...
I want to centre a popup form launched using Form.ShowDialog() in .NET Compact Framework. I dont see any property like StartPosition in .NET CF Form object.
Can someone please suggest me how to centre popups in .NET CF 3.5?
...
Mornin', I'm trying to just get basic encryption working using System.Security.Cryptography.RjindaelManaged. I have google for this error and cannot find the problem, or what I am doing wrong. All I am attempting to do is encrypt a string, and then decrypt a string.
Following is my code, and any help would be appreciated.
Imports Syste...
Hi,
I am building an email receiving website. I can read the email with the help of code used in Code Project, but I can't download email attachments.
Can anyone tell me how to download email attachments using POP3?
Thank you!
...
Scenario
I have a Library that contains Projects A, B, and C.
I have two solutions. Solution 1 includes a copy of Project A, and Solution 2 includes a copy of Projects A and B.
When I build Solution 1, here's what should happen:
When I build Solution 2, here's what should happen:
How can I do this?
Is this something I cou...
Hi,
I am wondering if anyone could provide me with a hint for adding vibration to a button's click event. I have been looking around but only found similar examples using the window registry - however I would prefer avoid toching the registry if possible.
Anyone who could provide me with some sample-code to achieve this (C# or VB.Net)?...
I used to use List.h to work with lists in C++, but are there any similar libraries in .Net ? Becouse I can't use List.h for managed types.
...
Possible Duplicate:
Most Useful Attributes in C#
I always feel that I am missing functionality that can be gained in .Net by simply applying attributes to classes, methods, properties etc. It doesn't help that intellisense cannot display all appropriate attributes as they can normally be applied in a wide range of scenarios.
He...
Is there a built-in way to do an "insert-or-update" in Castle ActiveRecord?
Something along the lines of:
try
{
ActiveRecordMediator<TEntity>.Create(e);
}
catch (Exception)
{
ActiveRecordMediator<TEntity>.Update(e);
}
...
I'm trying to implement the Variable envelope return path (VERP) method to manage email addresses (ie when an email I send bounces back I want it to be sent to a specific email address so that I can update my database to avoid sending emails to that email address in the future).
According to this article it is possible to specify the em...
Hi,
I'd like to write a program where you can have 2 clients that talk to each other in realtime. I've been looking into WCF services and Duplex messaging, data contracts etc but now I'm confused.
Basically I see it as:
[Client] --- msg --> [Server] --- msg --> [Client] and vica versa.
The server will just act as the messenger.
Coul...
How do I delete a record only if it exists?
Something equivalent to:
try
{
ActiveRecordMediator<TEntity>.Delete(entity);
}
catch (Exception)
{
}
...
I am invoking a stored proc from .NET app. The proc returns an out parameter of type Varchar2. To fet
ch the out parameter I am passing the parameter to the command as OracleParameter:
parm12 = new OracleParameter("testkey"
, OracleDbType.Varchar2
, out2
...
Hello,
My classes look something like this (I include only the relevant properties):
public class Order
{
public virtual Customer Customer { get; set; }
public virtual IEnumerable<OrderLine> OrderLines { get; set; }
}
public class OrderLine
{
public virtual string Product { get; set; } // Simplified
}
Now I What I want is...
I'm currently working to hack my .NET operating system into running on top of MS.NET/Mono (previously it ran bare-metal only), and I've hit a small snag. I need to implement my own System.Console that talks to my service infrastructure, and I can't find a good way to replace it without either 1) not linking against mscorlib (would be he...
If delegates are Abstract then how it allows to create object
...
Hi,
I'm gonna create a BackgroundWorker with an anonymous method.
I've written the following code :
BackgroundWorker bgw = new BackgroundWorker();
bgw.DoWork += new DoWorkEventHandler(
() =>
{
int i = 0;
foreach (var item in query2)
{
....
....
}
}
);
But Delegate '...