I am writing a backup service to backup a SQL database and save it in cloud storage. I have actually implemented this already with Amazon S3 but as the application will be distributed to customers, I cannot have the API keys stored with the application. I considered using a web service to provide the keys, but it's not my best option at ...
I have a program that is generating Xml Files from data out of a database. In short code it does the following:
string dsn = "a db connection string";
XmlDocument d = new XmlDocument();
using (SqlConnection con = new SqlConnection(dsn)) {
con.Open();
string sql = "select id as Id, comment as Comment from Test where ... ";
us...
Here is the layout I want:
Grid with 2 columns, 2 rows
Row 1 should contain a group box that spans both columns.
Row 2, Column 1 will contain a group box
Row 2, Column 2 will contain another group box.
In row 1's group box, I want the left side to have a stack of labels/combo boxes. On the right side will be a stack of labels/checkbo...
Hi,
I am trying to decrypt an MS Office 2007 document by .NET code.
I know the password to open and the encryption provider (obviously), but can not find any example on how to get the Package object from the EncryptedPackageEnvelope.
All MS examples are DRM related, but the documents only have a password to open.
Please help! Thanks!
...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 + SQL Server 2008 + ASP.Net + IIS 7 to develop web application. Any quick and easy to learn tutorial for report viewer -- I want to generate report based on data from SQL Server 2008. Basic design and implementation function is fine, no need to learn advanced topics about report revie...
I am looking into the PureComponents .NET Suite for a WinForms project. The controls seem to offer a lot of nice function but we are concerned about their stability. Does anyone have experience with these controls?
http://www.purecomponents.com
...
Hi,
we would like to build a screensaver that shows the desktop and the running applications but prevents user input by showing the login screen. The idea was to build a windows app with no window or a transparent window. However, as soon as the screensaver gets activated the desktop and all applications are hidden from the screen.
Is ...
I maintain a small app which is built in VC++ 2008 (a .net app) which I distribute using innosetup.
Currently I manually update the version number in the header of the main app:
static String^ m_version = "1.1";
static String^ m_build = "1";
The software puts this together internally to report v1.1.1 in this case. To do a release I t...
Hi, I'd like to create a Window Service that can load several DLLs from a certain location and publish them using Remoting on a specific TCP port (let's say 9000).
Each DLL contains a single class that will published.
For example (Test.dll)
namespace Test
{
class Service
{
// methods here
}
}
The service should publish it ...
I remember when .NET 4 was in beta there was a video of a developer that made a command-line app that he could type C# code into and it would compile the code on the fly. The idea was that the compiler was now available in the .NET language.
Anyone recall where this is? I need to create an application with a small macro language and I ...
I wonder what options there is to handle the above scenario?
...
Dynamic Linq is provided as a sample for VS2008, not as a "real" project (no official site, no support, no issue tracking, no new releases...).
So I was wondering, how reliable is it ? Is it suitable for production use ?
...
I have been studying .NET 4.0 Code Contracts and looking on stackoverflow as well at question regarding this.
I still have never come across any sample code that uses code contracts so that gets me wondering.. is this really useful ? Or maybe its only useful one your code reaches a certain complexity? Anyone out there using Code Contra...
Project being built on
ASP.net v 2
VB.net
IIS 6
SQL Server 2005 database
Would it be more convenient for me to build it using Visual Studio 2005 or Visual Web Developer 2010 Express? I.e., is VS2005 useless for web development projects since Vis. Web Dev has all the fancy new stuff?
...
We're migrating a bunch of printers from server 2003 to server 2008. This involves building new server 2008 boxes and decommissioning the older 2003 ones. There are alot of servers and a lot of printers. Are there ways to write a vb script or maybe a .net app to copy network printers from one server to another?
...
I'm designing a new system, and I have need to store a pretty large volume of different type of data, with realitivly few rows per type.
I know that if I were doing this with SQL Server (I don't want to use a SQL Azure database for this.) I'd make a new table for each type of data and make the correct relationships. I'm wondering if any...
Hello guys!
Take a look at this class:
public class MemorialPoint:IMemorialPoint,IEqualityComparer<MemorialPoint>
{
private string _PointName;
private IPoint _PointLocation;
private MemorialPointType _PointType;
private DateTime _PointStartTime;
private DateTime _PointFinishTime;
private string _NeighborName;
...
I added a solution configuration called 'Staging'. It does show up on the drop down in VS, but not in the Configuration Manager in 'Package/Publish Web' screen. On this screen, the ones I see in the dropdown are:
Active (Release)
Debug
Release
All Configurations
I don't see Staging in here for me to package in the Staging mode
...
Hi. Would you use Spring for a .net application? It is a big winforms application. I ask this because its been a while since there is any new version of spring.
What framework do you use for dependency injection???
Thanks
...
(I know about the other MEF/MAF questions but this is a more specific problem)
I want to create a WPF application that will basically be just a simple add-in host, GUI and settings. All of the actual work will be done by one or more plugin(s). They don't need to communicate between each other, the main application will send user input/c...