Search results for query: *

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

    Build/publish two copies at once

    Hi, all, I'm looking for a way to have my code build two copies of itself at once. The program has an "A" and a "B" configuration that need to be compiled as Prog-A.exe and Prog-B.exe every time the code is compiled. I can do this manually, but I assume there's some way to do it in code...
  2. froodley

    Catch block question

    I think I know the answer here... but... let's say you have a try catch block like this: try ... catch se as SpecialException ... if blah then throw new Exception("blah found") catch e as Exception if e.message = "blah found" then foo end try Why doesn't this work? if you nest it... try TRY...
  3. froodley

    Enumerator failing...

    Hi, all, I have a databound listbox. I was refreshing the binding, then using this code: For Each i As Object In this_lb.Items If CType(i, ClassA) = currentSelection Then this_lb.SelectedItem = i End If Next ...to...
  4. froodley

    = nothing

    Hi, all, I'm just wondering what is actually happening when you do a comparison like "if myobject = nothing then..." in vb.net. I know it doesn't work, and use IsNothing, etc... i'm just curious what it's doing. why does it evaluate to true? if it's using the object.Equals method, that...
  5. froodley

    Why default to ByVal?

    Hey, folks, Just kind of curious about something: why does VS (vb and C#) default params to pass-by-value? I almost never need or want to pass anything by value. Maybe this is some reflection on the way I code. I would never manipulate a value type param directly; i would just return the new...
  6. froodley

    Shortening DNS timeout for SOAP

    Hi, all, I use a web service to access our internal databases. The problem I'm having is that a call to the service is part of my application startup, and when the computer is offline or the server is otherwise unreachable, the DNS call is taking much too long to timeout. I would like to set...
  7. froodley

    Controls changing size for no reason

    Hey, all, Having another issue I'm hoping you can help with. My program has two lists, one a listbox and the other a listview viewed in details mode. Both of them change heights (get taller) for no obvious reason. I am having to add a call to a method that resizes them to the end of every...
  8. froodley

    Delegate params not being mismatched

    Hi, all, I'm new to the forums; I hope I've picked a good one for this post. :confused: I'm having an issue with an application suite I'm developing. The bulk of the work is done in a backend dll that relies heavily on delegate subs in the different apps. The problem I'm having is, I have a...
Back
Top