4,439 Posted Topics
Re: Read [url=http://en.wikipedia.org/wiki/Regex] this article[/url] and find out what regex can and can not do. | |
Re: IMHO You seem to think a computer can "think"!?! YOU read "greece" and YOU think OK, that's a country! Or YOU read "grece" and YOU think OK that's a typo, I understand, it's a country. A computer does not "think" in that way let alone the fact it even can. … | |
Re: Don't post this answer to a previous question in a new thread. Perhaps it is good to read some rules. Multiple question marks will not solve your questions quicker. | |
Re: Lines 113 and 114 read: cout << "You chose Hiroshima, is that correct? (Y/N)\a"<<endl; cin >> pick_YN; This is annoying the user. He just DID choose Hiroshima. Besides as far as I can figure out you do nothing with pick_YN. You might as well leave these 2 lines out(the same … | |
Re: This is something I used to make a binary clock with. It interprets an integer as an array of 32 bits. [CODE=csharp]struct IntBits { private int _bits; public IntBits(int InitialBitValue) { _bits = InitialBitValue; } //declare indexer public bool this[int index] { get { return (_bits & (1 << index)) … | |
Re: Changing the Theme setting(ControlPanel) from [B]Windows Vista [/B]to [B]Windows Classic [/B]might help. | |
Re: It all depends. You could be an expert in database programming and an absolute beginner when it comes to designing and developing a game and vice versa. | |
Re: You are in the Form Load event which is executed once. In it you call a function zeneem(or thename:icon_biggrin: ) zeneem returns a string array, on which you do a foreach string in that array, and tell it to do something. So I think it is normal you see all … | |
Re: Hi Daniela, Welcome on this site. My official name is Daniel, but eveybody calls me Danny. Try this [url=http://www.devhood.com/training_modules/dist-a/LearningCSharp/learningcsharp.htm]C# tutorial[/url]. Also visit the C# programming forum. You will find (just as I still do)lots of usefull info there. Whish you the best of luck and happy programming! | |
Re: Hi Mita! Welcome on this site. The C++ programming forum should be your first choice here! Happy programming! Danny | |
Re: Hi, I have two cats and are working in a lab also. Welcome to this site! Danny | |
Re: Your question is a bit hazy but I think you mean something like : If [B]MyList.Count [/B]is equal to 2, then enable my next button. A List can not easily get "full" as it expands itself automatically when needed. An array will give an index out of range error. | |
Re: Close or Hide your first Form (login) Show a second Form. Form idInfo = new Form(); idInfo.Show(); | |
Re: [QUOTE=Aia]a rating system in the code section[/QUOTE] What is good code? What is bad code? The only code that matters is in fact code that works! I agree with you that the rep system could need some improvement, but as with every rep system(eg. in sports etc.) this can become … | |
Re: In the debugger look in the stack trace. You will find there the last thing that happened before your program crashed. | |
Re: This is a huge subject. Could you be more specific? What you say now is : Give the building plans of a vehicle, plzzz... A vehicle is rather vague don't you think? A chariot, a space shuttle, car, what? | |
Believe me the mail system on this site is a handy thing. But if I recieve mails like: You're nice, this is my email address, mail me, will send you pictures. I am not amused really. There are specialized sites for this sort of thing. Or mails that praise me … | |
Re: What have you tried so far? What code do you already have and what are the problems you have with it? | |
Re: I assume frmFDDsearch is a class derived from the Form class. Then do the following: frmFDDsearch S= new frmFDDsearch(); S.Show(); | |
Re: Read this [url]http://www.developer.com/net/csharp/article.php/3489611[/url] (many more on Google) | |
Re: Where is your array code? You open a textfile. For 5 times in a row : You contruct a location class with 5 public string fields(using the default constructor) You read in 5 strings into this board class You print these 5 strings to the console Then you wait for … | |
Re: [QUOTE=lonelyrider]meaning you can click back to Form1 until Form2 is closed[/QUOTE] I think it's a typo and you mean just the opposite. There is a distinction between modal and modeless dialogs. | |
Re: You do it well in your [B]else [/B]clause why dont you do it before: like in[B] txtIncomeTax = "£" + Convert.ToString(tax);[/B] Here you assign a string to a textbox. This is not correct. | |
Re: I'm assuming you dragged a MenuStrip from the toolbox and have filled in the desired items. Now doubleclick the area where you typed Item1. You will get somethig like this: private void item1ToolStripMenuItem_Click(object sender, EventArgs e) { } Do the same for your Item2 item. Now fill in whatever you … | |
Re: [B]ArrayList rockstars = new ArrayList(); List<String> rockstars = new List<String>();[/B] These two lines are the "same". In both cases you can say [B]rockstars.Add("Elvis");[/B] etc. The generic [B]List [/B]is to be preferred, it is stronger typed for one thing. | |
Re: Don't be alarmed, for me your post is very correct. You even used code tags! I don't know if it matters but ReadCallBack is called recursively, see line 19. | |
Re: [CODE=C]#define DRAWING_HEADER_FILL 888 typedef struct DrbDwgHdr { long id; long Vcount; char desc[122]; char version[6]; char fill[DRAWING_HEADER_FILL]; } DRB_DWG_HDR;[/CODE] As a start I wold translate this to: [CODE=csharp]const int DRAWING_HEADER_FILL = 888; struct DrbDwgHdr { public long id; public long Vcount; char[] desc = new char[122]; char[] version = new … | |
Re: Do you mean you want to write your own setup application or did I misunderstood your question? | |
Hi all, I know how to drag and drop an image from one control to another. Code enough out there. It works fine, but I find the user interface a bit poor:'( I want my image to follow the mouse while held down. Found nothing that serves my needs on … | |
Re: I think you have a menu option wich is called [B]Help[/B] Select it and choose [B]Search[/B] In the wondow that opens type [B]DrawLine[/B]. You will find what you are looking for. (he! U2 did not!) | |
Re: The Clone method always returns an object of type [B]object[/B]. A char[] is in fact also an object, but of type [B]char[][/B]. C# is very picky about this. With reason, you cannot compare apples with pears. So if you are absolutly sure your pear is in fact an apple, do … | |
Re: P11Entry anEntry = new P11Entry; looks weird, should this not be P11Entry anEntry = new P11Entry();? Does InsertOnSubmit expects a parameter of type P11Entry? | |
Re: There is something I don't get. You come from an IT institute and you want to go to an IT institute? What are the goals you want to achieve for yourself? | |
Re: All things emit vibrations so they exist.(e.g. in the form of heat) So I'm entering a pub, lots of people, going to meet a friend to have a drink. I look around and I see my friend is not there yet. Can I tell now that my friend exists? | |
Re: buttonGenerator(string [COLOR="Red"]name[/COLOR], string text, int height, int width, int top, int left) when you call this method you do something like this: buttonGenerator("firstBtnname", "Btntext", Btnheight, iBtnwidth, Btntop, Btnleft) Here [COLOR="Red"]name [/COLOR]is a placeholder for [COLOR="Green"]"firstBtnname" [/COLOR], so whenever you use [COLOR="Red"]name [/COLOR]IN your method it will be reffering to [COLOR="Green"]"firstBtnname"[/COLOR] … | |
Re: That's a nice statement. What is your question? | |
Re: If you google "OCR source code" you will find plenty of info. e.g. [url]http://www.codeproject.com/KB/dotnet/simple_ocr.aspx[/url] | |
Re: I think your TreeView and TabControl are in a SplitContainer. If that is the case, also set its Dock property to Fill as well. | |
Re: Perhaps this is a good starting point: [url]http://www.codeproject.com/KB/trace/createlogfiles.aspx[/url] | |
Re: I created a form with 2 buttons on it showing a message when clicked. Implemented a mouseleave like this: [CODE=csharp]private void Form1_MouseLeave(object sender, EventArgs e) { this.button1.Dispose(); }[/CODE] Button1 is gone when the mouse leaves the form, but my form is not deactivated I can still click the second button. … | |
Re: [QUOTE]Blue squares around the transparent textboxes. They should turn orange when the character is in the right place, and should create a yellow circle around the character when the character exists in the word but is in the wrong spot[/QUOTE] A textbox has a BackColor property. I would first concentrate … | |
Re: Go to [url]http://www.microsoft.com/express/[/url] Download what seems most appropriate to you. Play around with it to see if you like it. | |
Re: You could use : [CODE=csharp]if ( Myform.Controls.Contains(MyButtonNr1) { //do something }[/CODE] | |
Re: To show a form which is hidden use [B]FrmClient.Show();[/B] | |
Re: Search MSDN! [url]http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument(VS.80).aspx[/url] | |
Re: A method should only do one thing. | |
Re: Check in your checkbox event handlers if the two checkboxes are unchecked, disable the next button accordingly. | |
Re: The only thing I can say is the less pixel territory you have to Refresh, the better. |
The End.