4,439 Posted Topics

Member Avatar for tymk

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.

Member Avatar for tymk
0
132
Member Avatar for Manutebecker
Member Avatar for nrupparikh

[url]http://www.daniweb.com/forums/search6252892.html[/url] Spammer?

Member Avatar for Freaky_Chris
0
104
Member Avatar for Lukezzz

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.

Member Avatar for Lukezzz
0
87
Member Avatar for new2c++

If you are just learning C++ I suggest you start like everyone else : figure out how "Hello world!" works in C++

Member Avatar for Freaky_Chris
0
103
Member Avatar for I_want_to_lean
Member Avatar for ArkM
0
105
Member Avatar for krm08

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 …

Member Avatar for MosaicFuneral
0
108
Member Avatar for it2051229

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 …

Member Avatar for iDeveloper
0
94
Member Avatar for SerogaM

Look at these videos how to do it : [url]http://msdn.microsoft.com/en-us/vstudio/aa700773.aspx#forms[/url]

Member Avatar for SerogaM
0
415
Member Avatar for Natique

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.

Member Avatar for ddanbe
0
153
Member Avatar for harryoma
Member Avatar for SerogaM

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 …

Member Avatar for SerogaM
0
78
Member Avatar for somnathsarode

At first sight there seems to be nothing wrong with your search. Is your input sorted? This is rather essential.

Member Avatar for ddanbe
0
153
Member Avatar for SerogaM

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 …

Member Avatar for ddanbe
0
117
Member Avatar for CagedBeast

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.

Member Avatar for ddanbe
0
224
Member Avatar for GrimJack
Member Avatar for CPPRULZ
Member Avatar for grumpier
0
157
Member Avatar for apaciboy

[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. …

Member Avatar for ddanbe
0
73
Member Avatar for spiriad
Member Avatar for athar89
Member Avatar for Murtan
0
185
Member Avatar for ddanbe

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 …

Member Avatar for Ramy Mahrous
0
143
Member Avatar for wallish

Maybe you could follow lesson three of this video series? [url]http://msdn.microsoft.com/en-us/vstudio/aa700773.aspx#forms[/url]

Member Avatar for Ramy Mahrous
0
211
Member Avatar for nmakkena

[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?

Member Avatar for ddanbe
0
134
Member Avatar for orwell84
Re: GUI?

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, …

Member Avatar for orwell84
0
207
Member Avatar for beaute

Perhaps reading of [url]http://en.wikipedia.org/wiki/Big_O_notation[/url] might help.

Member Avatar for Rashakil Fol
0
221
Member Avatar for Manutebecker
Member Avatar for Ajantis

[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.

Member Avatar for ddanbe
0
143
Member Avatar for bill2

Leave #include<stdafx.h> out. Btw: Computers are not god. Computers should not be feared. Use another learn C++ book.

Member Avatar for bill2
0
189
Member Avatar for suljo2

[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.

Member Avatar for ArkM
0
144
Member Avatar for scrypt3r
Member Avatar for scrypt3r

So it happens we are faced with some kind of the same problem. Look at my thread "Problem with 2 forms" maybe it helps.

Member Avatar for LizR
0
92
Member Avatar for ddanbe

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.

Member Avatar for ddanbe
0
66
Member Avatar for scrypt3r

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.

Member Avatar for ddanbe
0
64
Member Avatar for ddanbe

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: …

Member Avatar for ddanbe
0
93
Member Avatar for Egypt Pharaoh

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.

Member Avatar for LizR
0
127
Member Avatar for Agni

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 …

Member Avatar for ddanbe
0
124
Member Avatar for na_atheeq

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]

Member Avatar for Ramy Mahrous
0
130
Member Avatar for mocasu

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?

Member Avatar for ddanbe
0
102
Member Avatar for vertigovirgo

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.

Member Avatar for ddanbe
0
157
Member Avatar for vandenzergen

[B]FileStream fs = File.Create(@"C:\MyFiles\Test.txt"); [/B]will create a file Test.txt in the directory MyFiles on the C-drive.

Member Avatar for vandenzergen
0
133
Member Avatar for mabshell

[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.

Member Avatar for ddanbe
0
92
Member Avatar for csharplearner

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.

Member Avatar for ddanbe
0
83
Member Avatar for Werdan

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 …

Member Avatar for MosaicFuneral
0
621
Member Avatar for Lukezzz

I think this is what you need [url]http://www.codeproject.com/KB/buttons/roundbuttons.aspx[/url]

Member Avatar for Liszt
0
3K
Member Avatar for ejohns85

Perhaps my code snippet of plotting on a form might help [url]http://www.daniweb.com/code/snippet1020.html[/url]

Member Avatar for LizR
0
79
Member Avatar for sruthireddy
Member Avatar for wilsoncls
Member Avatar for csharplearner

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 …

Member Avatar for csharplearner
0
120
Member Avatar for ejohns85
Member Avatar for LizR
0
103
Member Avatar for konata_89

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

Member Avatar for daviddoria
0
95

The End.