4,439 Posted Topics

Member Avatar for Ahmed.C

You would have to use a [WebClient class](http://msdn.microsoft.com/en-us/library/system.net.webclient.aspx) I guess. Not sure if many websites still allow you to "play" around with them. To know some Regex might help also.

Member Avatar for Ahmed.C
0
130
Member Avatar for pardeepkhatri
Member Avatar for ddanbe
-1
122
Member Avatar for codetoeternity

Don't no much about game programming, but if I would try to make one I would have a look at [xna](http://msdn.microsoft.com/en-us/library/bb203894.aspx) Hope it helps a bit.

Member Avatar for jwenting
0
3K
Member Avatar for romy_1
Member Avatar for <M/>
0
70
Member Avatar for vokselbama

In most languages, math functions are build in. [Look here](http://www.informit.com/library/content.aspx?b=STY_VB6_24hours&seqNum=149) for an overview in VB6

Member Avatar for ddanbe
0
77
Member Avatar for mark5rockzz_1

If you define a box filled with say a pot for marmelade, a can for milk etc. Well, that is what you have. If you later "intantiate" a 100 of those boxes, I hope your garage or whatever is big enough. The pots and the cans will at first be …

Member Avatar for mark5rockzz_1
0
294
Member Avatar for weeraa

You are assigning a variable (RoomID) to a string property (textRoomID) of the obj_f1 form. Guess you must assign it to the Text property of a TextBox in the Form.

Member Avatar for weeraa
0
293
Member Avatar for Kleon

Check out [this snippet](http://www.daniweb.com/software-development/csharp/code/371819/code-template-for-a-menu-in-a-console-application) In a class you can use as many nested while loops as you like.

Member Avatar for ddanbe
0
107
Member Avatar for charishma

@charishma: What you do is swapping by printing two variables on the screen. You do not swap their values in memory.

Member Avatar for Ancient Dragon
0
260
Member Avatar for pwolf
Member Avatar for Xakzi

I used a StreamReader to show every line of a file called "test.txt": private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { String^ fileName = "test.txt"; try { StreamReader^ DataIn = File::OpenText(fileName); String^ DataStr; int count = 0; while ((DataStr = DataIn->ReadLine()) != nullptr) { count++; MessageBox::Show("Line " + count + " …

Member Avatar for Xakzi
0
4K
Member Avatar for Fenrir()
Member Avatar for ddanbe
0
299
Member Avatar for krunal1986

Yes, and why not ask for the type of dog if there is any on this ip adress? Why not read [this](http://en.wikipedia.org/wiki/Nineteen_Eighty-Four)?

Member Avatar for krunal1986
0
214
Member Avatar for joester007

Did you mean something like this? if (year not ok) { cout wrong year message return -1; } else { do easter calculation return 0; }

Member Avatar for AndrisP
0
4K
Member Avatar for ddanbe

Tadaa! This is my first attempt at writing in Python, trying to solve a good question posed [here](http://www.daniweb.com/software-development/python/threads/32007/projects-for-the-beginner/17#post2016892) #----------------------------------------------------------------------------------------------- # # Python 2.7 # # Calculating area and radius of polygons with known number of sides and the length of this side # Adapted formulas used from this site: http://www.mathwords.com/a/area_regular_polygon.htm …

Member Avatar for vegaseat
1
387
Member Avatar for dan.gerald
Member Avatar for Tony_8

Yes, try this private void MyBtn_Click(object sender, EventArgs e) { // make a Button point to the sender object, you know it must be a button! Button MyBtn = sender as Button; // now use MyBtn.Name, it will be the directory for the button you clicked on.

Member Avatar for Tony_8
0
203
Member Avatar for Tank50

By posing your question in a new thread and not resurecting and old solved one.

Member Avatar for ddanbe
0
1K
Member Avatar for android_gl

I wonder what happens when y=4(=square) and x happens to become 2? Your function would return false I guess. Look at line 14.

Member Avatar for cwarn23
0
327
Member Avatar for nema fayez

If you can't even come up with a simple idea now, what are you going to do when later, you have a job and you sometimes have to come up with really difficult to solve ideas? Show us some work you already have done and we all are glad to …

Member Avatar for ddanbe
-1
91
Member Avatar for ss125

[This](http://www.dotnetperls.com/timer) is a little tutorial on how to use a Timer.

Member Avatar for ss125
0
275
Member Avatar for pc20912
Member Avatar for Sci3nc3F1cti0n

Your for loops should be for (int i = 0; i **<** size; i++) instead of for (int i = 0; i **<=** size - 1; i++)

Member Avatar for nchy13
0
422
Member Avatar for jaejoong

What do you mean by > extract varbinary(max) to Write a maximum binary value to an excel file?

Member Avatar for ddanbe
0
91
Member Avatar for Momerath
Member Avatar for computerbear

On line 14 you are setting the constant arrayLength to 0 ? This must give an error. Also in your fillAccounts method you are setting only element with index 5( the constant arrayLength ) Your arrays have 5 elements: counting from 0 to 4!

Member Avatar for titali
0
290
Member Avatar for steven woodman
Member Avatar for stultuske
4
399
Member Avatar for general2012
Member Avatar for <M/>

@stultuske: yeah, I want to relive the years 15 to 25! Preferably without knowing what I know now. Wonderful years...

Member Avatar for Dani
0
377
Member Avatar for kazekagerandy

CodeProject has several calendar articles. Look them up. Example: [Click Here](http://www.codeproject.com/Articles/16425/MonthView-Calendar)

Member Avatar for kazekagerandy
0
337
Member Avatar for de Source

Perhaps this will help: [url]http://www.daniweb.com/software-development/csharp/threads/348696[/url]

Member Avatar for cmdc08
0
1K
Member Avatar for paramesh23

[Click Here](http://www.cs.auckland.ac.nz/software/AlgAnim/ds_ToC.html) Have fun!

Member Avatar for ankur.pandey.52687
0
317
Member Avatar for general2012

1. x has to be declared and initialized somewhere else, otherwise normal for-loop 2. loop forever

Member Avatar for general2012
0
118
Member Avatar for fuhanspujisaputra

In debugmode your program works with a copy of the database, as to not affect your original DB during testing.

Member Avatar for ss125
0
246
Member Avatar for Ahmed.C

FYI, there is also an Environment class. Exmaple : [Click Here](http://msdn.microsoft.com/en-us/library/system.environment.getlogicaldrives.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1)

Member Avatar for tinstaafl
0
205
Member Avatar for kal_crazy

Or do all the drawing yourself, look in MSDN. [One Example](http://msdn.microsoft.com/en-us/library/f956fzw1.aspx?cs-save-lang=1&cs-lang=cpp#code-snippet-2).

Member Avatar for Ancient Dragon
0
346
Member Avatar for spyindiarahul

I guess in your country it is even not done to hold ones hand before marriage. Correct me if I'm wrong. I should talk about how you do see the future (work, house, children ...) See how she reacts and act accordingly. And don't be scared if you would prefer …

Member Avatar for <M/>
-2
1K
Member Avatar for strRusty_gal
Member Avatar for vinodvinu
Member Avatar for PratikM

If the number of employees is under say 100 people, I should stick to an excel sheet.

Member Avatar for somjit{}
0
183
Member Avatar for moonray

[Click Here for thesis](http://en.wikipedia.org/wiki/Thesis) What is relevant to me in computer science, might not be relevant to you. So I cannot give an answer.

Member Avatar for ddanbe
0
81
Member Avatar for Ahmed.C

Use the Length property of the FileInfo class. [Click Here](http://msdn.microsoft.com/en-us/library/system.io.fileinfo.aspx) Convert this long number to your liking.

Member Avatar for Ahmed.C
0
183
Member Avatar for scrolipilo91
Member Avatar for DM Galaxy
0
155
Member Avatar for vamsi.siddhani

Hi vamsi.siddhani, welcome at DaniWeb I have this [video tutorial](http://msdn.microsoft.com/en-us/vstudio/bb798028) it is C# code, but I guess it is exacly what you want and it should be easy to follow.

Member Avatar for Reverend Jim
0
220
Member Avatar for CCHIndiaStore
Member Avatar for mike_2000_17
-3
370
Member Avatar for Xantipius

You can eat it! [Click Here](http://en.wikipedia.org/wiki/Fatback)

Member Avatar for Reverend Jim
0
189
Member Avatar for timmyjoshua
Member Avatar for dws.ash04

Hi dws.ash1, welcome at DaniWeb. Perhaps you could use the CopyFromScreen method from the Graphics class.

Member Avatar for dws.ash04
0
940
Member Avatar for timmyjoshua

[Click Here](http://msdn.microsoft.com/en-us/library/system.media.soundplayer.aspx) for MSDN article [Click Here](http://www.youtube.com/watch?v=rcm_VKO41ww) for video tutorial

Member Avatar for ddanbe
0
97
Member Avatar for timmyjoshua

The End.