Search results for query: *

  • Users: aindrea
  • Content: Threads
  • Order by date
  1. aindrea

    Is there a FF-addon to enable dom-search?

    I have got a question concerning Firefox debugging tools. The debugging tools of Google Chrome (the ones called by pressing F12) offer the possibility to search the html of a loaded site (elements -> search). As this seems not to be possible with Firefox, I'd like to ask yous whether there...
  2. aindrea

    Why is there no ExceptionAssert in VS 2015?

    I am using VS 2015, and I have written both a dummy test method and a dummy test code to try hwow it is possible to make sure that an exception is actually thrown by the code. private void calculate() { try { int[] ia = new int[1]; ia[0] = 1...
  3. aindrea

    Question concerning syntax used to check for duplicate objects

    I intend to check for duplicate objects contained in a list, and I have planned to use Linq for this purpose. I would like to illustrate how I achieve checking for duplicates by using student objects which have a first name, a second name as well as an age. Here you can see the solution...
  4. aindrea

    I don't succeed in parsing a simple xml-file

    I have got a simple XmlReader with the path to my xml-file ans a settings object as constructor arguments. When executing the code, the debugger always tells me that "r" does not exist in the current context. How can this be? XmlReader r = XmlReader.Create(@"C:\Users\<me>\Desktop\test.xml"...
  5. aindrea

    How to unselect selected item of a combo box?

    I have grappled with WPF-applications, and there is one thing that I could not glean from the documentation: If I have a WPF-Window with a Combo Box „comboBoxCars“ where the user can select, say some cars. I thereafter added a button „clearAll“, and as soon as that button is clicked, the...
  6. aindrea

    Regex problem while filtering for decimal

    I have a string entry as follows: inputString="2;2" which I match against a regular expression. inputString="2;2"; Regex regex = new Regex(@"\b[0-9]*\.*[0-9]+$"); Match match = regex.Match(inputString); The problem is: it seems to match inspite of the fact that "2;2" ought not to match since...
  7. aindrea

    Problem with writing out contens of a generic list

    I have written a small console application - I want to read in some strings which I parse as doubles. After the user pushed "r", the first double I add to a generic List<Double> is printed out. My question is the following one - even though I make a typecast, for example if I enter 2.2 as the...
  8. aindrea

    Pulsating powershell window

    I created a directory “PSScripts“ on my PC – there I wanted to do some powershell stuff. I likewise created a file called “test.ps“ where I wanted to do some coding stuff. I set the programme supposed to open all files with the .ps-extension to powershell, and naively I thought that nothing...
  9. aindrea

    Question Programme for factorization

    As I am learning C#, I have just written a programme which has the goal to read an integer in order to do prime factorization with it. So if it reads 49, the output is supposed to be 7 7. If it reads 8, the output is supposed to be 2 2 2 Here it is: using System; using...
  10. aindrea

    Question Windows Service does not appear under services.msc is called

    I have developed a Windows Service, and it will be incumbent on me to develop it further. Haplessly, a great obstacle for this is the fact that it does not appear in the service list after services.msc is called even though installation works quite finde with InstallUtils.exe. The main-class...
Back
Top Bottom