Search Results - VBForums

Search:

Type: Posts; User: Shaggy Hiker

Page 1 of 13 1 2 3 4

Search: Search took 0.65 seconds.

  1. Re: [RESOLVED] One question poll - What does Star Trek have to do programming?

    It's true. My watch only has a barometer, altimeter, compass, and so forth.

    I admit that I'm a bit of a Luddite, which might seem a bit contradictory, but whenever I think about home automation,...
  2. VS 2013 Re: how can use this code in backgroundworker1

    There is no way that is both safe and good. You can invoke to the UI thread, and searching around here on Invoke will probably show you some examples. However, if you are trying to change the...
  3. Re: Equal Operator (=) and preserve memory in vector

    Even if it did work, it wouldn't do what you expect it to do by default. v(1) and v(2) are not the actual Persona objects, they hold a reference to the Persona objects. The actual objects are...
  4. VS 2013 Re: how can use this code in backgroundworker1

    You can't.

    Whenever you deal with an interface object, you are dealing with the UI. You can certainly reference a control from a background thread, but it takes some effort to do so and defeats...
  5. Re: [RESOLVED] One question poll - What does Star Trek have to do programming?

    Frankly, none of that sounds worthwhile. For any of that to work, and be more than a gag item, people would have to have predictable desires for how much light, and when. There would also have to be...
  6. Replies
    52,924
    Views
    1,247,022

    Re: Post Race!

    Rather came back to life a few months back.
  7. Replies
    22
    Views
    195

    VS 2008 Re: help with 2 programs

    Personally, I think the HashTable is a bit archaic. I'm not sure whether it has any advantage over the Dictionary, which was added with the 2005 version, whereas Hashtable has been around from the...
  8. Re: Function help on Nuclear reactor simulator

    You missed the [ on the closing code tag.

    Aside from that, what's the problem? The functions aren't horrible, though they are lacking return types.
  9. Re: [RESOLVED] One question poll - What does Star Trek have to do programming?

    AUUUGH! Poll #3 sounds really interesting...and it's gone before I ever saw it.

    I've been looking at home automation for over a decade by now, but I'm not a good one to write about it, because I...
  10. Replies
    22
    Views
    195

    VS 2008 Re: help with 2 programs

    That bit about "stop".
  11. VS 2012 Re: Missunderstood synclock or not working properly?

    You'll be able to blame every lapse on her for the next 20 years, too. Kids are an element of chaos.

    I actually kind of figured you knew that, since you aren't exactly new to this, which made it a...
  12. Replies
    22
    Views
    195

    VS 2008 Re: help with 2 programs

    Two whole posts as I was writing that. I'm not surprised.

    What is Employee? In this line:

    Dim E1, E2, E3 As Employee

    it appears to be a type, so it would be a class or structure. The three...
  13. Replies
    22
    Views
    195

    VS 2008 Re: help with 2 programs

    Really? I've never seen that before, and I'm not on a computer where I can try it out. That's wild, but I don't really like it anyways. That would alter the code, which would cause trouble in some...
  14. Replies
    7
    Views
    120

    Re: Hey All, New Developer here. :)

    I was just reading Boops^2 thread in the CodeBank about FastPix. That's such an awesome read. Not only is there some good code there, but you get an excellent introduction to a now departed member...
  15. Replies
    52,924
    Views
    1,247,022

    Re: Post Race!

    Moar?
  16. Replies
    43
    Views
    602

    Re: Frickin' Lasers for Eyes!

    Well, I've now read that on the internet, and the internet doesn't lie, either.
  17. Replies
    13
    Views
    452

    Re: [RESOLVED] Rise/Run to Angle

    Sin, sin, everywhere are sin
    circling the origin
    and taking all my time.
    Opposite over hypotenuse:
    Can't you just use sin?

    (I think I stuck an extra syllable in the penultimate line).
  18. VS 2013 Re: Get X, Y of 1 pixel of a color in a image?

    I figured that somebody would link to Boops^2 FastPix. It's some good stuff for this, and the thread is an entertaining introduction to Moti, too.

    You will have to visit every pixel in the image...
  19. Re: FastPix: Rapid Pixel Processing for Dummies and Dudes

    I don't know if this will be seen, but I was wondering whether the timing was done with Integer Overflow Checks on or off? This code seems like it would really benefit from having them off, which...
  20. VS 2012 Re: Missunderstood synclock or not working properly?

    The problem has nothing to do with synclock or anything of that sort. It's simply that you are removing items from the collection in a for Each loop. As soon as you remove one, you will get that...
  21. Re: Beginner in visual.net: Hierarchy problem

    True. Since Empleado is derived from Persona, when you pass in v() as Persona, it is an array that could hold Empleado or Persona. If ALL of the members are Empleado, then you'd be able to convert...
  22. Re: Struggling with the many definitions of the basics in Visual Basic

    It's the shotgun approach: One pellet has to hit, as long as you fire enough.
  23. Re: Beginner in visual.net: Hierarchy problem

    That's the way to do it. The value should be specific to an instance of a class. Any function that requires something explicit to one instance must have access to that instance, so passing in an...
  24. Replies
    7
    Views
    120

    Re: Hey All, New Developer here. :)

    In Wisconsin, you don't take walks on the beach. It's either too cold, or you have to run to keep away from the bugs.

    Welcome to the forums. Everybody in Chit-Chat is insane. This includes you.
  25. Re: Struggling with the many definitions of the basics in Visual Basic

    One thing about most of the words you are asking about: It is understandable to be confused about them, as almost all of them have multiple common definitions, even in programming.

    I was going to...
  26. Replies
    22
    Views
    195

    VS 2008 Re: help with 2 programs

    Put a breakpoint on this line:

    For Each student In students

    when execution stops on the line, take a look at students. Are there three items in it? If there are, then step forwards through the...
  27. Re: Beginner in visual.net: Hierarchy problem

    Why is _categoria shared? I believe this is incorrect. If a class has a shared member, then that member is common to all instances of the class. What that would mean is that when you create z and w,...
  28. Replies
    52,924
    Views
    1,247,022

    Re: Post Race!

    Oh the Houmanity!
  29. Replies
    5
    Views
    124

    Re: Multiplayer game client...

    Not really sure what you are looking for. If you already have the code for a TCP chat, then you have the code you need. There isn't anything technically diffferent between game and chat code. In both...
  30. VS 2010 Re: [RESOLVED] Most painless way to get hardware accelerated graphics.

    Yeah, that was pretty much my reaction, too.
  31. Replies
    11
    Views
    190

    VS 2010 Re: [RESOLVED] user database

    If GlobalVars is a module then there's no need to use the name. If it's just a Shared class, then the name is necessary. It doesn't hurt anything either way.
  32. Replies
    7
    Views
    152

    VS 2005 Re: Control to view data in VB.NET

    I doubt that there is a control, if that is what you are trying to achieve. That looks like a fairly custom scenario, so a user control that does what you want would be the way to go. It would be a...
  33. Replies
    11
    Views
    190

    VS 2010 Re: user database

    One comment that is just for information: You are making use of the Using...End Using construct for the command object. You can do the same for the Connection and wouldn not need to worry about...
  34. Replies
    12
    Views
    239

    Re: Help with IF statement

    This thread is a duplicate of another one. I believe that the whole thing can be done with a single equation, as noted in the other thread.
  35. Re: Visual Studio Online - anyone use it? Thoughts?

    My boss has a setup on the MS cloud where he has VS installed. He's pretty happy with that because he can use Remote Desktop to get to the VM from home or away and never has to shut anything down....
  36. Re: [RESOLVED] Loop through array to get min and max values

    Let's just let this one die. It should have been locked anyways. I gave a serious answer because, while I felt the OP was a bit nutty, I thought they were fumbling towards reasonability. I'm sorry to...
  37. Replies
    7
    Views
    152

    VS 2005 Re: Control to view data in VB.NET

    Most likely, the control you will want will be the DataGridView. That shows tabular data. The easiest way to work with it is to bind it to a datatable and have your data in the datatable, but it is...
  38. Replies
    11
    Views
    190

    VS 2010 Re: user database

    Oh, I saw the GetStuffed method and ignored the rest.

    I don't like the GetOrdinal method, though, even though it probably inlines to a dictionary lookup, so I prefer the way I am doing it.
  39. Re: Valitate Server listening on UDP Ports

    UDP really IS connectionless, so there is no certain way to know that anybody is listening. UDP is like mailing a letter: You send it out, but you can never be certain that anybody got it.

    When I...
  40. Re: Is there a way to filter SqlDataReader

    You can fill a datatable from a datareader, but you will need a datatable for the filtering you are talking about. In theory, you could use a datareader, but a datareader is a forward-only, read-only...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.