Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~20.9K People Reached
Favorite Forums

25 Posted Topics

Member Avatar for slavedogg

little.daffodil: You read a line and store it in 'input' [CODE]while ((input = sr.ReadLine()) != null)[/CODE] Then you read another line which overwrites the value stored in 'input'. [CODE]if ((input = sr.ReadLine()) != null)[/CODE] Then you use 'lines' (ie. NOT input) in your modem access code.[CODE]comPort = new System.IO.Ports.SerialPort(lines[0], 9600, …

Member Avatar for Reverend Jim
0
4K
Member Avatar for silent.saqi
Member Avatar for myaccount
0
8K
Member Avatar for codechrysalis

What is the point of taking a programming course (which you obviously are) if you are going to rely on the members here to create your code for you? how do you expect to LEARN anything? Do what everyone else does (or should do) before postng todays homework here and …

Member Avatar for Michael27
-1
303
Member Avatar for VIeditorlover

Assuming that the 2nd example is the broken one... 1. Change the host in the first example to localhost and make sure it still works and therefore eliminate hosting differences. 2. Verify your typing - make sure of things like the filename being "Lighthouse" and not "lighthouse" etc. 3. Remove …

Member Avatar for dwarvenassassin
0
162
Member Avatar for dwarvenassassin

... to provide Email client reading pane functionality such that it can display an attached image as part of the message body. Is there a single control that will display text with an imbedded image or do I need to create a UserControl?

Member Avatar for mariasemuel
0
111
Member Avatar for suomynona
Member Avatar for gameover9
Member Avatar for gameover9
0
178
Member Avatar for izeko
Re: GUID

If you find you are re-using the same code over and over, might I suggest you save this to a seperate file that gets included in each project rather than building from the same project each time. Have a look into creating your own VS Templates.

Member Avatar for dwarvenassassin
0
77
Member Avatar for dburris

[b]Console.Write(UPC1.ValidateUPC(temp));[/b] writes the output from the function to the console whereas [b]UPC1.ValidateUPC(temp);[/b] never saves the output for later display. I suspect your Validate rountine is coded using "pass by [i]value[/i]" rather than "pass by [i]reference[/i]" - partly because a routine using [b]ref[/b] wouldn't actually need a [b]return[/b]ed value.

Member Avatar for dwarvenassassin
0
166
Member Avatar for bmichael89

If we knew what your were trying to achieve and what you are having problems with, we might be more inclined to help. Also, put your code between [ CODE ] tags

Member Avatar for thines01
0
131
Member Avatar for cchacholiades

Why not just change [code]SELECT SUM(pf5_showplaylists.runningtime) FROM pf5_showplaylists WHERE pf5_showplaylists.showID = " + ShowID[/code] to read [code]SELECT SUM(pf5_showplaylists.runningtime) As mySumResult FROM pf5_showplaylists WHERE pf5_showplaylists.showID = " + ShowID[/code] and then use a DataReader ? The result of the query may be found in the first column of the first row …

Member Avatar for vimit
0
4K
Member Avatar for sha1023012

personally, I'd rather use the Enabled property and leave them visible.

Member Avatar for dwarvenassassin
0
107
Member Avatar for ads1188

Have you tried the INSERT statement directly (ie. on your DB server rather than through your program? Are you SURE the update is working? Just because command.ExecuteNonQuery(); doesn't bomb out, it doesn't mean the SQL operation was successful. You are not checking any returned values in your code. How do …

Member Avatar for dwarvenassassin
0
179
Member Avatar for RomeoX

Try using this.comboBox1.SelectedItem.ToString() instead of the SelectedText value which gets cleared when focus leaves the ComboBox (ie. when user clicks a button [url=http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.selectedtext.aspx]Read here[/url]) If your ComboBox style is DropDownList, then just use comboBox1.Text

Member Avatar for dwarvenassassin
0
167
Member Avatar for crazyjdog

Method calls take the form [CODE]instanceVariable.methodName(argumentList);[/CODE]

Member Avatar for dwarvenassassin
0
206
Member Avatar for dwarvenassassin

I've got a ListView which is normally hidden and Enabled=false; I'm using the ItemChecked event Enable/Disable a button on the form (the button is disabled if nothing is checked) If I add the ItemChecked event handler via the Designer in the usual way, it puts the code in the usual …

Member Avatar for Mitja Bonca
0
135
Member Avatar for dwarvenassassin

Again, for anyone working with ID3 version 1 or 1.1 tags. This class is used to store the tags associated with a given file. There is a default constructor in case you need to instantiate an 'empty' instance, but in 99% of cases you pass the filename of the audio …

0
193
Member Avatar for dwarvenassassin

For anyone working with ID3 version 1 or 1.1 tags in audio files, this static class may come in handy. It uses indexers to convert between the textual to the numerical representation or from numerical to textual and also accounts for unset and invalid values. Being static, it is always …

0
219
Member Avatar for kamilacbe
Member Avatar for RFID

I think that is probably what whoever set this particular piece of homework was intending - just incorrect terminology used.

Member Avatar for dwarvenassassin
0
194
Member Avatar for seslie

You could start by looking [url=http://msdn.microsoft.com/en-us/library/bb955365.aspx]here[/url]

Member Avatar for seslie
0
94
Member Avatar for itsvineethpv

Can't help with creating the folder, but to find the applications install path at run-time use [code]Path.GetDirectoryName(Application.ExecutablePath)[/code]

Member Avatar for skatamatic
0
212
Member Avatar for dwarvenassassin

OK, I am relatively new to C#, so in order to give myself a 'learning' project, I thought I'd update an application I wrote a couple of years ago. The application uses a ListView control in "Details" mode to display MP3 tag data stored in an Access MDB database file. …

Member Avatar for Momerath
0
195
Member Avatar for zachattack05
Member Avatar for zachattack05
0
112
Member Avatar for andur92

Actually not as easy as it first looks... [code] using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int valueToOuput = 0; int numberOfNumbers; for(numberOfNumbers = 1; numberOfNumbers<20; numberOfNumbers++) { string output = ""; int sum = 0; for (int i = 0; i < numberOfNumbers; …

Member Avatar for dwarvenassassin
0
607

The End.