Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
6 Commented Posts
0 Endorsements
Ranked #686
~19.1K People Reached
Favorite Forums
Member Avatar for neetika reddy

Hi, I am trying to get TextBox. Whenever I click on the button I should get a TextBox. Here is my code. But I am getting only one TextBox. Collapse private void button1_Click_1(object sender, EventArgs e) { txtRun = new TextBox(); txtRun.Name = "txtDynamic"; txtRun.Location = new System.Drawing.Point(20, 18); txtRun.Size …

Member Avatar for LyndonBroz
0
5K
Member Avatar for Usmaan

Yes, i'm a noob - Bite me. And yes, I've read seemingly countless tutorials which explain, or, "try" to explain what a "Constructor" is. Obviously, they failed to digest in my brain. Is there any well-to-do person in here who can help me? Is there anyone who can possibly explain …

Member Avatar for Mitja Bonca
-1
195
Member Avatar for prakash2813

Hi...Friends... I have posted a threads about the custom window in C#... But WPF is a better way to create a custom window..... I don't want to the basic wpf procedures...I just want to know the steps to create a custom window in WPF..or if u have any direct link …

Member Avatar for CloneXpert
0
110
Member Avatar for dotancohen

Hi all, first post. I am a C# novice, but I have some experience in other C-derived languages. I am trying to close a Windows Form and open another. This is the code that I am trying to use: [code=c#] FormChat fm = new FormChat(client, username); fm.Show(); fm.Activate(); this.Close(); [/code] …

Member Avatar for dotancohen
0
185
Member Avatar for vedro-compota

Hi. Could you tell me - what is wrong here - [CODE] public class MAP { public string MAP(string FilePath) { FileStream fs; try { fs = new FileStream(FilePath, FileMode.Open); } catch (FileNotFoundException exp) { return exp.Message; } catch { return "Не удаётся открыть файл"; } return "all right!"; } …

Member Avatar for vedro-compota
0
178
Member Avatar for destruct0

Hi !!! I have problem with Refreshing or Redrawing my Window Form. I have one Rich Text Box on my Form and i have a list of title of books on it. I wish when I add a new title book to Rich Text Box to Refresh/Redraw the all Windows …

Member Avatar for hassan12345
0
3K
Member Avatar for deepak_1706

In my Forms application i tried to resize a pictureBox control during runtime and it seems to give some trouble. There is scale factor scalex , scaley which i applied to the width and height property of the control. [CODE] tempw = 980.0f; temph = 130.0f; tempw = float.Parse(pictureBox1.Width.ToString()); temph …

Member Avatar for deepak_1706
0
133
Member Avatar for dinesh.isuranga
Member Avatar for JayshrreeU

Pls help me. floodfill in not working in C#. every code is working but following code is not store the image with fillcolor. System.Drawing.Bitmap b0 = System.Drawing.Bitmap.FromHbitmap(hbm0);

Member Avatar for CloneXpert
0
47
Member Avatar for Steve_Jones

My program lags the computer because i have it going through a while loop to continue check if a condition is true. Is there any way i can have a wait for user input such as pressing a key to perform the evaluation. Or is there any way to have …

Member Avatar for Steve_Jones
0
96
Member Avatar for badboy11

Hi All, I am coming from C++ world and working on some C# code. Currently working on a class with an ArrayList data member and would like to control which methods/behaviours get exposed to the client of this class. One of the functions in this class takes an index as …

Member Avatar for badboy11
0
166
Member Avatar for jigglymig1

hello, I'm somewhat new to c# and am trying to make/reduce fractions. the numbers only range from 1 through 10. i was thinking about using a bool true/false to check if the numerator divides by the denominator and still produce ints and not floats. such as 2/10 = 1/5 I …

Member Avatar for CloneXpert
0
110
Member Avatar for charqus

Hello guys. I want something like this. [CODE] if(getdate(month) == 1 && getdate(day) == 5) // 5 January // do code else if(getdate(month) == 12 && getdate(day) == 11) // 11 December // do another code // ... [/CODE] Is that possible ?

Member Avatar for CloneXpert
0
117
Member Avatar for AngelicOne

Unlike web programming, radiobutton needs to be group by a groupbox, panel etc. and that's what i'm confused at. I have two radiobutton that is 'yes' and 'no', what I want is to determine what object to declare in parameters used for the two to get its value. My code …

Member Avatar for mshauny
0
144
Member Avatar for nammae

Hi everybody, I am a newbie in C#. I have a fragment code but it doesn't run. Here is my code: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int number; string type; number = 5; if (number …

Member Avatar for nammae
0
103
Member Avatar for Antikythera

To start I enter some information into 4 textboxes which then the data is stored into a class. I just add the class object into the list box to keep things simple and when i click on the object in the listbox I want it to show the original text …

Member Avatar for edepperson
0
146
Member Avatar for bbonik

Dear all, I am having a very frustrating problem with a project in Visual Studio 2008 C#. I have tried everything, I have searched everywhere, but it seems that nothing works. I would appreciate if someone gave me some directions or suggestions, as to where to look for the solution. …

Member Avatar for CloneXpert
0
131
Member Avatar for zachattack05

Maybe this is more of a "how do you report progress" topic. I have a progress bar on a form. The same form launches 2 separate threads. I would like each thread to report to the same progress bar. Instead of cluttering my code up with a bunch of stuff …

Member Avatar for edepperson
0
576
Member Avatar for Vipero

Hello there! Well you see, I have got this little problem and I usually dont post on forums unless I am really stuck at something :s So I am trying to accomplish something that more or less comes down to this: I have several forms with several textboxes and by …

Member Avatar for prvnkmr449
0
95
Member Avatar for Jaydenn

Basically, I'm working on a GIF animation creator, all is going well, I just don't know how to move items. For example: I select image 1 and move it to image 0's position, and when I drop it over image 0 it will move image 1 to image 0's position.

Member Avatar for CloneXpert
0
89
Member Avatar for fernandofranca

Hi all, Is there a better way of doing this, I googled it and found de IsNumeric, but it´s for VB and not recommended for C#. Let me explain: I have a string like "something123" and I need to get only the 123 value as a string from the string. …

Member Avatar for fernandofranca
0
146
Member Avatar for fernandofranca

Dear all, I have a form with 36 comboboxes, and I use this fucntion to update them: [CODE] private void controlBox(string boxName) { foreach (Control frmControl in this.Controls) { if (frmControl is ComboBox) { if (frmControl.Name == boxName) { ComboBox _bx = (ComboBox)frmControl; _bx.Items.Clear(); _bx.Enabled = true; _bx.Items.Add("It Works!"); } …

Member Avatar for fernandofranca
0
88
Member Avatar for Nagaraj_B
Re: HELP

some challenging projects in c# for students for the academics..?

Member Avatar for CloneXpert
0
55
Member Avatar for ddanbe

Where do I find the System.Numerics namespace, with things like BigInt and Complex? Just installed Visual Studio 2010 Professional. Google did not make me happy:'( Any help, is as always, much appreciated.

Member Avatar for ddanbe
0
95
Member Avatar for nssltd

Hi i have been making a web browser program in c# but an annoying dialog pops up on some pages the user navigates. The dialog says Script error Syntax error line 54 char 16 0 does anybody know how to prevent this from popping up. Thanks in advance NSSLTD. p.s …

Member Avatar for nssltd
0
99
Member Avatar for GAME

How can I remove all the items of a list? I do not know any thing about how the items get indexed, thats why I cannot provide a better code except this.. [code] for (int i = 0; i < _Cars.Count; i++) { } [/code]

Member Avatar for Geekitygeek
0
90
Member Avatar for nssltd

hi well i have been doing c sharp for a while and i think i'm getting quite good at it. I have began to add my own person touch to my applications IE custom cursors and custom buttons. I was just wondering if it is possible to make a custom …

Member Avatar for Diamonddrake
0
251
Member Avatar for vihrao

How can I extract the data for a specific XML element and convert it into byte array My XML file; [CODE] <?xml version="1.0" encoding="utf-8" ?> <root> <creditcard> <number>19834209</number> <expiry>02/02/2002</expiry> </creditcard> <name> <first>Mary</first> <mi>V</mi> <last>Jones</last> </name> <personal> <dob>01011966</dob> <gender>male</gender> </personal> </root> [/CODE] I want to extract the element <creditcard> and all …

Member Avatar for vihrao
0
950
Member Avatar for snehil_khanor

Hey, Can any one help me with this problem.. i'ld really appreciate ne help.. wat i wanna do is.. dat i want to dynamically create objects on a way that they could be created in a loop.. so i thot an array of object could help so i went ahead …

Member Avatar for snehil_khanor
0
155
Member Avatar for samweb$

Hi All, I have just started learning C# and would like to populate a combo box with the list of games defined in gameslist.txt file. below is the format of gameslist.txt file [code] [category 1] game 1 game 2 game 3 game 4 [category 2] game 5 game 6 game …

Member Avatar for CloneXpert
0
134