Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top MS Visual C# Solutions: 1 - 25 of 717
 
A couple things I've never done. 1. Pass in command line parameter 2. Set global varialbe for winform 3. Force an application to close through code Goal : 1. Pass a single numeric va...
I am trying to find an easy way to copy files in C# across servers/domains/account.  I assumed that this would be an easy task until I started researching it about 4 hours ago.... The basic...
Hi Experts Hope you can help here. I have to admit I think this is a dumb question but I have been out of the Visual Studio Game since 2000 so please help! Ok here is the problem. I have...
I have the following code.. On right click, it brings up a nice pretty context menu.. However; This rigth click event is not tied to the TreeView Node, so that anywhere i right click brings ...
I have 5 dropdownmenu to get the year, month, day, hour and minutes in the following format: 2008 09 17 (= 2008-09-17) 11 15 00 (= 11:00:00) so, they can be formed as 2008-09-17 23:...
Hi I am writing my first c# winforms application. I am trying to read the connection string from an app.config file that looks like this <?xml version="1.0" encoding="utf-8" ?> <configurat...
Hello guys, I have a string in the following format. 37.6356141828677,-119.026451960508; 37.6355202516414,-119.026345176074; 37.6354248587871,-119.026240478262;...... I want to conv...
Good morning. I'm trying to connect a SQL Server 2005 Express Edition database to a C#.Net program.  However, the connection won't go through.  I've already checked with the DBAs, but the u...
Hi - My datagridview has two editable columns. I am doing cell validation to ensure cells are populated with data. The datagridview displays multiple rows.  Now, lets say the last row is hig...
I need to create a datagridview where one column is a checkbox. I need to do this dynamically and inside a windows form so, I can't drag and drop the checkbox to my datagridview. I need to und...
I want a class that returns an array of strings, but I don't know in advance how many elements the array will have: using System; using System.Collections.Generic; using System.Text; n...
Can anyone tell me why the following code doesn't work? I am getting the following error: Cannot apply indexing with [] to an expression of type 'System.Collections.ICollection.
Hey guys,          Ok, I've got a Windows Application, and I need to figure out how to add colors to my drop-down combo box. I had started a question on this before, but had to put this on ...
OK, I have a very nice TreeView, nodes, and many levels deep What i want to do is to save my TreeView to an XML File.. I am guessing this uses some type of Serialization My undestanding is...
Hi All, I am writing a program that opens up excel 2003 template files (.xlt), modifying a certain string in the codesheet, then saving the changes automatically.  So far I have the program...
Hello, I have the following statement to pull out email addresses from my db depending on selections made from a ddl list (I have added txttest to test that email is being retrieved). I would ...
I have, what I hope, is a simple question which I can't seem to find on the internet. I need to beable to call a button (button B) from another button (button A) on the client side just as ...
Ok so I have a datagrid that on each row databound creates a dynamic hidden control with if (!Page.IsPostBack)             {                 System.Web.UI.HtmlControls.HtmlInputHidden inp...
Hello, I have a drop down list of languages. Polish for example is: pl I'm not specifying the country like: pl-PL I would like to change the language, however I'm getting an error when d...
Hi I need to upload a csv or excel file which has one column (A) to an aspx page. It can read the row data one by one and insert into MSSQL DB. After the row of data inserted into MSSQL D...
Hi, I keep on getting the "Object reference not set to an instance of an object." error for the code below on this line: pallets[count][0] = Convert.ToInt16(rec.Field1.Text); I've deb...
Ok, I have a dataset that I bind to a Gridview. Part of the gridview is a template field with a CheckBox. What I'm trying to do is simply check to see if the box is checked. I've tried various...
Hi, I have a list box that is binding a table in access database. I have coded to add new data into the table. After entering the data I use this: Response.Redirect("ProjectF.aspx"); ...
I am writing a service in C#. It needs to take couple of command line arguments. If I add these to the "Start Parameters" within the service properties, then I cannot save those. Is there anot...
Hi, I have a nice method I created which reads some data from a database and creates a nice formatted XmlDocument where I can search for what I need. However, it is slow. Doing some digging...