String.TrimStart Doesn't Work
Hi,I am trying to trim the leading tab from a string. It seems like it should be very simple, but it just doesn't work.I am using:csContentString.TrimStart('\t');Can somebody help?
View ArticleConnectionString to SQL Server
In .NET, is it possible to pass a Windows Account username / password to SQL Server? like thisString connectionString = @"Server=ServerName123;Database=DBName123;User...
View Articlehow to use airplane images, LOPA(Layout of Passenger Accommodations )
Hi everyone,I am developing mobile app(c#) using Windows CE and Windows mobile.I need to use airplane seat images (LOPA) to change seat color depends on condition. I would use more than 20 airplanes...
View Articleloading projects for manipulation
Hi,I currently have a need to programmatically add an existing file to a project. To do this, I have referenced Microsoft.Build (4.0) from my 4.5 project. I then use the following code to load the...
View Articlehow to convert eml files to pst format
any idea about converting multiple eml's into single pst
View Article.NET Framework natively supported encodings
Hi, I am looking at this method from Encoding class.http://msdn.microsoft.com/en-us/library/wzsz3bk3.aspxIt mentioned that "The GetEncoding method relies on the underlying platform to support most code...
View ArticleCommon Language Runtime detected an invalid program..
Hi , We are getting error when we access our wcf service hosted on IIS of window server 2003 with service pack 2 after windows automatic system update. The error is coming for all the services that...
View ArticleTraceEventSession (from the NuGet package) won't start processing without a...
Hi,I am using ETW to audit certain actions in an ASP.NET MVC application.To trace the events one of the deployment options we have is a Windows Service (out-of-process) that will store everything on a...
View ArticleCreate App.Config on the Solution
Hey, I added an app.config on my solution, because i need to get constants values that Admin user will need to change... , i know i can use a list of sahrepoint... i can use web.config... but what i...
View ArticleTransprent window form like window 7 windows in asp.net c#
how to make window form transparent like window 7 windows in asp.net c#
View Articlecreate database through coding and save user name and password in asp.net c#
how to create database through coding in asp.net c# which save user name and password.
View ArticleFtpWebResponse.Close Exception after large file donwloaded
Hello everyone,Thanks for looking into it.My problem is the following:I donwload backup files from IIS FTP server almost all of them are 500-800 MBytes and one of them 4GBytes in length.500-800 files...
View ArticleSharePoint web pages inside ASP.NET web app
Hello,We have a huge SharePoint web site of which most of the pages, web parts are controlled by Admins.I was thinking of abstracting out common features such as Templates, Navigation, Footer to...
View Articleexcel and word primary interop reference trouble in a class
in a class library there exists references and use of Microsoft.Office.Interop.Excel and office core from PIAnow I tried to add new class using reference to Microsoft.Office.Interop.Word. I add...
View Articleneed answers
Hi I a m a student, and i am reading the book call C# for Students revised edition by Douglas Bell and Mike Parr. the exercises in this book come without answers, please if anyone has the answers,...
View ArticleShortDateFormat and clock
Hi,I'm working on a software which displays dates and times, using Calendars or grid.I'm trying to display them the same way the user sees them in its system clock, at lower-right corner of the...
View ArticleGenerate GUID 20 or 30 Character
Hello Everyone,I have a different kind of requirement where i need to generate a 20/30 character GUID. Please Advise.Thanks in Advance.RegardsCC
View ArticleC# - .NET 4.5 Speech Recognition problems
Hello, my name's Jake Cross! I've recently ran into a problem when I upgrade to Visual Studio 2013 running .NET 4.5. I've been using Sharp-develop for programming C# with the .NET 4.0 framework but and...
View ArticleDeserializing JSON with array of different element types using...
I want to deserialize GeoJSON with my extension. GeoJSON has coordinates for lines as{ coordinates:[[longitude1, latitude1],[longitude2, latitude2, optional_altitude2]]} This is extendible beyond...
View ArticleSystem.Json does not exist in VS 2012 with .net 4.5.2
HiI don't seem to be able to include the System.Json namespace with VisualStudio 2012 update 4 and the .net Framework 4.5.2.What I tried: - install update 4 for VisualStudio - install the new .net...
View Article