4,439 Posted Topics
Re: Nice. But why let the value be generic and the name not? Or was that the intention in the first place in which case I have said nothing. | |
Re: It certainly doesn't harm to know this stuff. | |
Re: [url]http://www.daniweb.com/forums/search6252892.html[/url] Spammer? | |
Re: Whenyou add a dll you must at least have some information about what is in it. You must also use a [B]using [/B] or [B]include [/B]clause. | |
Re: If you are just learning C++ I suggest you start like everyone else : figure out how "Hello world!" works in C++ | |
Re: Perhaps it is an option only available in the Pro version and you have the Express version? | |
Re: A parser is a computerprogram and does not have to be in C++. It can be written in any convienient language. From wiki : A [B]parser [/B]is one of the components in an interpreter or compiler, which checks for correct syntax and builds a data structure (often some kind of … | |
Re: You could look at this snippet [url]http://www.daniweb.com/code/snippet1020.html[/url] It uses coordinate transformations, so you are independent of a screen. You can have an invisible grid by adding a form with [B]FormBorderStyle [/B]set to [B]none [/B]and [B]Opacity [/B]set to [B]zero[/B] Be carefull you must provide another way to close this form than … | |
Re: Look at these videos how to do it : [url]http://msdn.microsoft.com/en-us/vstudio/aa700773.aspx#forms[/url] | |
Re: Forget about pointers here. Use a generic LinkedList object instead. You don't know how it's implemented, but it has plenty of methods to feel confortable with. Pointers can still be used but in an unmanaged context. | |
Re: Have you any code? What are the problems you have with it? | |
Re: So you hard code your passwords and usernames into your program, this is not very a good idea. >>and load next window this step I can't over I think you mean you cannot switch between the login window and the next. Well close the login form and open the main … | |
Re: At first sight there seems to be nothing wrong with your search. Is your input sorted? This is rather essential. | |
Re: Dialog "forms" are either modal or modeless. Modal dialogs are the most common. A modal dialog changes the mode of input from the main application Form to the dialog. When you display a modal dialog you cannot switch between the dialog and another form of your program. Example: a Save … | |
Re: There are no stupid questions, only stupid answers. I can only hope my answer isn't stupid. I am assuming your are using VisualC++ here. When your function returns true, simply call your buttonclick eventhandler. | |
Re: 1970 years? We are already living in it! | |
Re: Line 2 of your second code snippet : #include"headerr.h" Two rr's? | |
Re: [QUOTE]A problem that i cant find solution, someone help me..![/QUOTE] Let us say you have boxes with marbles in it and that they have been placed in such a way that the first box contains the least amount of marbles and sorted, the last box would contain the most marbles. … | |
Re: Please, please code tags! [url]http://www.daniweb.com/forums/announcement8-3.html[/url] | |
This is a nice site I found! [url]http://www.digilife.be/quickreferences/QRC/Core%20CSharp%20and%20.NET%20Quick%20Reference.pdf[/url] If you are coding and forgot the syntax of a switch statement or need some special format for a Console.WriteLine, you can find it here in a compact easy to overlook form. I have mine printed doubleside on an A4 and let … | |
Re: Maybe you could follow lesson three of this video series? [url]http://msdn.microsoft.com/en-us/vstudio/aa700773.aspx#forms[/url] | |
Re: [QUOTE]Messagebox.show(expcombo.Items.Add(expcombo.Text));[/QUOTE] I wonder how you can let this work, [B]expcombo.Items.Add(expcombo.Text) [/B]isn't a string. [B]expcombo.Text [/B]is a property of the entire combobox, why do you want to show it as a selectable item in the combobox itself? | |
Re: GUI existed as of almost 30 years ago. Consoles were invented before that time to replace a teletypewritermachine (tty) which was a machine producing a papertape with the output(text) of the computer. Such a terminal screen was quite an improvement! Nowadays such consoles are simulated in a gui environment. Vista, … | |
Re: Perhaps reading of [url]http://en.wikipedia.org/wiki/Big_O_notation[/url] might help. | |
Re: What is your favorite boolean? true, false, inbetween? | |
![]() | Re: [QUOTE]textBox.SelectionLength = textBox.Text.Length[/QUOTE] You are using the total length of the text in the textbox here, try using cb.Length. You can also use the Select method instead : Select(start,length) which is equivalent in what you are trying to do. |
Re: Leave #include<stdafx.h> out. Btw: Computers are not god. Computers should not be feared. Use another learn C++ book. | |
Re: [QUOTE]3.8975 //wrong [/QUOTE] If you round that to two decimals it will be "correct"(see Ancient Dragon) Do all your floating calculations and start rounding afterwards. When money is involved, the [B]decimal [/B]type was invented for it. | |
Re: Did you create the file(File.Create) before you did a copy? | |
Re: So it happens we are faced with some kind of the same problem. Look at my thread "Problem with 2 forms" maybe it helps. | |
Why does "Mark as Solved" does not have the same style properties as a REPLY TO THREAD "button".? For now it is a text in bold blue font and gets omitted very often. When an old thread is not marked solved it gets digged up more then is really needed. | |
Re: You can get all the Processes running with [B]Process.GetProcesses()[/B]. You can also use the property [B]Process.Responding [/B]to see if a Process is still active. | |
I like to write a screen capture utility. Plan : have a master control form, let it make a second transparant form on wich a selection rect can be drawn, copy the screen under the rectangle to a Bitmap with Grapics.CopyFromScreen. Here is the essential code I have so far: … | |
Re: That is a very noble and honorable plan you have there. What is the code you have so far? What are the difficulties you encounter? Please let us know. | |
Re: I like to know how compilers work. I am still in the expression evaluation bussiness, perhaps maybe a tiny compiler later on. I would not even think on rewriting C++! Perhaps you like to know how databases work, then I should say, carry on with what you have, it looks … | |
Re: dateTime IS an object. I'm not shure what you really asked, but I'm inferring you're referring to nullable types. Like this: [CODE=csharp] DateTime? dt = new DateTime(); dt = DateTime.Now; dt = null; //you can not do this if you don't use a ? in the declaration.[/CODE] | |
Re: The icon you are refferring to you wil see when you are deploying your application. It is the icon you see in explorer or on the desktop. Or do you mean the icon you see left in the Title bar of a Form? | |
Re: The problem is that you are mixing two booleans. First: make a boolean function to check if a letter is in an array or not. Second: decide with a boolean when you want to end your while loop. | |
Re: [B]FileStream fs = File.Create(@"C:\MyFiles\Test.txt"); [/B]will create a file Test.txt in the directory MyFiles on the C-drive. | |
Re: [QUOTE]string path = Convert.ToString(textBox1);[/QUOTE] Your path variable will contain the following : [B]System.Windows.Forms.TextBox, Text:[/B] to get the text out of a textbox use : [B]textbox1.Text[/B] Correct and understand thisone first. | |
Re: DateRangeEventArgs [B]e [/B]has a [B]Start [/B]and [B]End [/B]method, which both return a DateTime object. Do processing in your eventhandlers initialising is done in the constructor. I would use a DateSelected event if I wanted to know the date selected. | |
Re: I do it on Mac all the time! All the way back in 1984 I used it, it was very nice! It had buttons and textboxes etc. other people used 640K DOS or something like it. Now Mac has something which is called Objective C to program in and is … | |
Re: I think this is what you need [url]http://www.codeproject.com/KB/buttons/roundbuttons.aspx[/url] | |
Re: Perhaps my code snippet of plotting on a form might help [url]http://www.daniweb.com/code/snippet1020.html[/url] | |
Re: If I see it right you can simply use a cast like p=(uint)s; | |
Re: In your example it has little use. But what if you wanted to display a message in a MessageBox in fixed point format,say 3 places after the decimal sign? You would do something like this: [B]string message = string.Format("f3 format is {0:f3}",123456); System.Windows.Forms.MessageBox.Show(message);[/B] This would give you a window with … | |
Re: You can use an [B]ArrayList [/B]instead it has a [B]Remove [/B]method | |
Re: I did makefiles under unix in the 20th century. Man that was fun! >>using devC++ and vb2008 together? vb2008 does not even have a notion of makefiles which is great. devC++ I don't know |
The End.