Could not reach code
I have a telephony application, in which I am going to record the call parties conversation. The framework I am using is from record conversation.The implement is done by a separate thread.private...
View ArticleUI Automation
Hi,I have a dockable pane in my GUI it looks like the Properties pane in Visual studio 2010 .In my dockable pane window i have a toolbar with buttons, I am trying to automate(C++ or C#) it-- from...
View Articlehide excel column using excellibrary C#
hai guys.. i need help.. i download and used excellibrary in my coding. i need help in calling my function from database to excel.. i cannot hide certain columns such as id number for example.. hope...
View ArticleMy rectangles disappear immediately after drawn on panel
Hi everyone,Providing my code can you tell what's to be improved, so that my shapes stay on panel after I release the left mouse button? Currently I see them drawing, but as soon as I finish dragging...
View ArticleReverse compatibility between VS 2013 to VS 2012
Is there any reverse compatibility issues between VS 2013 to VS 2012 ? Previously I used to automate my application using VS 2013. And now I wish to switch back to VS 2012. Please do let me know if any...
View ArticleError in Mapping Table C#
Dear All,Based on below code, i want to update the data in datagridview. May i know why i get the Error unable to find in mapping table ?is there any miss out ? kindly advise, thank you private void...
View ArticleHow to solve the "not all code paths return a value" in my program?
Here's my program:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 9.0 { class Program { static void Main(string[] args) { Console.WriteLine("Enter the...
View Articlewhy can not get the object which has putobject after getobject
http://msdn.microsoft.com/en-us/library/ff458671(v=vs.110).aspxget 1 and 2and assume i putobject 1 back to object pool, why it can not get object with id 1 in later's getobjectwould like to try making...
View ArticleShDocVw.ShellWindows sw = new ShellWindows();
Hi running application that I deployed in xenapp 6 citrix running on windows 2008 r2 64 bitand getting the following error: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM...
View Articlehow can it get object without put object initially in this example
http://msdn.microsoft.com/en-us/library/ff458671(v=vs.110).aspxParallel.For(0, 1000000, (i, loopState) => { MyClass mc = pool.GetObject();// the code before this line of code, no putobject, how it...
View Articlechecking if incoming data in excel present inside db (C#)
Hello, I have an excel spreadsheet which has the field coursenameNow I need to check if the data in the excel sheet is present inside the data base table courseThis has to be written in C#Please...
View Articlereading more than one xml node
Hi,I'm writing a web application using .NET and C# that uses an Xml file for username and password storage. I need the password to be entered first then checked against the Xml file which redirects to...
View ArticleIs there a way to generate c# with xml comments from XSD annotation?
I've got a fully documented XSD and I would like to be able to generate c# with xml comments from the documentation in the XSD.<xs:complexType...
View ArticleGetting a SQL query from a textbox
I'm trying to get a SQL query to run from what was entered into a text box. So far I have a text box, button and a GridView linked to the AdventureWorks database. I'm obviously doing something wrong...
View ArticleHow to compress a PDF File?
Hi, I want to compress a pdf file. If a user uploads a pdf file then the file size is 2 MB or 3 MB like that what ever the file size that file size should be compressed in to 1 MB or bellow.Is...
View Articlesinewave
I am trying to out put a sinewave to a graph.. but it do not look like a sinewave should look.this is my function temp = (Peak * Math.Sin((2D * Math.PI * y * Frequency))); list.Add(y,...
View ArticleAdd Custom Properties To PDF Files Metadata
Hi,I am trying to a Property to a PDF file.I get this screen when I go into the properties of a PDF. My Objective is to add a custom field here with Property of "Address" and then a value of 9999 Test...
View ArticleHelp please! I need to make a text base game for my class
I need help for my game programming class. I have to create a text base game. Here is my requirements.For your Final Project you will be taking everything that you have learned this semester and apply...
View Articlebest way to compare four or more strings
Is there any shorter/simpler way to do this?if (Button1.Text == Button2.Text || Button1.Text == Button3.Text || Button1.Text == Button4.Text || Button2.Text == Button3.Text || Button2.Text ==...
View ArticleRunspaceFactory.CreateRunspace memory leak?
Hi all,I have read many reports on different forums that people are finding Runspace objects created by RunspaceFactory.CreateRunspace cannot be cleanly disposed. These findings have been reported from...
View Article