I'm really new to the WPF in the .Net Framework (get that out of the way). I'm writing an application where the interface is very customizable by simply loading .xaml (at the moment a Page element) files into a frame and then mapping the controls via names as needed. The idea is to have a community of people who are interested in makin...
The standard windows Charmap utility shows quite a few characters in the "Wingdings 2" font whose character codes are greater than 255 - for example, 0xE4E shows a hand.
However, if I try to draw these characters as follows:
g.DrawString(new string((char) 0xE4E, 1), new Font("Wingdings 2", 20), brush, x, y);
then all I get is a stand...
How to split an IEnumerable of IEnumerables to one flat IEnumerable using LINQ (or someway else)?
...
Hi,
How do I mimic a WebException 304 error back to browser if I am using HttpListener?
That is I have received a request to my HttpListener, and then obtained the HttpListenerContext, then from this point how would I mimic/arrange for a HTTP "304 Not Modified" response to be effectively sent back to the browser via the HttpListenerCon...
Hi.
I need to check if property has specific attribute defined in its buddy class:
[MetadataType(typeof(Metadata))]
public sealed partial class Address
{
private sealed class Metadata
{
[Required]
public string Address1 { get; set; }
[Required]
public string Zip { get; set; }
}
}
How to che...
I have the following controls hierarchy:
Form
Panel (AutoSize = true, AutoSizeMode = GrowAndShrink, Dock = Top)
FlowLayoutPanel (AutoSize = true, AutoSizeMode = GrowAndShrink, Dock = Top)
Control1, Control2, Control3, Control4, ...
FlowLayoutPanel (AutoSize = true, AutoSizeMode = GrowAndShrink, Dock = Top)
Control1...
i have a vb.net application
i published it
it made an app files diretory, setup.exe, and some other file
i need everything to be in one file because the users are not very computer savy
is there a way to bundle everything in one installation file?
...
Hi,
I created a small WPF desktop application. I am thinking about how to make my application internationalized. Is there any Language Class to research (.NET 3.5 based)?
I want to load the my application language from windows region/language configuration automatically.
OR. some method to switch language from my application menu list....
I have followed scott's gu tutorial here
I uploaded the whole database to my site. Before doing what Scott's says I had one username stored in the membership. How can I create an additional user now that the table is in the web host? I can see that there's aspnet_Membership, aspnet_Applications, etc..etc
...
I would like to add tabs for my website and I understand I can use the tab control in the AJAX toolkit or I can choose to go with JQuery UI tabs. Each tab would need to load a separate asp.net page and I need to customize the tabs to look slick.
Any thoughts on what approach I can use?
...
I recently installed the RTM version of 4.0. I now receive an error when running MVC2 websites in a .net 4 app pool. The error is "User is not available in this context." All works fine on .net 2.0 app pools or if I run the app within the VS10 web server. The error only occurs in IIS on .net 4.0. To verify that it was not something speci...
I want to show the user detailed progress information when performing potentially lengthy database operations. Specifically, when inserting/updating data that may be on the order of hundreds of KB or MB.
Currently, I'm using in-memory DataTables and DataRows which are then synced with the database via TableAdapter.Update calls. This w...
I am getting the following error on my page:
Security Exception Description: The
application attempted to perform an
operation not allowed by the security
policy. To grant this application the
required permission please contact
your system administrator or change
the application's trust level in the
configuration file....
I was going through the spark view engine documentation and found a lot of literals showing up in code for which I couldn’t find any references. For e.g.
! , #, $ , !$ , ...
What are these for? What do the combinations mean? When do they come into use? Am I missing any more literals that precede or comes after {
...
I'm trying to use the System.IO.Log features to build a recoverable transaction system. I understand it to be implemented on top of the Common Log File System.
The usual ARIES approach to write-ahead logging involves persisting log record sequence numbers in places other than the log (for example, in the header of the database page modi...
It's needed, but it's not obvious from the Castle homepage where this file sits. I am looking for a binary release, not source code.
...
Hello,
Just would like know how to pass textbox value to a modal popup after clicking a button using ModalPopUpExtender in ASP.NET, I've tried these codes but seems that I have no luck :(
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
Button1.Attributes.Add("onclick", "showModalPopup();...
I'm trying to write a COM++ object wrapper around a Qt widget (control) I wrote so I can use it in future .NET projects. e.g.:
public __gc class comWidget;
In the compile directory are the .exe, an exe.intermediate.manifest, and the comWidget.obj, and also some other crap files (.pdb, etc). So what/how do I import into .NET? I feel...
I am getting "found conflict between different versions" from one of my projects.
How do I find out which assemblies are actually in conflict?
...
This enum used to exist not too long ago. I am upgrading to Castle Core 1.3.0, and the enum is no more. What happened to it?
...