Linq changes my architecture
Dear reader,a while ago, I learnt LinQ. I love it and I made two observationsFirst:My code shrinked a lot :-)) Many for-loops are substituted by single line...
View ArticleC# local database search particular name (Query Builder)
I want to search for a name in a local database which is connected with C# windows form using Query Builder. I tried it with this code.LIKE @Name+ '%'It gives me a textbox and a button what can be use...
View ArticleHow to play the microphone audio by using C#?
Hi,I want to play the audio of microphone input. What should I do?
View ArticleC# limitation in real-time computing
I read the book "Professional C# 2008" by Christian Nagel, below is one of the C# limitation that author mention:- Before we leave the subject, we should point out a couple of limitations of C#. The...
View ArticleChanging .NET target framework makes my code doesn't work.
I was trying changing targeted .NET framework from 4.5 to 3.5 and got some of messages like below: 1.The type or namespace name 'Tasks' does not exist in the namespace 'System.Threading' (are you...
View ArticleUnable to Fetch the value from HTML DIV TAG Page
Hi, I am new to .net development .i am unable to fetch the value from the tag .I has value while running it showing as null value is there.HTML Tag : <div title=sample"...
View ArticleTwain can not CloseDS with error "Attempted to read or write protected...
Hi,I have used twain library to scanning my document in my application and its worked just fine. After I upgrade to windows 8.1, error "Attempted to read or write protected memory" has occurred. Twain...
View ArticleWhat should i start with building my application for an electronic device as...
Hello, i am doing my Final YEar project and i am civil Engineer. We are creating an Electronic Gadget for Bridge classification. What would you recommend to start with. I have learned Basics of...
View Articleclass returned from inside when and why
Please see the following codingpublic class Shape { public double Width { get; set; } public double Height { get; set; } public override string ToString() { return String.Format("Width: {0}, Height:...
View ArticleDelete SharePoint list all items using C# WPF Application
I would like to create a program which retrieve and delete the SharePoint list items.My "cmdGetRequests" click button is working perfectly using below code. Now I want to have a button which will...
View ArticleThe remote server returned an unexpected response: (400) Bad...
hi, I created a simple web service client to consume a method from this wsdl file(http://services.healthindicators.gov/v4/SOAP.svc?wsdl): but got an error: The remote server returned an unexpected...
View ArticleHow to globally capture key presses
Hello, I have a barcode scanner which I need to capture the output of. The scanner outputs the barcode it scanned as key presses, so I wrote some code in C# to capture those even though my application...
View ArticleFile.Move Not Moving File
This code is not moving my file and is not producing an error either. If I step through the code it is producing file names for "file" but for some reason just not moving...string[] files =...
View ArticleExport SSRS report using console application?
I recently saw the following link, which exports the report in a certain format to a specific location: http://forums.asp.net/t/1746293.aspx?How+to+write+SSRS+report+into+server+folder+as+Excel+FileThe...
View ArticleOleDbConnection - object reference not set to an instance of an object
I have a form an one button on it,below is very really simple my code:private void ConnectDb() { try { connect = new OleDbConnection(); connect.ConnectionString =...
View ArticleHow can I open a C# exe?
I'm trying to open a C# exe. I keep getting the message below.I Googled this, and found this link.http://stackoverflow.com/questions/5379870/changing-project-build-configuration-to-debug-modeThat...
View Articleda SQL a Linq
Salve...mi aiutate a tradurre questa query SQL in Linq To Sql???SELECT Clienti.No_, Clienti.Name, Clienti.City, Clienti.County, Clienti.[Phone No_], Clienti.[VAT Registration No_],...
View ArticleSetup Project - library stops working
I'm using the FANN (Fast Artificial Neural Network) library, and if I launch the application from Visual Studios everything works fine. However, I created an installer using the Setup Project, and...
View ArticleRunning SSIS through C# app causing proxy error; running through SQL server...
Hey everyone:We have some SSIS packages using the SharepointListAdapter .Net component for SSIS.When we run the SSIS packages through the SQL Job Agent, they run fine and do not through any...
View Article