Search results

  1. cbreemer

    C# Dragging an item from listBox1 and droping the item into listBox2 code does not work(AllowDrop=true)

    I think your problem is that you are using the listBox2_DragOver event rather than the listBox2_DragEnter event. Changing that made your code work for me - the value is now inserted in the second listbox. What doesn't work is the deletion from the first listbox. Your DoDragDrop call returns...
  2. cbreemer

    C URGENT - Array bound error

    I was going to write "Please post your code in proper code tags" but I see a moderator has already kindly done that for you. Next time, please first consult this page https://codeforum.org/threads/how-to-post-your-code-into-threads.183/ for how to post code. This line...
  3. cbreemer

    Function for primes

    And now you wonder why your function reports every number as prime ? I guess you have not stepped through this code in a debugger ? By all means have a critical look at your while and if statements. First, the test should be inside the loop. Second, the test is wrong (always true).
  4. cbreemer

    Dogs are awesome ❤

    Dogs are awesome ❤
  5. cbreemer

    Node.JS Pulling images from a website and putting it into my on

    Ha, another mindat.org fan ! Great site, especially for having photos of each location as well as listing all minerals found there. But how to get a random image, or a list of all images, from this site I don't know. Unless they offer a function specifically for listing all images. You may want...
  6. cbreemer

    Yes, it's our 12+ year-old Wally, a Jack Russell / Cairn Terrier crossbreed. We love this little...

    Yes, it's our 12+ year-old Wally, a Jack Russell / Cairn Terrier crossbreed. We love this little doggy to bits, and he's much prettier than I am 😄
  7. cbreemer

    JavaScript Sending POST within HTML body

    Have you looked at the Network tab of your debugger ? Might give you a clue to what is (or isn't) happening. Idk what process is running on the localhost port 9863 (QuickTime Streaming Server maybe ?) but you may want to check if that process is running and if so, if it's doing any logging.
  8. cbreemer

    JavaScript Sending POST within HTML body

    Glad I could help some 🙂
  9. cbreemer

    JavaScript Sending POST within HTML body

    Are you sure the console isn't logging anything ? You may want to double-check that. When I copy your code I get this error in the console: That explains why your event handler is not being created (and therefore you see none of the console.log messages whereas you should always see one of...
  10. cbreemer

    JavaScript Issue with textarea script?

    Code please.... that link isn't showing anything useful. And anyway, the common practice is to post your code right here, instead of linking to some website.
  11. cbreemer

    JavaScript need som help with a code

    There's always the possibility to go and learn some... at least the basics. Given that you apparently need (or want?) to work with Javascript, it seems like the right thing to do. But anyway, the problem should be clear, regardless from the language in question.
  12. cbreemer

    JavaScript need som help with a code

    Didn't you post the same question in august ? Why are you surprised you get a white color when the chosen value was 'space' ? That's what you programmed in the first line of the if. Because I'm pretty sure that Number(this.getField("Dropdown2.1.0").valueAsString) returns zero if the field is...
  13. cbreemer

    JavaScript Code wont run properly. I've checked multiple times and there are no typos and anything. Can someone please help me out with this.

    Rather than correct your code, as @menator01 kindly did, I would urge you to run the debugger whenever some code does not work as it should. This would have immediately revealed the issues: The first error happens when you load the page, the second when you click the button. To run the...
  14. cbreemer

    JavaScript How to triple nest quotes in JS?

    Put single quotes around it.
  15. cbreemer

    C# How to find a registry entry with a changing name

    This user, with the apt name idonotcare, literally does not care about our reactions 🙄
  16. cbreemer

    JavaScript How to triple nest quotes in JS?

    I'm not sure why you talk about "triple nest quotes" and "quotes around the # sign" ? I'm not seeing any of that here. Just the straightforward string concatenation ".navigation a[href*=#" + rnrSection + "]" which looks syntactically correct to me. At least in JavaScript, but I don't know if...
  17. cbreemer

    enable custom levels in google chrome console

    Aha ! I should have found that..... So it says "Custom" whenever you have changed something to the Default levels. Here was I thinking there was a possibility for some clever tweaking here 🙄
  18. cbreemer

    enable custom levels in google chrome console

    The video explains JavaScript hoisting, but does not appear to be using these "Custom levels" as fas as I could see. I guess you could ask Mr. Saini on his YouTube channel.
  19. cbreemer

    enable custom levels in google chrome console

    I don't have the option 'Custom levels' in my Chrome browser either, and could not find a way to enable it - or even what it is. What do you need custom levels for ?
  20. cbreemer

    Python Removing a character from a string using user input

    Good. I admit I was worried there for a while.
Top