I have a ASP.NET Web App. I notice that while a simple ajax call(see below) is in process, web application does not respond to any action that I try on a different browser.
$.ajax({
type: "GET",
async: true,
url: "someurl",
dataType: "text",
cache: false,
success: function(msg){
...
I'm trying to migrate my Outlook 2007 add-in to Outlook 2010 and Visual Studio 2010. I've done everything that is described in these documents:
Required Changes to Run Office Projects that You Migrate to the .NET Framework 4
Updating Form Regions in Outlook Projects that You Migrate to the .NET Framework 4
Updating Ribbon Customizatio...
I need to use .NET or MONO for C#/F# programming.
How do I know my C#/F# code is running on what platform?
...
I need to print a large image collection of pictures.
If I use something like:
printDocument.PrintPage += OnPrintPage;
printDocument.Print();
my printing task size in printer queue takes more than 1 GB!
Can anyone suggest how can I print the images one by one. Maybe some event like PrintJobIsFinished is available?
...
I have winforms app, in which I need to access a secured directory.
I'm using impersonation and create WindowsIdentity to access the folder.
My problem is writing unit tests to test the directory security; I'd like to a write a code that creates a directory secured to only ONE user, which isn't the current user running the UT (or else ...
I'm building an application that will move around some potentially large files, but I want to do it without disturbing the user's network connection by flooding it. I know that Windows BITS has this kind of functionality, and that's essentially what I'm looking to replicate (as far as the throttling goes). I know BITS has other functiona...
Hi to all,
I am just getting into MEF and was wondering how you could define the order of collection exported with [ImportMany]?
What I mean here is if I had two classes (Class1, Class2) that implement the interface IService and each of the implementations are in two different libraries (although they could be in the same), I want the ...
I have a long running task as part of my application. The task can be started, paused, resumed, and cancelled. I'm trying to find the best interface for these operations.
Two seem clear: Pause and Cancel. This leaves the start and resume operations. I could include both Start and Resume. This has the downside of either requiring the API...
I'm brainstorming some ideas around a pattern to use for the following scenario.
I have some 3rd party controls that I want to add common functionality to. Functionality is added by handling several of the the events and doing certain things when the events fire along with adding some private variables to hold some state info between e...
Hi
Im trying to add a reference to a dll i downloaded which I want to use for some sftp work.
as soon as i add it i get
"could not load file or asse3mble....failed to grant minimum permission requests"
Is this to do with my own account permissions?
thanks
DD
...
I need to print the contents of a datagridview, simple text in rows and columns, with GDI+ in .NET to paper.
To do this, I need to iterate over the rows, draw lines, iterate over the columns, calculate width, height, wrap the contents if contents do not fit on one line, etc. This is all possible, but is there a library that simplifies t...
Most multiple instance performance counters in Windows seem to automatically(?) have a #n on the end if there's more than one instance with the same name.
For example: if, in Perfmon, you look under the Process category, you'll see:
...
dwm
explorer
explorer#1
...
I have two explorer.exe processes, so the second counter has #1 append...
Suppose you have:
public enum Priority : short
{
Low = 100
Normal = 200,
High = 300
}
I'd like to call WCF service with following call
myWCF.call(Priority.Low);
myWCF.call(Priority.High);
myWCF.call(105);
Is that possible to do without rewriting half of WCF stack? I'd prefer as ...
Are there any services available that allow me to manipulate maps in an offline setting? I am working on a project that requires me to take a map and based on features on the map, generate a game world. I have looked at a few of the API's for different providers: Google, ms, etc. The API's I looked seem to be strictly showing a user a ma...
I have a fairly substantial library of web services built in .NET that I use as a data model for our company web sites. In most .NET applications I use the Global ASAX file for profiling, logging, and creating bug reports for all exceptions thrown by the application.
Global ASAX isn't available for web services so I'm curious as to what...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 + ADO.Net. Here is my code and related error message. The error message says, @Param1 is not supplied, but actually it is supplied in my code. Any ideas what is wrong?
System.Data.SqlClient.SqlException:
Procedure or function 'Pr_Foo' expects
parameter '@Param1', which was not...
Hey Guys,
I want to use a Datagrid as conten of another Datagrid's RowDetailsTemplate. It works nerarly perfect, but there is the problem, that the child Datagrid ColumnDefinition seems to have no effect.
Here is my Code:
<toolkit:DataGrid VerticalAlignment="Top" HorizontalAlignment="Stretch"
AutoGenerate...
I downloaded the source code from this tutorial after a failed attempt to make my own Wizard. The control works great and is integrating nicely into my program. I have one minor problem, though. I have a page that has both a databound ListBox and a databound TreeView. When changing to the next or previous page, the TreeView maintains its...
I'm in the process of designing a .NET API to allow developers to create RoboCup agents for the 3D simulated soccer league.
I'm pretty happy with how the API work with C# code, however I would like to use this project to improve my F# skill (which is currently based on reading rather than practice).
So I would like to ask what kinds of...
I use a visual studio setup & deploy project to install my components of my application. This has worked sucessfully with other applications and to allow the current version to install over the top of previous versions usually means just setting a property on the install project namely RemovePreviousVersions and setting that to true.
I...