I'm mostly looking for ideas here. The odds of my group purchasing something to solve the problem is incredibly low, but go ahead and suggest any commercial products that would help.
The basic problem stems from the following scenario:
Users input data into a form, which auto-populates some values based on existing data.
This data is...
I am filling a datatable in my windows application. The data table looks like this
date product
aug 2010 ABC-1
aug 2010 XYZ-1
aug 2010 MNO-2
aug 2010 WOR-4
sep 2010 XYZ-2
sep 2010 RES-3
sep 2010 WOR-4
I want to display a message box in this format
aug 2010 - ABC-1,XYZ-1........
...
http://msdn.microsoft.com/en-us/library/system.net.openwritecompletedeventargs.result(VS.95).aspx
I'm writing a .NET app (Silverlight API) using the WebClient class. I'm simply wanting to get an XML-style result of a server script after uploading a file Async. I figured the Result stream inside of OpenWriteCompletedEventArgs would be w...
Is it possible to host an ASP.net (MVC in particular, but I'm not sure if that's important) application from a self-hosted WCF service? I don't want to get into IIS, and I'd like to avoid something like Cassini if possible.
Sorry if this is a duplicate, it's really hard to find questions on this (everything is WCF on ASP, not the other ...
I'm upgrading a .Net application from .net 1.1 to 3.5. All the themes are stored in a folder called Themes, the new .Net 3.5 framework wants this information in a folder called App_Themes. It will be a major refactoring for me to move everything to a App_Themes folder.
So I want to ask if there is a way to tell .Net what folder to use ...
Update: It occurred to me after posting this question that the main downside of this idea would simply be that such a type would be easy to use improperly. That is, the type would have to be used in a very specific way to draw any benefits. What I originally had in mind was something that would be used like this (sticking with the Square...
I have a fairly long parallel foreach loop I need to run. Over 100 computers on the network will be accessed and each operation on each computer will take a few seconds. Parallel foreach loops seem like the perfect solution for this to speed up the process.
What visual clues have you been able to come up with that will make it easy fo...
In a shell application, I need to be able to load and execute other .NET assemblies at runtime, but without giving them full trust. Essentially, I want to limit them (the loaded assemblies) from touching any system resources (threading, networking, etc), with the only exception being isolated storage. However, assemblies which are from "...
Are there any good ways to limit the number of times an application can start or limit how long it can be used for under Windows 7 and using C#?
As far as I can see the registry can be easily edited, there are programs to report any kind of file access, virtual machines can be used to change the system time back to when the application ...
What is the software architecture that best describes a windows application directly communicating to a database?
...
I need to extract the resources from a .NET application to a location on my hard drive. How can I do this?
eg.
I have a exe file in my c# resources and i want to copy the resource file to my harddrive programaticaly.
...
Markup
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
<Columns>
<asp:BoundField DataField="insured_first_name" HeaderText="First Name" />
<asp:BoundField DataField="insured_first_name" HeaderText="Middle Name" />
<asp:BoundField DataField="insured_last_name" HeaderText="Last Name" />
</C...
Can I programmatically consume and render custom map tiles in ArcMap via our ArcGIS 10 Desktop AddIn?
The AddIn is built using the ArcObjects SDK for C#/.NET and ArcGIS 10. Pulling and rendering map tiles is NOT the AddIn's primary function. But we would definitely like to implement this feature if it can be done.
More specifics:
...
I'm starting to dip my toes in the world of network programming and I've recently come across a fairly old sample from a lecturers tutorial (Or so I'm told).
We tried it on the university computers but it wouldn't work so the lecturer assumed it was down to a security setting either by Windows 7 or by the university computer systems.
E...
PROBLEM:
I have a Child class which uses DataContractSerialization and raises a Changed event when its Name property is set.
<DataContract()>
Public Class Child
Public Event Changed()
<DataMember()>
Private _Name As String
Public Sub New(ByVal NewName As String)
_Name = NewName
End Sub
Public Propert...
I'm trying out Sandcastle Help File Builder. If I run the build from the gui I'm getting this error:
C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" was not found
This is because it's in C:\Program Files (x86) directory.
So how do I configure to use that dir instead?
...
I have very simple situation and really don't have a clue why this isn't working.
This is my schema:
**[item]**
id (PK)
symbol
**[item_version]**
id (PK)
item_id (FK->ITEM)
symbol
These are my mappings:
item.hbm.xml
<class name="Core.Model.Entities.Item, Core.Model" table="item" lazy="false">
<id name="Id" column="id" type="lo...
Possible Duplicate:
Why doesn't .NET have a SoftReference as well as a WeakReference, like Java?
Java has several types of references, two of these are Weak and Soft. I know that .NET has Weak references but does it have Soft ones too?
(Soft references are stronger than Weak ones in that they will try to keep an object alive...
I have this online quiz wherein it generates random questions but the only problem that's left is that it repeats the previous questions...
i have this limited questions (i.e i have 10 questions in my table but my limited questions is set to be 5 ..the output would only display 5 random questions) which i named as RequiredRecords
ques...
Hello guys,
To start off, I'd like to say I'm rather unfamiliar with the Windows linking system. (Most of my programming experience was acquired on Mac OS, on which linking libraries and framework is radically different. I'm also not much of a Windows user.)
This is my setup: I've got two projects in the same solution. The first is a C...