4,439 Posted Topics

Member Avatar for p3rsia

I guess you are using VS 2008 C# express. What have you tried for yourself already? Perhaps a search (look right up) on this site might provide you with an answer.

Member Avatar for ddanbe
0
116
Member Avatar for wingers1290
Member Avatar for blur_guava

You cannot use [B]using ClLib1.bye2009;[/B] because bye2009 is a type. Use [B]using ClLib1;[/B] This is the same as [B]using System.Console;[/B] (can not do that) Use [B]using System;[/B] System contains a Console type. In your program you can use Console.Read(); whatever...

Member Avatar for ddanbe
0
138
Member Avatar for wingers1290

What do you mean by an executable file? If you just want to read and write text to a file, this link will give the info: [url]http://www.csharp-station.com/HowTo/ReadWriteTextFile.aspx[/url]

Member Avatar for sknake
0
265
Member Avatar for narg

Hi narg, welcome here at daniweb:) We don't know what your programming knowledge is at the moment, you have to tell us more. Have you already some code? You obviously going to need the Timer class I guess and a lot of Console input and output. Look in Help menu …

Member Avatar for Narg2
0
1K
Member Avatar for Diamonddrake

Perhaps this snippet can be of help [url]http://www.daniweb.com/code/snippet217204.html[/url] Look for the TX and TY methds. Have not much time now, will be back later if it did not help.

Member Avatar for Diamonddrake
0
287
Member Avatar for rzhaley

double.MinValue is -1 divided by 10^300 or so. Line 17 of your code is OK, but in line 26 and 29 you are substracting this value two times(x 10) from your total. What you have to do is after every input of a grade check if that input is smaller …

Member Avatar for Geekitygeek
0
227
Member Avatar for Byrne86

What exactly do you mean by different shaped brushes? See you are using a SolidBrush. There is also a HatchBrush (a brush with patterns) A TextureBrush (a brush with a bitmap or jpeg image) A LinearGradientBrush and a PathGradientBrush.

Member Avatar for Geekitygeek
0
227
Member Avatar for rb6k
Member Avatar for DrLod
Member Avatar for student88

I already gave you an example snippet in a previous thread. Perhaps it was to complicated I don't know. Did you study it? Give you a new simpler example here: Create a new windowsformsapp and drop a Panel on it, then fill in this code in the Forms1.cs file. [CODE=c#]using …

Member Avatar for student88
0
184
Member Avatar for Medic873

A BackGroundWorker can only comunicate to the UI via events. Read for a full explanation here: [url]http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx[/url]

Member Avatar for ddanbe
0
147
Member Avatar for piyush.m

Hi piyush.m welcome here at DANIWEB! What do you mean by [B]using Tab Control To Protect data gettiing shared [/B]?

Member Avatar for ddanbe
0
35
Member Avatar for sathya8819

What is I[j, i] ? a point defined in the l lList? You cannot compare ints with Points if that is the case. Suggestion : Give more meaningfull names to your variables instead of I or l.

Member Avatar for sathya8819
0
73
Member Avatar for Jaydenn
Member Avatar for rzhaley
Re: ****

Hi, rzhaley, welcome on DANIWEB:) Copy your for loops code and paste it underneath. Change the for loop with the int x in this: [B]for (int x = 26; x > 0; x--)[/B] you start from 26 and counting down now.

Member Avatar for Geekitygeek
0
149
Member Avatar for student88
Re: hi

Hi student88, welcome on DANIWEB:) Your assignment seems something that can better be done with XNA. I am assuming you have VS 2008 C#. You could start with a new WindowsformsApplication. In design mode drop a Panel control on the form and doubleclick it. You will be dropped into the …

Member Avatar for Geekitygeek
0
159
Member Avatar for nccsbim071

Just google "Printing in C#" lots of things there. Example : [url]http://msdn.microsoft.com/en-us/magazine/cc188767.aspx#S5[/url]

Member Avatar for nccsbim071
0
149
Member Avatar for nertos

Hi welcome here at DANIWEB! When you give a Button a name you can use that name as a variable. So : [B]this.But2down.Enabled = false;[/B] would disable the button you named "But2down"

Member Avatar for nertos
0
354
Member Avatar for Annettest

That is a very good question Anettest. But, you get more chances in getting it solved if you pose it in the C++ forum, instead of the C# forum. Also: put code between code tags.

Member Avatar for Nick Evan
0
239
Member Avatar for fazeleh

You can find this code here : [url]http://www.koders.com/csharp/fidB6AC18C659085347BED11C11D98B179E126D79DF.aspx[/url]

Member Avatar for DdoubleD
0
103
Member Avatar for plastic

When you answer to a thread, look below the buttons [B]Submit Reply [/B]and [B]Preview post[/B]. You'll see a panel marked "Additional Options". You will find a button there : [B]Manage Attachments[/B] click on it, it should be obvious now...

Member Avatar for ddanbe
0
212
Member Avatar for vegaseat

[url=http://www.kli.org/tlh/pIqaD.html]This language[/url] sure has no diacritical marks and should be ok for everybody, because nobody can really claim it as his. Except for some people, who live far away from Earth...

Member Avatar for Brian Barker
0
239
Member Avatar for characteredu

Why am I so dumb to even type this response I am typing right now?:?:

Member Avatar for William Hemsworth
1
106
Member Avatar for mstrop

Hi mstrop, welcome on this site:) This artical might help you : [url]http://www.codeproject.com/KB/cs/event_fundamentals.aspx[/url]

Member Avatar for mstrop
0
231
Member Avatar for Mitja Bonca
Member Avatar for andrewglasgow

Hi andrewglasgow, welcome here at daniweb! Please be a little more clear in describing your problem and perhaps you could send in some code and pinpoint what is wrong?

Member Avatar for ddanbe
0
94
Member Avatar for Darth Vader

First thing I found when googling [B]weekdays between two dates in C# [/B] [url]http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=1041[/url]

Member Avatar for Darth Vader
0
121
Member Avatar for Geekitygeek

Very good initiative! Just a little remark about the layout of your explantion. Would it not be clearer with less words on one line and some titles highighted in bold or so?

Member Avatar for Nick Evan
3
946
Member Avatar for XshulderX

Use a [B]switch case [/B]statement to convert every hexadecimal character to a decimal and add all the decimals together. E.G. hex B becomes 11. Multiply by 16 when needed.

Member Avatar for ddanbe
0
97
Member Avatar for bravo659

Hi bravo659! Glad you came back with your code. 2 things to start with : --> Line 17 of your SelectedIndexChanged code reads : [B]for (int index = 0; index > 20; index++)[/B] change it to this if you ever want to enter the for loop: [B]for (int index = …

Member Avatar for Geekitygeek
0
2K
Member Avatar for RogerBailey

Hi RogerBailey welcome at DANIWEB! Well, why not have a look at this thread [url]http://www.daniweb.com/forums/thread239525.html[/url] and I believe your problem is solved.

Member Avatar for ddanbe
0
180
Member Avatar for epicasian

Depends on what your goals are. I can only speak for myself. Did some programming in C++ in the past, nice, but a steep learning curve. Now I use Visual Studio with the .NET environment and C#. Could have used VB or C++ as languages here as well, but I …

Member Avatar for RoyMicro
0
176
Member Avatar for abc16

Perhaps this snippet can help [url]http://www.daniweb.com/code/snippet217409.html[/url].

Member Avatar for Geekitygeek
0
448
Member Avatar for th3learner
Member Avatar for ddanbe
0
182
Member Avatar for roby22

How would you enter time in a textbox? Which format would you use? How would you validate the input of the user? I would consider a DateTimePicker control for that.

Member Avatar for tonyfonseca
0
1K
Member Avatar for all4peace
Member Avatar for all4peace
0
135
Member Avatar for snakay

Check beforehand if your textboxes are not empty. if (LeaveDay.Text != string.Empty) etc.

Member Avatar for snakay
0
123
Member Avatar for crazyboy

A form has a text property you can set to any textstring you want. You will see it appearing in the title bar of the form. Look up information about the Path class in System.IO to know how you can obtain a full path name. Use your help menu or …

Member Avatar for crazyboy
0
103
Member Avatar for annaqah

Are you working with Visual Studio C# and have you started a WindowsFormsApplication?

Member Avatar for ddanbe
0
327
Member Avatar for Dum_
Member Avatar for Ying_Yang

Did you know that in English there are about 30 different meanings of the affirmative word [B]yes[/B]? A story to illustrate: A man comes home from his work, says hello to the wife, installs himself in a seat with a newspaper and a drink. Two options: The wife says: " …

Member Avatar for Ying_Yang
0
222
Member Avatar for Soundgarden

Why not use a List of objects that can contain anything you want? Something like this perhaps: [CODE=c#]namespace ConsoleApplication1 { public class Names //class with 2 strings in it { public string Str1; public string Str2; public Names(){} //anything else here } class Program { static void Main(string[] args) { …

Member Avatar for Soundgarden
0
396
Member Avatar for wesleychin

Please stop using the word urgent, it is probably just your own fault... But as I in a very good mood today, I will give you a tip. As a return I expect from you that if you have any problem in the future, it is not an URGENT one. …

Member Avatar for ddanbe
0
116
Member Avatar for jk8204

SaveFileDialog : In the menubar of VS C# you as last menu [B]Help[/B] I use it quite often, it is there for a reason. Now in that menu select [B]Search[/B] a window opens, Type in SaveFileDialog and see what happens. In line 46 and 47 you want to store first- …

Member Avatar for DdoubleD
0
154
Member Avatar for sidd.
Re: line

don't know how you draw your line but the way you want it you have to draw your line relative to the ClientRectangle of your form.

Member Avatar for Geekitygeek
0
104
Member Avatar for wesleychin

Line 13 :[B] playingDeck.Count [/B]must be smaller than 1 jonsca is right, if you post code and point the error the chance is greater you will get some help...

Member Avatar for Geekitygeek
0
138
Member Avatar for ddanbe

I have a main form which is going to use much input data typed in by the user. So I thought to make a separate form to handle the input. The closest to a solution was this thread [url]http://www.daniweb.com/forums/thread231368.html[/url] But I don't want the second form to be disposed off, …

Member Avatar for mjean
1
138
Member Avatar for CyberPirate1

I think [B]bokstav [/B]means letter and is of type char. So [B]gjettet_bokstaver [/B]is defined as an array of char? Or am I wrong? I would like to see the declaration it plus that of [B]array_size[/B] As jonsca already suggested gjettet_bokstaver[array_size] probably has to be gjettet_bokstaver[array_size-1])

Member Avatar for Geekitygeek
0
145
Member Avatar for sidd.

With a using clause you don't have to worry about closing a file. The compiler infers that for you and takes the appropriate actions!

Member Avatar for sanch01r
0
161

The End.