Problem using CSharpCodeProvider to add types at runtime
I am having an intermittent problem adding C# types from Powershell. (If this isn't the right forum, please advise me on where to post my question).I originally encountered this issue using the...
View Articlec# textbox multi line
i am not gettting value in textbox whereelse i can get in combobox List<string> list = cmcom.System(textBox1.Text); int i = 0; foreach...
View ArticleSystem.OutOfMemoryException was thrown by System.messaging assembly.
Hi,In our c# application we are trying to find the Message count and thats throwing the System.OutOfMemoryException. Can someone please help me resolve this error? I'm positive that the system has...
View ArticleC# windows form allow user to select directory path location
In a new C# 2010 windows form application that I will be writing, I have the following items to mention: 1. The form will have the following 2 places for the user to select/enter data: a. customer...
View ArticleDataAccess Classes and inheritance?
Hi,I'm trying to build a simple program that pulls some data from our database and displays it in a grid. I recently read a blog that suggested building DataAccess Classes to help separate that...
View ArticleExport data in to excel using xml file/string using XSLT
Hi,I have a XML string appended with XSL file tag<?xml-stylesheet type="text/xsl" href="myXSL.xsl"?> and XSL formatting is fine, with which I can see o/p on webpage using table, tr, td tags...
View Article.net 4.5 will not connect to shared file server
I am using VS2012 to build my application and I need to connect to a file server. I can put a direct link to the server in the url and get there but if I put http in front it will not. I have tried to...
View ArticleExtract Zip or Rar file using C# Netframework 4.0
Hello,I need to Extract files from *.zip or *.rar file in my C# Windows Form application. It doesn't meter whether it will be zip file or rar file, I just need to be able to extract downloaded file.I...
View ArticleCheckedListBox winForm c#
Buenas tengo un problema con el control CheckedListBox c# el cual lo lleno con valores de la base de datos (uso 3 tablas) en la cual tengo una de autos relacionada con colores y en la tercera almaceno...
View ArticleHow to change/refresh/reload paging when DropDown value changes?
I have a DropDownlist and GridView in my application. when i select a value in dropdownlist the related data will be populated in GridView with paging( in my case i have 20 rows per page), and if i...
View ArticleC# Date Program
I am new to C# and am taking a course on it. I need help creating a program where the user enters the day, month and year seperately. They day needs to be between 1 and 30 or 31 or 28, Month 1-12 and...
View Articledo...while loop
So I've only been writing in C# for about a day now, and I've been searching the internet for almost an hour and can't seem to find something like my code that actually works. Looks like this:do...
View ArticleDeploying ClickOnce application in Windows 8 issues
I have a ClickOnce application which is being done in Visual Studio 2012 and targeting .NET 4.0 FULL. The program has been used without any issues on Windows XP, Windows VISTA and Windows 7. The only...
View Articlehow to resolve a library class that is causing namespace conflict?
I use 2 dlls in the project TweetSharp.dll and TweetSharp.Twitter.dll I have to use both of them, and I have having a problem with a class : TwitterClientInfo TwitterClientInfo is from both...
View ArticlePrint a PDF
I'm looking for a way to print (to a printer) a PDF file from within a C# program, programatically.I have a poor solution which requires adobe acrobat reader be installed, and while printing it opens...
View ArticleObject-oriented thinking
HiIf the code is open source programs that are designed to check for object oriented You see a lot of professionals have analyzed your system and all connected sessions are generally written based on...
View Articlehow to perform insert,update and delete operation on gridview in C# net
how to perform insert,update and delete operation on gridview
View ArticleAdding reference: Application.
Hi, im using #Develop to create an application that has buttons that open new forms. This requires Aplication.Run in a certain spot according to a C# guide. Everything works properly except it says:The...
View ArticleConfused about integrating the .NET technologies
Hi,I know how to program with C#. I know some VB.net. I know how to program something simple in WPF. I know how to use Excel by VSTO.But what I don't know that how do I integrate this all together....
View Article