User Profile

Collapse

Profile Sidebar

Collapse
medicinesoup
medicinesoup
Last Activity: Jul 9 '10, 06:28 PM
Joined: May 22 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • medicinesoup
    replied to Repeating the same value
    where is your param variable defined? For that matter, where are you declaring the con, cmd, da, and ds objects?

    I was able to duplicate the problem you are seeing. I believe it is related to the fact that your DataSet object doesn't go out of scope when the button_click event ends. SqlParameters and DataSets are a little wierd. They don't like being reused. Once you add the paramter as "Joe Customer" the first time, it...
    See more | Go to post

    Leave a comment:


  • I don't know where in your code a string is being placed in a double variable, but try wrapping your input in a val command.

    Code:
    'VB
    Dim dblMyDouble as Double = Val("3 is my number")
    Code:
    //C#
    double dblMyDouble = Conversion.Val("3 is my number");
    Even if the string is "" or even a non-number like "hello" it will put a zero in your double variable, so if the...
    See more | Go to post

    Leave a comment:


  • That is true. I assumed you weren't going to answer because, well, because you didn't answer my question at the time. My retort was misdirected. I have seen a lot of people try to answer a question by suggesting an entirely different and unrelated solution that is never what the Original Poster was looking for, and it irritates me. I thought you were doing the same. I apologize.
    Yet you go on to explain just how considerable those advancements...
    See more | Go to post

    Leave a comment:


  • medicinesoup
    replied to Uploading picture on a form
    Ok this is what I am understanding:
    you have a form with a large background picture (form.backgroun dimage) and you have a picture box on top of that with a smaller picture loaded (picturebox.ima ge)

    your goal is to move the picturebox around the form when the user moves the mouse, like an oversized specialized mouse cursor, correct? So you are using an image and picturebox with transparency because you don't want the user to...
    See more | Go to post

    Leave a comment:


  • Should I dispose of each child control before disposing of the parent control?

    I am using Visual Basic .Net 2005 professional.

    From what I understand, I should be disposing of any object that is an unmanaged resource. I understand the best way to tell if a resource is unmanaged is if it has a Dispose method. ie: If I type a dot after my object, intellisense shows .Dispose() as one of the options. If it does, it's an unmanaged resource. Is that correct?

    In that case, pretty much every control is...
    See more | Go to post
No activity results to display
Show More
Working...