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.4K People Reached
Favorite Forums
Favorite Tags

46 Posted Topics

Member Avatar for neetika reddy

Hi, there [CODE]int c = 0; private void button1_Click(object sender, EventArgs e) { TextBox txtRun = new TextBox(); txtRun.Name = "txtDynamic"+c++; txtRun.Location = new System.Drawing.Point(20, 18+(20*c)); txtRun.Size = new System.Drawing.Size(200, 25); this.Controls.Add(txtRun); }[/CODE] The problem with your code is that it creates the TextBoxes with the same properties whenever you …

Member Avatar for LyndonBroz
0
5K
Member Avatar for Usmaan
Member Avatar for prakash2813

Maybe you are looking for something like [URL="http://www.codeproject.com/KB/WPF/CustomFrames.aspx"]http://www.codeproject.com/KB/WPF/CustomFrames.aspx[/URL]. Or could you be more specific what would you like ?

Member Avatar for CloneXpert
0
113
Member Avatar for dotancohen

Hi, Check [URL="http://www.dotnetcurry.com/%28X%281%29S%28mudflvgrlqteozn1qen5vf1l%29%29/ShowArticle.aspx?ID=125&AspxAutoDetectCookieSupport=1"]this[/URL]

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

a constructor shouldn't have a return type (in your case it's void, this is why you are getting that error message), instead write it like this: [CODE]public DinArray(int size, int type) { ... [/CODE]

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

Hi, Could you provide your current code, cause as far as I know it should refresh itself automatically whenever you append a text to it. :) For instance, when you click on a button you can add a new string found in a textbox: [CODE]richTextBox1.AppendText(textBox1.Text);[/CODE]

Member Avatar for hassan12345
0
3K
Member Avatar for deepak_1706

Hi, Have a look at this please: [URL="http://social.msdn.microsoft.com/Forums/en-ZA/vbgeneral/thread/89474c0d-bb68-4bdf-b23d-8d593fc75073"]http://social.msdn.microsoft.com/Forums/en-ZA/vbgeneral/thread/89474c0d-bb68-4bdf-b23d-8d593fc75073[/URL] good luck!:)

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

Hi, For posting code pls use the code tags, and provide more information so we can figure out where you got stuck and help you out. Perhaps you should check out first something like this: [URL="http://www.codeproject.com/KB/GDI-plus/floodfillincsharp.aspx"]Flood Fill Algorithms in C#[/URL].

Member Avatar for CloneXpert
0
49
Member Avatar for Steve_Jones

Ofcourse there is, go to the statement whichever you want to debug and press F9 and a red button will appear (you can click there to activate/deactivate that aswell, and if you click on that with the right-button you can select any of the options you listed above, feel free …

Member Avatar for Steve_Jones
0
98
Member Avatar for badboy11

Hey, in your method your returning only if that expression evaluates as true, otherwise there'll be nothing (you don't use return). This could be a solution: [CODE] public string getElement( int index ) { if ( ! (index < MIN) || (index >= myArrayList.Count) ) { return myArrayList[index]; } return …

Member Avatar for badboy11
0
172
Member Avatar for jigglymig1

You need to find the gcd of the numerator and denominator and divide them with it. a/b = a/gcd(a,b) / b/gcd(a,b) [URL="http://www.daniweb.com/code/snippet217166.html"]This is how you find the GCD[/URL]

Member Avatar for CloneXpert
0
113
Member Avatar for charqus

Hey ofcourse, create a DateTime object, check out it's constructors and choose the one you like, then access the needed properties like this: [CODE] DateTime date = new DateTime(); if(date.Month == 5 ... if(date.Day == ... [/CODE] check out the other properties aswell :) i'm sure you can find everything …

Member Avatar for CloneXpert
0
120
Member Avatar for AngelicOne

@mshauny: are you sure that's correct ? @Angelic One: The property called Checked should do the job, like this: [CODE] bool yes = YesRadioButton.Checked ? true : false; [/CODE] Hope this helps :)

Member Avatar for mshauny
0
152
Member Avatar for nammae

Hi there :) I hope you'll like C# and stick to it because it's a wonderful language to learn ^^ The problem is that you don't initialize your "type" variable (you don't give any value when you create it), this has a consequence that if you try to use it …

Member Avatar for nammae
0
107
Member Avatar for Antikythera

Hi, I think you should place all the stuff in your Car class into a container, so you can deal with it much more easily. Place them into a list or whatever you like more :) Try this first and if you can't solve the upcoming problems ask your question …

Member Avatar for edepperson
0
149
Member Avatar for bbonik

Hi, I think you should make an asnychronous call off your main thread, so it can work on the image processing in the background and leaving the main thread lag free, so the user can interact with it. I know it's not an easy task and especially for the first …

Member Avatar for CloneXpert
0
133
Member Avatar for zachattack05

hey there, well you should use a lock, and don't forget to use invoke to update the progressbar. You can call this function when there is an actual progress: [CODE] private void reportprogress() { if (InvokeRequired) { Invoke(new Action(reportprogress)); } else { lock (this) { if(progressBar1.Value+10<=100) progressBar1.Value += 10; } …

Member Avatar for edepperson
0
580
Member Avatar for Vipero

Hi there, You could create a public property in the form where the textbox is: [CODE]public string GetTextBoxText { get { return textBox1.Text; } }[/CODE] And when you create this certain form in the other form, you can call the property like: [CODE] FormWithThatTextbox form = new FormWithThatTextbox(); string variable …

Member Avatar for prvnkmr449
0
97
Member Avatar for Jaydenn

Hi, you need to implement Drag & Drop functionality, google it, there are a lot of tutorials :) Good luck!

Member Avatar for CloneXpert
0
92
Member Avatar for fernandofranca

Hey there, Try this rather, it might be easier: [CODE] public string getnumbers(string str) { string result=""; foreach(char c in str) if (char.IsNumber(c)) result += c; return result; } [/CODE] I hope it helps ;)

Member Avatar for fernandofranca
0
148
Member Avatar for fernandofranca

hi there. all you need to do is to create an eventhandler for one of the comboboxes and use that same one for the others (search for the event and select from the dropdown list the combobox_selectedindexchange eventhander). Then you can do something like this to get it's name (you …

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

depends what domain do you like? i can recommend something like this [URL="http://www.youtube.com/watch?v=JBgG_VSP7f8"]http://www.youtube.com/watch?v=JBgG_VSP7f8[/URL]for instance, it's quite an interesting topic in my opinion.

Member Avatar for CloneXpert
0
56
Member Avatar for ddanbe

"GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers." Perhaps [URL="http://gmplib.org/"]this [/URL]can help. There are some wrapups aswell for C#

Member Avatar for ddanbe
0
97
Member Avatar for nssltd

Does your webbrowser manage javascript?? You can start out from here because that's the problem :)

Member Avatar for nssltd
0
102
Member Avatar for GAME
Member Avatar for nssltd

Hey there, you should try WPF, it's newer and much better than the older windows forms. It's graphical interface is way better than the GDI+. With Expression Blend you can create custom controls, templates and anything you want. Watch youtube videos about Expression blend and you will see. I hope …

Member Avatar for Diamonddrake
0
253
Member Avatar for vihrao

Hi, Please read into [URL="http://www.c-sharpcorner.com/uploadfile/mahesh/readwritexmltutmellli2111282005041517am/readwritexmltutmellli21.aspx"]this tutorial[/URL]. Try to adapt the examples to your problem. Start writing your solution and if you are blocked somewhere reply here with your specific question and with code fragment. Best regards, Tamas

Member Avatar for vihrao
0
961
Member Avatar for snehil_khanor

Hi there, The problem you have is that in each of the forms you create, you recursively create again another array of forms, so you'll have infinitely many forms. Why don't you use it in some other eventhandler, so it won't create the array automatically as a form loads up. …

Member Avatar for snehil_khanor
0
159
Member Avatar for samweb$

Hi there, If your just starting to learn C# I suggest you (we all do) to try solving your problem, write the code and make it work. If there are errors you can't figure out or anything then post the relevant code within the code tags and ask what you …

Member Avatar for CloneXpert
0
138
Member Avatar for Usmaan

Hi there, well you can make this for instance: you first enter 1, a will get the value 1, then you hit +, then a number again: 3 -> b will get 3, you hit plus again and what happens? exactly, the result will get into a again :D and …

Member Avatar for Geekitygeek
0
196
Member Avatar for CloneXpert

Hi, I'm writing in the hope that somebody is familiour with the [URL="http://naudio.codeplex.com/"]NAudio library [/URL], and can tell me how to change instrument on a channel. I kept trying like this, but didn't work out... [CODE]midiout.Send(new PatchChangeEvent(0,1,30).GetAsShortMessage()); midiout.Send(new NoteOnEvent(0, 1, 0, 127, 100).GetAsShortMessage()); [/CODE] Thanks!

0
64
Member Avatar for punnoosepj

Hi, Please read first some tutorials on how to manipulate registry keys in C# for example [URL="http://www.csharphelp.com/2007/01/registry-ins-and-outs-using-c/"]this[/URL]. Try to integrate it in your code, and make it work. If you have specific problems doing this, please paste a code snippet where the problem occurs. Thanks :) Best regards

Member Avatar for CloneXpert
0
161
Member Avatar for luiso

Hi, use this as a template, this shouldn't work yet because I couldn't test it with a printer, but you have the threadding part: [CODE]delegate string GoPrint(); Process proc = new Process(); private void button1_Click(object sender, EventArgs e) { GoPrint print = new GoPrint(Print); AsyncCallback callback = new AsyncCallback(PrintCallback); print.BeginInvoke(callback, …

Member Avatar for CloneXpert
0
4K
Member Avatar for DaveTran
Member Avatar for Jazerix

Hi there, Ok, I suggest you to put the list into a ListBox, as it's much readable in this case, if you insist to the ComboBox, I can tell you that version too. First of all you can add the Diagnostics namespace at the first lines: [CODE]using System.Diagnostics;[/CODE] This is …

Member Avatar for Jazerix
0
150
Member Avatar for iinf

Hi, You need to save them seperately, because when you merge them then you get the colors back. If you use the same value for all three components (rgb) then it willl be grayscale. So if you saved the components separately, you can use later the [CODE]Color.FromArgb(alpha,red,green,blue)[/CODE] and you'll get …

Member Avatar for iinf
0
766
Member Avatar for kendaop
Member Avatar for kendaop
0
127
Member Avatar for mysticstylez

Hi, I would use something like this, but I'm sure there are much better ways doing it. [CODE]string[] names = new string[] { "a", "b", "c", "d", "e", "f", "g", "h", "i","j", "k" }; int element = 0; List<ListBox> list = new List<ListBox>(); list.Add(listBox1); list.Add(listBox2); list.Add(listBox3); list.Add(listBox4); list.Add(listBox5); while ( …

Member Avatar for CloneXpert
0
93
Member Avatar for drake10k

Hi there, Look for the "FormBorderStyle" property of your form and set it to None. I think you want to get this effect :) Hope it helped Best regards, Tamas

Member Avatar for farooqaaa
0
141
Member Avatar for ITStrawberry

Hi, One way to do that is to pass the value as a parameter when you create the "other form": [CODE] //This is where you create the "Other form" OtherForm otherForm = new OtherForm(treeview.selectednode.text); otherForm.Show(); //This is in the "Other form" public class OtherForm : Form { string value; public …

Member Avatar for Geekitygeek
0
107
Member Avatar for avi_d59

Hi there, I suggest you to read first [URL="http://msdn.microsoft.com/en-us/library/aa288467(VS.71).aspx"]some tutorials[/URL] and try to understand how it works. If you read through and you don't understand specific parts or have questions, post it here and I'm sure we can help you out :)

Member Avatar for Geekitygeek
0
115
Member Avatar for becky007

Hi, [url]http://msdn.microsoft.com/en-us/library/system.io.file.opentext.aspx[/url] Look what MSDN says: the OpenText method [B]Opens an existing UTF-8 encoded text file for reading.[/B] If you give a directory, it cannot open it as a text file. Hope it helped :)

Member Avatar for becky007
0
88
Member Avatar for ddanbe

Hi, I'm so unskilled compared to you and I really shouldn't know things better than you :D but I think I know why, tell me please if I'm wrong! [CODE]TwoDShape[] shapes = new TwoDShape[4];[/CODE] this will create the array only, but it will not instantiate the members in it, they'll …

Member Avatar for CloneXpert
0
140
Member Avatar for Suzie999

Hi, please check this link, it talks about exactly what you need to know :) [url]http://msdn.microsoft.com/en-us/library/ms171728.aspx[/url] if it doesn't help you, please paste your code snippet and we'll figure out what's wrong. Hope it helped

Member Avatar for CloneXpert
0
157
Member Avatar for CloneXpert

Hi, I have a constantly rotating image and i want to get the pixel at a specific point (where i click). The problem is that after the rotation the image won't update the bitmap with the new position, so the pixels will remain exactly the same whether the image is …

Member Avatar for Momerath
0
153

The End.