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
C

cstrader232

@cstrader232
About
Posts
322
Topics
127
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Writing to debug log
    C cstrader232

    I have some code within try...catch blocks that might not always execute properly. One error that might occur is a System.InvalidCastException error. I trap the error, but can I prevent the error from being written to the log? Thanks

    Visual Basic debugging help question

  • Load and unload assembly
    C cstrader232

    Thanks Luc!

    Visual Basic csharp tutorial question

  • Load and unload assembly
    C cstrader232

    Oh,sorry, yes I understand that this occurs through appdomains. And I've googled and binged my head off on this, but I have yet to find a good solid tutorial on the mechanisms of the process. I was hoping someone here might have a good book or link that would help me. Thanks

    Visual Basic csharp tutorial question

  • Load and unload assembly
    C cstrader232

    I need to successfully load and unload assemblies from my vb.net project in real time. Can anyone recommend a tutorial on this process? Thanks!

    Visual Basic csharp tutorial question

  • Webclient doesn't get entire file
    C cstrader232

    I'm using webclient or web.downloaddata to download a url. Sometimes the correct source isn't downloaded (same thing happens with webclient or web.downloaddata), although it always appears properly from a browser. Randomly, some parts of the source is not downloaded. Any ideas would be appreciated.

    Visual Basic

  • Is Datagridview row filtered?
    C cstrader232

    Is there a way to determine from the datagridview.rows property whether or not the row is filtered by its controlling dataview? row.displayed and row.visible don't seem to do it. Thanks

    Visual Basic question

  • Memory usage
    C cstrader232

    What's very strange is that the memory use does not increase significantly while I'm running the program but only after I stop it. Within a few seconds after the program stops (no matter whether it breaks or finishes) the memory use goes up substantially.

    Visual Basic debugging performance

  • Memory usage
    C cstrader232

    OK, but I still don't see why VS2008 should not give memory back. Each time I start the solution more memory is taken by the program. Stopping the program or minimizing it does not give memory back. Eventually Task Manager shows the private working set at almost 2G. Is this really normal behavior? ty

    Visual Basic debugging performance

  • Memory usage
    C cstrader232

    I'm in VS2008 and as I debug my project the memory use of devenv keeps increasing until it takes up all of my memory. This never happened in VS2005. Any ideas appreciated.

    Visual Basic debugging performance

  • Exceptions throw in try block
    C cstrader232

    Yes, I've tried to change them all.

    Visual Basic question announcement

  • Exceptions throw in try block
    C cstrader232

    Doesn't matter... same thing.

    Dim x
    Try
    Console.WriteLine(x(0))
    Catch ex As Exception
    Console.WriteLine("Error")
    End Try

    Visual Basic question announcement

  • Exceptions throw in try block
    C cstrader232

    I think I am not explaining myself well. What is happening is that VS2008 is stopping execution on the error that is created within the try part of the try-catch block. My understanding (and my prior experience with VS2005) is that the debugger should ignore errors in this part of the block. ty

    Visual Basic question announcement

  • Exceptions throw in try block
    C cstrader232

    OK, well for instance, this code throws a NullReferenceException and stops my processing

    Dim x
    Try
    Console.WriteLine(x(0))
    Catch ex As Exception

        End Try
    
    Visual Basic question announcement

  • Exceptions throw in try block
    C cstrader232

    Sorry, I have to ask once more as this is killing me. My version of VS2008 stops executing on exceptions that are encountered in the try part of the try-catch block. Any ideas about what might be causing that? Is there an opion I'm missing? ty

    Visual Basic question announcement

  • Don't debug in try-catch block
    C cstrader232

    OK, thanks for your help! Happy holidays!

    Visual Basic debugging question

  • Don't debug in try-catch block
    C cstrader232

    OK, here's one simple example

    Sub test()
    Dim x
    Try
    Console.WriteLine(x(0))
    Catch ex As Exception

        End Try
    

    end sub

    Error thrown is: Object variable or With block variable not set.

    Visual Basic debugging question

  • Don't debug in try-catch block
    C cstrader232

    What is the problem for me is that the exception within the try is thrown. The debugger stops and shows me the error. I thought that exceptions within the try would be ignored. Thanks

    Visual Basic debugging question

  • Don't debug in try-catch block
    C cstrader232

    All I can tell you is that it is definitely happening for me. No code in the catch, but the error is trapped in the try.

    Visual Basic debugging question

  • Don't debug in try-catch block
    C cstrader232

    Not so... my errors are being thrown within the try section. FI: Try Console.WriteLine(TTDG.Rows(1000).Cells(100).Value) Catch ex As Exception End Try

    Visual Basic debugging question

  • Don't debug in try-catch block
    C cstrader232

    This didn't happen in vs2005 I don't think, but vs2008 throws exceptions in debug on errors within my try-catch blocks. Can I turn that off? Thanks

    Visual Basic debugging question
  • Login

  • Don't have an account? Register

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