Are there some links to great resources for F# for:
Beginners use.
Examples in applying it to business and enterprise applications.
What I meant by great is similar to the videos presented in the Learn section of ASP.NET and WindowsClient.net.
Thanks.
...
I've plugged some code into the MouseDown and Click events of a ToolStripMenuItem to generate a menu at run-time, but the menu appears at the upper left corner of the screen instead of under the menu item. It doesn't matter if the code is in MouseDown or Click, the menu is always in the wrong place. What am I doing wrong?
Here's a code ...
I'm trying to save a copied image from the clipboard but it's losing its alpha channel:
Image clipboardImage = Clipboard.GetImage();
string imagePath = Path.GetTempFileName();
clipboardImage.Save(imagePath);
If I copy a 32bit image from PhotoShop or IE/Firefox/Chrome and run the above code, the output loses its alpha channel, instead ...
I have a tree data structure, comprised of nodes, that I need to parse into an expression tree. My nodes look like this (simplified):
public class Node
{
public Node Left { get; set; }
public Node Right { get; set; }
public Operation OperationType { get; set; }
public object Value { get; set; }
...
Does anyone know of a good .NET library that allows me to parse source code files, but not only .NET source code files (like java, perl, ruby, etc)?
I need programmatic access to the contents of various source code files (e.g. class/method /parameter names, types, etc.).
Has anyone come across something like this? I know within .NET it...
I am debugging an algorithm that is being represented by a set of ViewModels. In order to debug this algorithm I would like to redraw the View while stepping through part of the algorithm. Is this possible? (I would prefer to just repaint, not do what they call "DoEvents" to process all events.)
...
I have a web service that takes a byte[] and saves it.
This works fine for "small" files, but once I hit a certain size the web service fails and returns "The request failed with HTTP status 404: Not Found."
From what I've seen this appears to be an IIS setting that limits the size of a file that can be posted (to prevent Denial of Ser...
I am writing an mmc application in C#. How can I add a Taskpad view to which I cann add Tasks (like running a shell application or a web page) in my program?
I can achieve the same using HTML view, however, I would like the same look as I get when I add the tasks manually using the mmc Taskpad wizard.
...
Does anybody know a way of doing this (at runtime)?
I'm not sure I can elaborate much more in the description than is already given away in the title, but if you feel I missed something do say!
...
I'm not sure if the question title is the best one but it was the best one I could come up with...
I have this .NET (C#) applications which starts up with Windows and remains opened until the computer is turned off. The app stays on the tray and I open it by clicking the tray icon and close it the same way.
The app is not slow at first...
I'm new to URL routing.
Case 1: I can implement URL Routing for URL:/content/category.aspx mapped to /Reservation
Case 2: I'm not quite sure how to handle the query string values.
For example:
URL:/content/category.aspx?SID=5&CID=191
I want this to map to: /Reservation
Code written for Case 1:
Global.asa
Sub Application_Start(By...
I was about to write a program that just tracks the time I spend coding. Then I thought there must already be some sort of feature in my IDE(VS 2008) or something to download for free. Basically, I just need to record the start time, end time and a subject line. I need either a free option or an option using Visual Studio 2008, which ...
Hello there,
I will start from example: I have an version of my app which looks like this
1.0.3450.26573 (it is hard to read and looks nasty). Code to take this version is:
String Version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
I want to see version 1.0.12, 1.0.13, 1.0.14 where 1.0.[BUIL...
Is there a way to get an associated icon in C# without using any DllImports?
When I use Icon.ExtractAssociatedIcon I don't seem to get the icon for drives, folders, SpecialFolder's in Environment or any files on network attached folders. So is there any other way to get an icon using .NET?
...
I was wondering whether you could create your own .NET Attribute classes for PowerShell and use them in scripts e.g.
[DebugAttribute=true]
function DoSomeThing()
{
"I don't run in Release mode"
}
...
Hi
I prefer to browse the assemblies using reflector even though i have source code with me specially in case when i move to new project.
But I feel it would be nice if i could see the XML comments of the source code in reflector.
Is any addin which would do that?
Thanks In advance,
Uday
...
I don't know if it's possible, but suppose you want to handle reading/writing of cookies on a classic ASP page from a COM object. The COM object is written in .net and wrapped with a COM interface to make it accessible from classic ASP.
For clarification - my question is this:
Is it possible to access the ASP context inside a .net asse...
When writing to the event log, our application uses enums to generate an error number to attach to event log items. The idea is to list the things that we know can go wrong, and assign IDs to each one so we can identify right away what went wrong when viewing the event log.
One enum contains values/IDs that represent a class in the appl...
There are two assemblies:
1) Assembly containing serializer. This is a place from where serialization and deserialization starts.
2) Assembly containing serialized types. This is a place which is calling serializer from 1st assembly.
The idea of serializer in assembly1 is simple. It has two methods which are used for conversions of objec...
Hi all,
I have a main form that has 5 MDI children. When the main form is created, the mdi children are created and shown as well.
I assign them different locations on the screen, but when they're shown they start with the default location and move in a disturbing way to the new locations. I tried to assign the location before I show t...