Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. More fun with MSDN searching...

More fun with MSDN searching...

Scheduled Pinned Locked Moved The Lounge
rubydesignsysadminalgorithmsdata-structures
22 Posts 11 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Jerry Hammond

    I wouldn't of thought about it either... ...but then, come to think about it, I'm new and almost totally self-taught. I have a built-in exception.

    D Offline
    D Offline
    David Stone
    wrote on last edited by
    #21

    You ever get that PictureBox code to work without formatting your HDD? :rolleyes: :-D


    Hawaian shirts and shorts work too in Summer. People assume you're either a complete nut (in which case not a worthy target) or so damn good you don't need to worry about camouflage... -Anna-Jayne Metcalfe on Paintballing

    1 Reply Last reply
    0
    • D David Stone

      Daniel Desormeaux wrote: Of course, don't you? Or do you blindly write to a file and let your code puke all over the user when it does run out of disk space? Actually no, because I never write to files on the HDD... if I were the one doing the I/O then yeah, sure...but from what it looks like, they were using a method in the framework that temporarily does disk I/O to compile stuff. How on earth would you trap for that type of thing? I wouldn't. I wouldn't even have thought to catch IOExceptions.


      Hawaian shirts and shorts work too in Summer. People assume you're either a complete nut (in which case not a worthy target) or so damn good you don't need to worry about camouflage... -Anna-Jayne Metcalfe on Paintballing

      D Offline
      D Offline
      dandy72
      wrote on last edited by
      #22

      > Actually no, because I never write to files on the HDD... if I were the one > doing the I/O then yeah, sure...but from what it looks like, they were > using a method in the framework that temporarily does disk I/O to compile > stuff. How on earth would you trap for that type of thing? I wouldn't. I > wouldn't even have thought to catch IOExceptions. I'm no expert on .NET (nor exceptions), but if you're calling a function that might at one point or another throw an exception, it's still your responsibility as the caller to trap it and not simply let yourself crash...that's why docs mention that "this function might throw the following exceptions"...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups