Quantcast
Channel: Visual C# forum
Browsing all 31927 articles
Browse latest View live

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 Article


UI 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 Article


hide 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 Article

My 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 Article

Reverse 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 Article


Image may be NSFW.
Clik here to view.

Error 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 Article

How 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 Article

why 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 Article


ShDocVw.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 Article


how 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 Article

checking 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 Article

reading 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 Article

Is 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 Article


Getting 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 Article

How 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 Article


Image may be NSFW.
Clik here to view.

sinewave

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 Article

Image may be NSFW.
Clik here to view.

Add 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 Article


Help 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 Article

best 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 Article

RunspaceFactory.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
Browsing all 31927 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>