461 Posted Topics
Re: @Michael, don't ruin my childhood. It was all real! I swear! *sobs* | |
Re: > "The Microsoft Jet database engine cannot find the input table or query 'tblCustRecords'. Make sure it exists and that its name is spelled correctly." Check your spelling your database table name correctly to solve that one, and that it is pointing to the correct database. | |
Re: This might be of use: http://social.msdn.microsoft.com/forums/en-US/winforms/thread/94e500c8-6d1b-43bf-9c04-9823597525bf | |
Re: I would say its quality over quantity where posts are concerned to be honest. Anyone can write responses to lots of threads across the forum. Not everyone can give a useful contribution consistently. | |
Re: Use the wonders of Google to find information on the ArcGIS software API, and then read it. | |
Re: Im slightly confused, you are trying to select the top five of which tags? the secondary element? | |
Re: Forgive me for only skim reading the code quotes as a ton of them, how are you trying to apply the XSL? what language etc? As I see no reference to it in what I skimmed of your above code. | |
Re: private void UpdateXML(string ElementValue, string NewValue) { XDocument XDoc = XDocument.Load(XmlFileLocation); IEnumerable<XElement> Results = XDoc.Descendants("bookID").Where(node => node.Value == ElementValue); foreach (XElement Node in Results) { Node.SetValue(NewValue); } XmlWriterSettings XmlSettings = new XmlWriterSettings(); XmlSettings.Indent = true; XmlWriter XmlOut = XmlWriter.Create(XmlFileLocation, XmlSettings); XDoc.WriteTo(XmlOut); XmlOut.Flush(); XmlOut.Close(); MessageBox.Show("Done"); } The following you pass an … | |
Re: articleRichTextBox.SelectAll(); articleRichTextBox.SelectionBackColor = this.BackColor; articleRichTextBox.DeselectAll(); Is how I've cleared selections in the past. | |
Re: Keeping with the programming theme, the word `null`. There is no one solution to such issues, BitBit is correct in what he says. | |
Re: I can't recreate this behaviour. Ensure the Tab2 is selected first before adding into the TabControl and it should work. Else could you provide a screen shot of what is happening. | |
Re: @Ange1 and there was me thinking hello world was first :( with regards to tutorials, I have a sticky post at the top of this forum which you have failed to read stating exactly what your after. | |
Re: I expect this was intending to be a code snippet and not a question? | |
As much as I love watching (most definately not stalking -*shakes head*-) this when I have spare time at work. Would it be possible to add a drop down at the top which could isolate different sections of the website, for example only see activity occuring in the C# forum? … | |
So after seeing the typing test Dani so kindly made the other day and put on the site I decided to kill some time writing a simple application to practice my typing on. I have a RTB containing the text which I'm highlighting as I go type letters to show … | |
Re: I keep instinctively hitting the backspace button when I know I've missed a key :( | |
![]() | Re: Depends how bad the day was. Sometimes trance can lift me out of a bad mood, other times I just go back to my teenage years and whack the metal on. |
Re: #Problem One We could firstly here use a switch statement in the Program class, here is some sudo code for it: output "Which wood would you like?" output "1) Mahogany - £160" output "2) Oak - £110" output "Choice: " switch statement using the read input of number 1 or … | |
Re: Issues I've found without running the code (not giving the direct fixes immediately as this is homework) - Line 158, `Console.ReadKey()` does not directly return/convert into a string. - Lines 162 166 and 170, the variable `again` is declared in the `Race` class and thus is not accessible to the … | |
Re: Radio buttons only allow one to be selected, they are designed for this purpose. | |
Not sure whether this is anything major or not but noticed it while trawling the source code of the site debating making a small app to monitor when post's replies are changed. There is an error occuring of: `FB.getLoginStatus() called before calling FB.init()` in all.js line 52. | |
Re: In addition to Ange1's comments the [following](http://www.daniweb.com/software-development/csharp/threads/437362/getting-started-with-c-the-list) may be of interest, the web tutorials show everything. | |
Re: What are we working with here? XSLT? XPATH? Other? As retrieving the value may differ slightly as a result | |
Re: I don't find what your trying to do clear. Nor is the example data any good. Do `Bla Bla` count as an individual? or information relating to `Someone else`? Please consider re-doing the explanation with clarified requirements. | |
Re: I believe @Pritaeas means the following: public class PersonDetailsComparer : IComparer<PersonDetails> { public int Compare(PersonDetails x, PersonDetails y) { if (x.FirstName == "Lever") return 1; if (y.FirstName == "Lever") return -1; int returnValue = 0; if (x != null && y != null && x. FirstName != null && y. … | |
Re: Have you checked to see the code enters the if statements correctly down the save method call? | |
Just wondering as I've been caught by it twice now. It is intentional that after pressing the code button you can't close the code entry window without first entering some text? So if you accidently press it, it forces me to put a random one letter code block to then … | |
Re: [This](http://www.gutgames.com/post/Clearing-the-Cache-of-a-WebBrowser-Control.aspx) will be of help with clearing a `WebBrowser`'s cache. | |
Re: If the two arrays are directly in sync, ie. position 0 in array one corresponds to position 0 in array two, you can for-loop through the first array and when you find a match, use the current value of the for-loop to access the related second array value. Alternatively you … | |
Re: I found an example on google within the top three entries, do you wish to try searching again. | |
Re: > What about the words you don't know you don't know how to spell? For everything else theres MasterCard. Couldn't help myself, lets hope the quote doesnt go over everyone's head. For those who are really that inclined for a spell checker the wonders of google will find you an … | |
Re: So Jim, your at the point where you've turned into an ant :D | |
Re: *Tries to think of a random topic to start a thread on* Nope I can't think of one. Do tell what said feature is. | |
Re: Welcome. Do you know King Julian? He is also from Madagascar or so the film says :o  | |
![]() | Re: "American Sniper" Autobiography of, Chris Kyle, the most lethal sniper in U.S history :) |
Re: Its caused by passing an object to the datasource and not an actual value within the object. Ie. TextBox txtExample = new TextBox(); Console.WriteLine(txtExample.ToString()); //Outputs the literal textbox class to a string Console.WriteLine(txtExample.Text); //Outputs the text field value You need to ensure your not passing a class into the DG. | |
Re: If you are not limited to the use of arrays this can also be done using a `List<int> NumberList = new List<int>();` This will allow you to use `NumberList.Add();` to add the numbers from your text box. The list also allows for-each looping through its contents which I would prefer … | |
![]() | Re: Varies for me as I work away from home and don't venture into hotel gyms to often but generally involves three different sessions across 3-4 days depending on how long im home for. **Push: (chest, shoulders, triceps)** - 5 min warmup on treadmill - Press-ups: 10-9-8-7-6-5-4-3-2-1, couple of seconds rest … |
Afternoon all, I currently am loading an XSD file from a physical file into memory to validate an XML file. However on loading the file it is containing such escape characters as `\r\n` to keep the formatting the document was originally in. This then causes an exception when loading the … | |
Re: So this question is pretty much identical to [this](http://www.daniweb.com/software-development/xml-xslt-and-xpath/threads/436945/how-can-we-store-the-data-in-xml-from-html) one.. | |
Re: Whats the XML generated using? | |
Re: @samsylvertertty, It is posted in the correct place for XML to HTML, this is a use for XSLT. Writing it currently. | |
Re: Can you provide the expected output code for the above example XML | |
Re: Im amazed nobody has suggested using an out parameter here. public string[] LandsKodComboBox(string[] dendei1, string[] dendei2, out string[] returnDendei) { string[] dendei1 = new string[5]; string[] dendei2 = new string[7]; //assign the array dendei1[2]="hello"; //etc etc.... returnDendei = dendei2; return dendei1; } |
The End.