HI everyone,
Just looking for a website or pdf reference which has a color palette of the .NET (Visual Studio 2008) foreground colors? (E.g. like AliceBlue, AntiqueWhite, Cyan....)
I'm performing some custom js validation on my forms, triggered by submitting the form
$("form").submit(function (e) {
var validates = true;
// validation code goes in here
if (!validates) {
e.preventDefault();
e.stopImmediatePropagation();
return false;
}
})
None of the lines I've included to stop the submit event prevent the .NET control posting back. Is there some way (using js or setting a property in the updatepanel control) of stopping post back?
Is there a port of the CAG event aggregator for .net 3.5/2.0 that can be "dropped-in" ?
Or any other Event Broker / Aggregator which preferably supports string based event pub/sub
thanks
I wondering if I'm going to make a twitter app, but not sure which one of these libraries I should use. Any suggestions?
C#/.NET Libs
The app should be able to post new tweets, read tweets(from "All Friends"), read "Mentions" and Direct Messages. Possibly also a search function...
Hi all, I have created a basic chart in VB.NET (VS 2008) and it is working good, but I would like to label the axies of the chart. The method "AxisLabel" is not what I am looking for. I want to put the word "Dollars" vertically on the far left hand side of my chart (just left of the numbers labeling the "y" axis) and the word "Months" horizontally at the bottom of the chart but above the legend (just below the numbers labeling the "x" axis). Check the picture out...
hi everyone.
Do i need to install .net frame work 1.1 and 2.0 before i install later versions (3.0)??
or the installation of the 3.0 framework alone is enough and provides support for softwares that were written on an earlier framework versions ?
thanks ,
liran
I have this function in .net code:
public class StringGenerator
{
public static string GenerateString(string hash)
{
return hash.GetHashCode();
}
}
I want to be able to call this from PHP page. Any idea how?
I'm playing around with declarative / delayed computation, where expressions are built up into a directed acyclic graph. Microsoft's GPU Accelerator does something similar.
Are there any libraries available for .Net languages that makes it easier to build a representation of the computation?
If I control both applications, what is the best way to communicate between 2 exe's written in VB.Net. For example, I want to drop an XML file from one app, and pick it up with the other, but I do not want poll for the file. I've heard of named pipes, but I found it was complicated. What's the most effecient way to do this?
Im new to C#/.NET . But Ive been doing TDD for quite some time now. I wanted to what is the best framework that can be used for mocking objects while writing tests in c3
Hopefully this isn't a duplicate, but does anyone know of any (good) ORMs that work with SQL Compact Edition, and can run in the .NET Compact Framework (e.g. Windows Mobile 5-6.x)?
I need to call an API that's all in java from an existing .NET codebase. What's the best approach here? Writing a webservice in java that basically just forwards the calls to the API - or going with something like JNI4NET?
We use Xunit.net as our unit test framework for use on our .NET4 assemblies. We have it integrated into our TFS 2010 team builds quite successfully.
I now want to add code coverage to the nightly builds as well.
Does anyone have a list of coverage tools that work on 4.0 assemblies and could be integrated into our automated builds?
I am looking for a Java equivalent to .NET's Snippet Compiler. Is there any such utility out there? That or a really light weight Java IDE for Windows? Eclipse and NetBeans seem too heavy-weight to practice basic syntax.
I guess the title contains my whole question. How can I draw a string onto an image in Flash and .NET/GDI+ respectively and gain the same result? (I'm not a Flash programmer myself and it is rather hard to find out about what kind of unit Flash uses by googling for something like "flash font size"...) Ekeforshus
How do I get my .NET Winforms app 2.0 to automatically update it's publish revision integer subsequent to issuing the publish command from within VS08.
Trying to use the following C# as a guide
object[] attrs =
System.Reflection.Assembly.GetEntryAssembly().GetCustomAttributes(true);
foreach (object o in attrs)
if (o.GetType() == typeof(System.Reflection.AssemblyFileVersionAttribute))
label1.Text = ((System.Reflection.AssemblyFileVersionAttribute) o).Version;
i have some picture files that were included in a vb.net project
how do i reference those files in my code?
what it be just filename.ext
or would it be project/filename.ext
or would it be something like environment.getfolderpath.project/filename.ext??
the build action is NONE, and it is to be copied to output folder
I need to access a file as text file and want to process it later. But before I fetch it how I can identify a file that I am taking is a text file only. If file is in another format my whole code interpret wrongly. I want to access and process only text file.
Currently i am using:
StreamReader objReader = new StreamReader(filePath);
How can I do so in C# .NET?
Like dude wtf I'm learning WPF and LINQ and all this cool crap but it's all 3.0+ stuff is that pretty widespread deployed by now these days?
Also let's say it can't run but they got like 1.1 or 2.0... will it auto-say "Click here to upgrade to latest .NET!"?
With alle the new paralell programming features in .NET 4.0, what would be a a simple and fast way to implement the producer-consumer pattern (where at least one thread is producing/enqueuing task items and another thread executes/dequeues these tasks). Can we benfit from all these new APIs? What is your preferred implementation of this pattern?
Hello,
How do I create non visual components in .NET that can be dragged and dropped onto a Form ?
For example the imagelist component is a non visual component, it appears in the toolbox and can be dragged onto a form and properties can be set for that component.
How can I achieve that ? How can I create non visual components. I know about user controls but that is not what I am looking for.
Thank you
Hi,
I have .net 3.5 SP1 and VS 2008 SP1 installed in my machine. But what should I further install to create an Entity framework project. Is there any other add ons that is needed?
How do I change a local user account password remotely using VB.NET/C#?
I have looked into the DirectoryEntry class and know how to add users to a group but cannot figure out how to change a (local) password.
i want to create a schedule for my windows media player instance in form in vb.net so that to arrange and play them according to time automatically how can i do that..