- Strength to Increase Rep
- +13
- Strength to Decrease Rep
- -3
- Upvotes Received
- 309
- Posts with Upvotes
- 254
- Upvoting Members
- 97
- Downvotes Received
- 19
- Posts with Downvotes
- 18
- Downvoting Members
- 10
After many years of aimlessly wondering the job market in a daze I stumbled across a study from home course in VB.NET. Since then I have discovered a passion for coding and subsequently graduated from Canterbury Christchurch University with a 2:1 Bsc…
- Interests
- Music, Gaming, Cycling, Gadgets and more Gaming :)
- PC Specs
- -PC (never fast enough)-OS: Windows (in its many interesting and quirk-filled flavours)Most recently,…
Re: As mentioned above, the List<T> is easier to use; it dynamically resizes and offers more functionality. Ive seen a number of discussions about which is quicker but never seen a difinitive answer. | |
Re: try using timer.Start() and timer.Stop() rather than changing timer.Enabled. | |
Re: Finally, some sensible findings; I firmly believe that a non-violent person will not suddenly become a rage demon and go out on a killing spree because they grew up playing violent video games. I, for one, love a good round of head stomping, gut ripping, blood bathing mayhem in a … | |
Re: Is it essental to use a single label? Labels don't have support for multicoloured text, so you can either create a custom user control or override the paint event to draw the *'s in different colours yourself. It would be easier to have different labels that you simply set to … | |
Re: Alternatively you can use: [CODE]Fileupload1.PostedFile.FileName;[/CODE] remember to mark the thread as solved if you have found an answer :) | |
| |
It is a common design in data handling applications to move from form to form to show the user different information. I have seen any number of different attempts at this on the boards so i thought I'd throw together a short snippet to show a cleaner OO way to … | |
Re: I second what ketsuekiame said. If there is no code to run after the if(!isFinished) block then use return to exit the method. If there is code that has to run after the if block regardless of isFinished then add a second condition check. That way you will only move … | |
Re: The original post was in 2008 and was marked as solved, the last poster resurected it in 2009; Do you really think they are still waiting for an answer to this question?? Please try not to ressurect old threads. | |
Re: Hard to say wthout code, but do you have a method called 'btnLogin_Click' that is accesible? | |
Re: [URL="http://msdn.microsoft.com/en-us/library/system.io.file.move.aspx"]File.Move[/URL] only accepts a single string as the source filename. You need to call File.Move once for each string in the array filePaths rather than trying to pass it all of the strings at once. | |
Re: from [URL="http://www.febooti.com/products/filetweak/online-help/file-last-accessed-date.html"]febooti[/URL]: For improved file system performance Last Access time update in switched off in Windows Vista by default. Thus, Last Access time attribute is set upon creating file and not changed afterwards even if file is modified. However, it is possible to enable Last Access time updates if necessary. … | |
Hi, I have tried googling and searching for this but just find endless information about why software/hardware based encryption is the better option; what I need to know is whether there are any problems using BOTH. We want our offsite backups have to be as secure as possible. We previously … | |
Re: If you just want to display the webpage as it appears in your browser then the WebBrowser control is the easiest way to go. You jsut set the URL and it works like any other webbrowser, but its a control embedded in your program. | |
Hi, I have written some software, one aspect of which is a TCP client. It sends messages to a designated address and port and receives a number of messages in response. This is all working perfectly on some PCs, but on others, it loses connection. I have done some digging … | |
Re: He cant mark it as solved, he isnt the OP and he has ressurected a year dead thread to say thank you...with all these zombie threads rising i have an intense desire for a shotgun...or a lawn mower :) | |
| Re: When you use Regex you can use Named Groups to return values found within your pattern. I created an example app for you to look through. The form had 3 textboxes. One for input which contains the sample data you posted here, one is an optional search box to find … |
Re: This doesnt check if the Item is Checked, it checks if the Selected item has the text value "Others". You need to check for both if you only want the code to run when the "Others" item is checked: [CODE] If (checkedListBox1.SelectedItem.ToString() == "Others" && checkedListBox1.SelectItem.Checked) { //do something } … | |
Re: or you could use the numericupdown control :) The code here is worth checking for the future if you need to validate string entries, but for numeric values the NumericUpDown control is much better. You can type directly into it if you dont want to use the arrows, you can … | |
Re: Actually nareitz what LizR did was the correct response. If you check the [URL="http://www.daniweb.com/forums/announcement61-2.html"]forum policy[/URL] it clearly states that users should attempt to solve the problem themselves before posting. We are here to help troubleshoot, not to do all the work. You may be right that they know how to … | |
Re: Firstly, you should place code inside [noparse][code][/code][/noparse] tags. Secondly, you cant place the operator in a variable. The compiler reads in the operator when it builds your app. It has no way of knowing what the operator would be so it cant build correclty. Why did you want to avoid … | |
Re: As ddanbe pointed out, the problem is that you are calling the property from a new instance of your form. This is a very common mistake and is a result of not fully understanding the class/object paradigm. You have a Form class that outlines the controls and behaviours of your … | |
Re: The errorProvider only has one icon which is displayed against all controls which have an error text set so you couldnt show a tick for some controls and a cross for others withthe same errorProvider. One option would be to have two errorProviders. Use one to show errors and the … | |
Re: Totally agree with diamonddrake on this one. This is a very simple problem if you break it down. The policy here at daniweb is to help those who try first. IF your new to coding, the first step should be to figure out the steps you need to accomplish. This … | |
Re: Any time you are having troubles with iterations like this (especially nested) your first step should be to run through it step by step and track each variable at each stage: [CODE] num = 9: i j i%j output 3 2 1 3 3 3 0 3 4 3 3 … | |
Re: In excel, you have the option to control the iterative calculation; by default it will only apply the circular reference 100 times or until the values change by no more than 0.001. You could emulate this behaviour with a while loop but there may be better way to approach it … | |
Re: [QUOTE=bokac1984;1100673] Here is part of my code, but what happens is that when I click on this checkbox nothing happens, my textboxes stay unchanged, like I didnt do anything. I have no idea what I am doing wrong. ReadOnly property, I am not sure I follow you.[/QUOTE] Have you created … | |
Re: another alternative is to read/write files through [URL="http://msdn.microsoft.com/en-us/library/system.io.filestream.aspx"]filestreams[/URL]. Filestreams dont create a file lock so they wont tie up your files, saving you the hastle of manually calling the grabage collector :) | |
Re: Did you want to store the name of the column (doCarrier.ColumnName) or did you mean to use the columns value? What type is doCarrier in your code? |