4,588 Topics

Member Avatar for
Member Avatar for pivotcity

just asking for assistance with the menu items as they are set to uppercase M, R, C, X in the case statements how can this be modified to accept 'm' or 'M' as valid input. [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace PracticalTest5 { class …

Member Avatar for Singlem
0
3K
Member Avatar for ddanbe

What polar coordinates are is explained [url=http://en.wikipedia.org/wiki/Polar_coordinate_system]here[/url]. I wanted to draw some polar functions myself, so I changed my [url=http://www.daniweb.com/software-development/csharp/code/217204]plotting class [/url] a bit and added a polar struct to a new project.. Just posted code for the Plot class and the polar point structure here. You can find an …

2
1K
Member Avatar for kiran.madke

can one give me a link or code for forum. i am doing a project and i want to add a forum in my website so user can interact with other i want a perfect c#.net code and back end is sql server 2005 can any one help me pls?

Member Avatar for niyitanga
-2
174
Member Avatar for satish4206

hi this is my first qery here.i joined a software company.my stream is .net i am from a maths background,id dontknow any thing at allabout c and c++.i joined a crsh course in c and completed nearly 60%.what topics should i stress in c and c++ so that i can …

Member Avatar for RvSon
0
176
Member Avatar for JamesW315

I wrote a program that converts Celsius to Fahrenheit and vice versa. when converting Celsius to Fahrenheit I used the formula (9/5) * Celsius + 32. but that didn't work, I discovered that 9/5 was returning 1 rather than 1.8 and I'm not sure why that is. I fixed the …

Member Avatar for JamesW315
0
103
Member Avatar for jas2010

I wanted to connect mysql with C# But I was faced with the following error error text:connection unexpectedly terminated Please help me

Member Avatar for shahnawaz1992
0
240
Member Avatar for sah

I want to develop a [B]web application[/B] using asp.net(C#) that can take an image from a scanner (Microtek: scanmaker 1000XL). when a "Scan" button is clicked then the application will capture the image from the scanner. The scanner is Twain compatible. Can I get any sample codes for this web …

0
71
Member Avatar for restrictment

Hey guys, I need a really simple code for chatting across consoles. I have looked up many tutorials on how to do this, yet they all seem to fail. All I want is a VERY simple chat that sends data from the client to a file, and then receives the …

Member Avatar for restrictment
0
1K
Member Avatar for p@rse

We have a Timestamp site on our network that uses an older version of IE to render the page, every time you visit the page in IE8 you cannot interact with it, what shows is an infinite image of the hour glass next to the mouse. We have been using …

0
53
Member Avatar for dreadiscool

Hi everyone. I have a web server that I wrote in C#, and it serves HTML documents pretty fine. The code is a bit messy, and I'm going to clean it up, but my main question is how to handle POST when submit buttons are used in HTML? Thanks! This …

Member Avatar for thines01
0
3K
Member Avatar for CeeGee

Hi all, I am a newbie to C# and need help bad. I am to use looping (do,for, while or any combination).The program will accept a letter 'A' example and then end. What am i doing wrong. Three salespeople work at Sunshine Hot Tubs-Andrea, Brittany, and Eric. Write a program …

Member Avatar for ddanbe
0
1K
Member Avatar for bhagawatshinde

Hi Guys, Can Anybody tell me where i am wrong. The event can't be fired on clicking button6[CODE] private void button6_Click(object sender, EventArgs e) { this .button7.Click +=new EventHandler(button7_Click); } private void button7_Click(object sender,EventArgs e) { MessageBox.Show("Button7 Clicked when ur pressing button6"); }[/CODE]

Member Avatar for bhagawatshinde
0
9K
Member Avatar for murali53

I have developed c# application which is not having any database.I have saved the application with data in rich textboxes in my custom file format.When i click on the saved application,I can open my application but,i was unable to open with the data saved in it. How to load the …

Member Avatar for nick.crane
0
172
Member Avatar for junharefa

Hi all, I want to create code to delete row in datagridview based on checkBox selection. I've managed added the checkBox Button using code below: private void FormTampil_Load(object sender, EventArgs e) { DataGridViewCheckBoxColumn checkboxColumn = new DataGridViewCheckBoxColumn(); checkboxColumn.Width = 30; checkboxColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; dataGridView1.Columns.Insert(0, checkboxColumn); // add checkbox header Rectangle …

Member Avatar for Mitja Bonca
0
374
Member Avatar for junharefa

I want to insert data from the textBox to MySQL Database. Here is the code snipped that I have created. [CODE]private void button6_Click(object sender, EventArgs e) { string connectionSQL = "server=localhost;database=db_junisman_kulit;uid=root;password=;"; MySqlConnection conn = new MySqlConnection(); double no_simpan = 0; try { conn.Open(); MySqlCommand cmd = new MySqlCommand("INSERT INTO tb_backorder …

Member Avatar for Mitja Bonca
0
1K
Member Avatar for JustCC

I'm a mid-level web developer (4 years of experience) with most of my programming background in PHP and MySQL. Recently I have gotten interested in C# to expand my knowledge and I have grown fond of it. but I'm encountering a problem in looking for an appropriate job that reflects …

Member Avatar for Narue
0
235
Member Avatar for ahmed elweshahy

[COLOR="Green"]i wanna ask u if there are new fine and good controls in c# 2010 ???[/COLOR]

Member Avatar for ddanbe
0
60
Member Avatar for Kimpl

I've been working on compression and decompression between Java and C#, using deflate and inflate. Everything else I tried produced varying results which were never able to be compressed/decompressed flawlessly between Java and C#. I tested out using DeflateStream (C#) to compress data, and InflaterInputStream (Java) to decompress the data, …

Member Avatar for Kimpl
0
226
Member Avatar for king03

What do you call those statements highlighted in red? [CODE] using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program {[COLOR="Red"] static void Main()[/COLOR] { int choice; Console.WriteLine("Please select below"); Console.WriteLine(); Console.WriteLine("1. Area of a Circle"); Console.WriteLine("2. Area of a Rectangle"); Console.WriteLine("3. Area of a Cylinder"); Console.WriteLine(); choice = …

Member Avatar for Momerath
0
151
Member Avatar for mrjimoy_05

I am a newbie in Visual Studio (C#). I want to store a text read from a text file and display it on a TextBlock control, but just for a specified row. How can I do that? I've try to search on the internet, and most of them just show …

Member Avatar for nick.crane
0
1K
Member Avatar for judithSampathwa

hi, i am creatnig an windows desktop application. and in the main form i have a menu stript. what i want to do is attached one user control to eacn menu stript. each user control has a different design. how can i do this??? any tutorial

Member Avatar for nick.crane
0
210
Member Avatar for keerti_somu

Hi, I am trying to call a simple fortran subroutine from a C++ interface and in turn call this C++ function from a C# application. Here is the fortran subroutine : [CODE]program hello_world2 implicit none c call hello call hello end subroutine hello !DEC$ ATTRIBUTES DLLEXPORT :: hello implicit none …

Member Avatar for thines01
0
341
Member Avatar for lianpiau

I want let exe detect new version of exe. Then it will update itself. my program is develop in Microsoft Visual Studio 2008 C# windows form application.

Member Avatar for nick.crane
0
76
Member Avatar for adem87
Member Avatar for kvprajapati
0
67
Member Avatar for duke_swh

Hi, I'm trying to send an email using a lotus notes account and c# which is working fine. It is a two part mail which consistes of an HTML formatted message and attachment/s. The problem i'm encountering is when I have multiple attachments in different file formats. For example when …

0
283
Member Avatar for d87c

Hi All, I have a problem I have a MySQL Table, one of the columns' Data Type is TinyInt(1) When I use this line of code it gives an error int newNumber = int.Parse(string.Format("{0}", reader["someField"])); I think the reader is reading a bool value however MySQL Table has row values …

Member Avatar for Momerath
0
129
Member Avatar for surferxo3

I have a winform with 3 textboxes; 1 for Day, 2 for Month & 3 for Year plus a button when clicked opens a new form which has the reportViewer1 control there to display the report. I have no problem with just adding a dataset and adding fill & get …

0
106
Member Avatar for l3l4c7_h4t

hello I want create game server in my City which can many people play at the same time, but not only one game, there can n games running. i want to create 2 programs: [LIST=1] [*]for Clients (players) [*]for server (game server) [/LIST] So when someone would like to start …

Member Avatar for kvprajapati
0
273
Member Avatar for ddanbe

I saw a thread lately on this site to rotate an integer. Seemed like a fun project to do. There are probably more efficient solutions out there but this is mine, and indeed it was fun! It is mostly a demo on how you could use the less known shift …

Member Avatar for kel634
0
2K
Member Avatar for grvs

Hi I have just started C# (again) and written a small program. I have installed Microsoft Visual C# 2008 Express Edition. Now I want to compile and run my program but "start debugging (F5)" option is faded. Also I can't find any csc.exe file in the main directory where Visual …

Member Avatar for prit005
0
150

The End.