I'm having trouble placing the concepts and possiblities of the to be introduced F# language from Microsoft.
Will F# be used just for declaring functions? Or will applications be written 'entirely' in F# by mixing F# together with normal C# or VB code?
...
I need to be able to store the XML of my web.config serviceModel element in a database, and have my application read it at startup. Is there a way to do this by just changing my startup code to "override" the serviceModel element in the .config file? I see there is an answer to another question about doing this for the appSettings sect...
The following dialog window keeps popping on my computer when starting "Click-Once" published application from Internet URL:
[Microsoft .NET Framework Setup] - Would you like to download and install the Microsoft .NET Framework?
The content you are trying to access requires the Microsoft .NET Framework. Would you like to download and i...
I'm trying to iterate over an unknown number of query values in C#... and can't find anything unrelated to LINQ, which I can't use. Anyone have any ideas?
...
Guys, I have the follow VB.NET class definition:
<Serializable()> Partial Public Class Customers
End Class
Inside another file I have the same thing (with different methods and variables of course). When I compile, I get the following error:
Attribute 'SerializableAttribute' cannot be applied multiple times.
The error is pretty self...
I have a legacy DNN site, and an error shows up at the top of the page telling me that one of the modules failed to load. That's wonderful, but that doesn't tell me a damned thing about why the module didn't load. Does anyone unfortunate enough to work with DotNetNuke know how to view a stack trace when a module explodes? I keep looki...
I had a brainbench exam recently, got high mark, but there were a couple of questions which were hard for me. Maybe it's because english is not my native language... One of the questions is:
Which one of the following describes type-safety?
A programming construct used to ensure the security of reference and value types in the CLR ...
For Windows:
After my .NET program is installed, how do I set the system PATH to include my program absolute directory such that the user can launch my .exe from any directory within the console?
Note: I want this to be done automatically without the end-user having to manually add the PATH himself.
...
I'm a complete novice in database/PC application sp please forgive my ignorance.
I'd like to capture packets to a database in real time so that multiple applications would have the ability to monitor physical I/O data being returned via udp packets from a PLC and I had a few questions.
In the long run it will need to be cross platform ...
Hi guys,
I have inherited couple of .Net (C#) application which does not have any tracing or logging added to it. This application does everything from Creating , Reading , Updating and deleting records. It sends email and calls web services.
Of course it is a nightmare to maintain it because there is no logging and no try catch mecha...
Hello,
I'm a mechanical engineering grad student and my adviser has just asked me to write a data visualization utility for one of our sensor projects. As it's summer and he wants me to have some fun with it, I thought this would be a great time to learn a language adept at scientific computing, so I went ahead and plowed right into F#....
I know that CAS is of limited value, but I want to learn about it anyway.
I don't understand the behavior I'm seeing: Basic default CAS seems not to work at all in my fairly normal environment.
Take this sample class:
using System;
using System.Security;
using System.Security.Permissions;
namespace CASNotWorkingExample
{
class Pr...
I'm building an academic work that consists in a turn-based strategy game. I'm using XNA 3 for the graphics but didn't decide what to use for AI.
I was considering to use P#, a Prolog interpreter for .NET but i found it a bit poor. Do you anything better for game AI than Prolog (maybe Haskell?) or a better interpreter then P#?
...
I am porting .NET Framework component to .NET Compact Framework. Component has ImageList in it. This component implements custom CodeDomSerializer. The constructor of the custom CodeDomSerializer contains following code for ImageList code serialization.
TypeDescriptor.AddAttributes(typeof(ImageList), new DesignerSerializerAttribute(type...
In a .NET C# program, is it easy to transition from FTP to SFTP? I'm trying to get a sense of how muh time it would take the contractor to make the transition. My personal experience is mostly with PHP, so I have no idea.
Basically, what I'm talking about, what steps would have to be made? Obviously, different commands, but would anythi...
I'm looking for a reporting tool that I can use with an XML datasource. The XML files would be small, approximately 50-60K but may be as large as 200K. The goal of our project is to generate reports based on data submitted in the XML file.
I understand I could simply use XSLT style sheets and output HTML but I prefer PDF, XPS, XLS, or D...
We've been using the FCG for a while to brand products and tools as .NET compatible. Microsoft has updated the look but I can't seem to find any high resolution versions of the logo.
I'd be happy with a high-res PNG, PhotoShop or Illustrator file.
...
I installed ironpython 2.0 in the windows xp professional box and it requires .Net framework 2.0 service pack 2 or later. The windows box has it. But still the console disappears. There is issue in either of them.
Need help?
...
How to get the item double click event of listview?
...
The case:
There is a .net application calling unmanaged C code. Used method for this:
public static class MiracleCreator
{
[DllImport("Library.dll")]
private static extern void RunUnmanaged(string fileName);
public static void Run(string fileName)
{
RunUnmanaged(fileName);
}
}
It is used in a Windows Form...