Is there any reason that people often tend to develop enterprise applications using J2EE than .NET? Is the cost only main reason to choose technology?
Can't we develop LinkedIn type of applications in .NET?
...
I need a custom control where I can select a value from a horizontal scrolling text. Basically I am building a converter app in WP7 and want a control which allows me to select a value from a scrolling text. The values should scroll horizontally and as soon as the value comes in focus should get selected. Any advice would be of great hel...
Hello everyone,
I'm looking for a way to enable multi row select in a DataGridView-Control but disable multi cell select.
What I've tried so far:
DataGridView.MultiSelect = true allows to select multi rows and cells
ClearSelection() in DataGridView_CellMouseClick-Event and re-select the last selected cell doesn't look very nice (you ...
I want to check page validation on client side, like Page.Validate() but its server side method, is there any client side function which can work like Page.Validate() with javascript.
...
Update: Microsoft have now reproduced the bug and are working on a fix.
Whilst evaluating the viability of the .NET platform for low latency software development, we have discovered a serious bug in the .NET 4 concurrent workstation garbage collector that can cause applications to hang for up to several minutes at a time.
On three of o...
Hi guys,
I'm going to get a WP7 silverlight project at work, and I'd like to ask you guys what documentation do you recommend to somebody who's willing to write silverlight apps for WP7 but who's never touched silverlight itself before.
Thanks in advance,
Miloud B
...
Hi
I need to parse string to DateTime. The string is always in the following format
"10.10.2010" That means dd.MM.yyyy, separated with dots.
I want to use DateTime.TryParse or any other method. Please suggest.
UPDATE
Updated the question. I am just looking for the right method to achieve the goal.
Not manual parsing
...
I have a form which inserts data in DB on Submit button click but the problem is when client click the button multiple times its sends multiple create requests means multiple button click events for the same time of same data, which must not be.
I tried to disable the button when client click the Submit button first time but after this ...
i dont know what i am doing wrong,
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices.ComTypes;
using Microsoft.Win32;
namespace TestShell
{
[ComImport]
[InterfaceType(ComInterfac...
Hello.
I have button. I have expander in button and label above expander in the same button.
I can click on button with no problem, but there is problem where I click on label (Nothing happens). How can I make this: When user clicks on label in button, button is being clicked. I want to transfer click event from label to button that cont...
I have to create thousands of individual EPS (Encapsulated PostScript) files. These files will be printed by a company that uses a Roland printer and software. The printer software only accepts eps files.
So this is the procedure I've implemented using a custom vector graphics library:
Create an individual bitmap (this works)
Draw a r...
I have a .Net asm with several interfaces and classes exposed to COM using the [ComVisible(true)] attribute. I generate a tlb, then reference this in my StdAdx file within a C++ COM component. What's odd is that for some reason, even though the very basic intellisense (VS6 for C++) is able to see my properties and methods, I get compil...
How can I integrating an outlook calendar in my web application for managing employees so that I can assign tasks to only those employees not on leave?
...
I'd like to know how I can split a large file without using too many system resources.
I'm currently using this code:
public static void SplitFile(string inputFile, int chunkSize, string path)
{
byte[] buffer = new byte[chunkSize];
using (Stream input = File.OpenRead(inputFile))
{
int index = 0;
while (input...
Is there a way that I can track and intercept calls to values in properties that are auto implemented?
I'd like to have code that looks a bit like this:
[Tracked]
public int SomeProperty { get; set; }
Ideally the attribute would be able to intercept changes to the property values. Is this possible?
What I don't want it to have a sec...
Hi
I need to create System.Encoding for 1251 codepage.
On my russian Windows I use
Encoding encoding = Encoding.Default
I am afraid this will produce different results depending on Windows
...
hi, guys. I'm not asking here a particular question. The question is: what is your opinion on .NET IExtensibleDataObject interface and the whole mechanism used in terms of stability? Have you used it? Is that a reasonable solution if I suspect that my business object shall morph with time? It seems that it can support new members in...
On a regular aspx page, I have events such as Page_Init, Page_Unload, etc., which occur in a well-defined order.
I have an asmx page providing [WebMethod()]s. Do similar events exist? In particular, some events that allow me to initialize some data (like Page_Load) and do some clean-up (like Page_Unload) would be extremely useful.
(As ...
Hello.
I made simple interface in Visual Studio 2010. When I launched application everything is bigger. Red square on screenshot represents size of the Button in launched application (On the right).
Am I missing something? How to fix it?
P.S.
In "Microsoft Expression Blend 4" the same project is exactly the same size as in editor.
...
How can I set the ehe .net framework version and the managed pipeline mode programmatically for a IIS 7 programmatic via C#? What a the metabase property names for that?
...