I have a large .NET based system running within the company intranet, which allows winforms users to see some live calculated numbers and a custom winforms control drawn live (but not real-time). The Forms users can also affect the operation of the system.
I would like to just show the live numbers on a website, along with the custom co...
I would like to format a DateTime to a string containing the month name abbreviated and the date for use in axis labels in a graph.
The default DateTime format strings do not contain abbreviated month. I guess there is no standard but I could take a substring of the first 3 characters of the month name and replace this into the MonthDay...
hi, I've got problem. I'm using windows.forms ListView to show some data and I need to make two lines in one row. I've found solution to make row higher by adding ImageList with specified height and then I add Environment.NewLine to my text. It works in Vista and 7 but in XP instead of new line there are shown squares. I've been trying t...
I have created a Custom Hosted Control using ToolStripControlHost and put it in a ToolStrip.
Everything is working as expected.
But my custom control does not look like other items in ToolStrip.
How to make my custom control take the look and feel from ToolStripRenderer?
or
How to make it look like other items in ToolStrip?
...
Hi
I can open a .dot template from a hyperlink fine,
but it opens read-only and does not run the autonew macro.
Is there a setting or something obvious Im missing?
thanks
DD
...
The requirement is as follows
1.) Upload the word file on website
2.) Display word file on website with the same formatting as we upload
3.) Edit and save the word file online on web
4.) Download the changed Wrod file from website (word file Format should not changed)
How to achieve this requirement.
...
i try to recieve a file from server but give me error on server.Start()
ERROR : In a manner not permitted by the access permissions to access a socket was attempted to
How can i solve it?
private void btn_Recieve_Click(object sender, EventArgs e)
{
TcpListener server = null;
// Set the TcpListener on ...
Hi,
We have a simple binary file format for caching data in our application (C# .NET Windows App). The format is basically a short that indicates the object type followed by a guid (string) for the object id then any object specific data (strings ints whatever). We want to be able to store many objects in the same file (> 10000) but i...
How can I make my own Internet Explorer sidebar (not toolbar) just like Google Sidewiki, which will also interact with my browser (only IE). Any example?
...
Visual Studio 2010 RTM randomly crashes when editing XAML in a WPF application. I'm running it on Win 7 fully updated.
The installed extensions/addons are:
Resharper
PowerCommands
The crash log is:
Faulting application name: devenv.exe, version: 10.0.30319.1, time stamp: 0x4ba1fab3
Faulting module name: clr.dll, version: 4.0.30319.1...
I have design a database. Theres no columns with indexing, nor any code for optimizing. I am positive i should index certain columns since i search them a lot.
My question is HOW do i test if any part of my database will be slow? ATM I am using sqlite and i will be switching to either MS Sql or MySql based on my host provider. Will crea...
Hi,
I have 2 entities: Customer & Account, where a customer can have multiple accounts.
On the account, I have a "PlatformTypeId" field, which I need to condition on (multiple values), among other criterions.
I'm using Lambda expressions, to build the query. Here's a snippet:
var customerQuery =
from c in context.CustomerSet.Includ...
Is there any solution available for generating UML diagrams (or at least XMI files) in C#.NET?
Bear in mind that I don't want to reverse engineer my code but automate UML diagrams generation (different kind of them, mostly component diagrams).
...
I am working on a Silverlight application that is supposed to work with dtaa provided by the Amazon Services. I'd like to make a search field that provides Google-like autocompletion. I have the basic idea behind that, but I need to know whether the Amazon API could return a list of books based on a few characters entered in the search f...
Hi,
I am working on C#.DotNet windows application project, here i am using Infragistics control. In this project i want to add image over text control. This image contains two portion, 35% of image have white color another 65% of image have green color.In this image 2nd portion(green color) i have to display dynamic string , this strin...
How to pass arguments to an HtmlFile from C#?
Like: System.Diagnostics.Process.Start("Sample.html","Arguments");
If I execute the above code the "Sample.html" file should be opened and it should do something with the "arguments".
...
I know this question has been asked before and I read all the answers but they still don't give me the answers I am looking for. I need something concrete. I volunteered to give a presentation on MVC to other developers in our group which forces me to learn it. The big question everyone has is: "What can MVC bring to the table that we...
I don't know if I'll pass all the necessary information here, but I've only been asked to post this question here and I'm not entirely onto the matter.
There is a .NET Framework 2.0 application compiled in the Debug mode with the parameter jitDebugging set to true in app.config
<system.windows.forms jitDebugging="true" />
After any c...
Hi,
Can anyone tell me if a linkedlist of structures will be allowed to grow larger than the equivalent List (given that a list uses a doubling strategy for increasing the size of it's internal array).
So given a struct that is say 40 bytes (I know about the 16 bytes and structure thing, but I am working with some legacy code here and ...
Consider we have .NET Winforms application or Console Application.
Can anyone tell me what will happen step-by-step until the WinForm or Console Application is launched. I would like know the internals - like how EXE will communicate with Framework, what is the role of CLR, what happens in case of exception while launching applicaiton it...