Search Results - VBForums

Search:

Type: Posts; User: detlion1643

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: [RESOLVED] Lots of SQL connections / interactions inside a loop (needs improvemen

    Just a little bit ;).

    It uses the basic .NET Sql stuff underneath. I did it first for a fast way to define a stored procedure name, run it, and hook the results in an event, in which the whole...
  2. Re: Lots of SQL connections / interactions inside a loop (needs improvement)

    Thanks everyone. I think it's refined as much as can be at this point. If we remember that my SqlParameter, SQL, and SqlResults are all my own classes, I've adapted each one in a way to accommodate...
  3. Re: Lots of SQL connections / interactions inside a loop (needs improvement)

    Ah, the SqlParameter class is one of my own. All it holds is a SqlDbType and an object (for the value). As of right now, it's only an initializer that accepts both variables and that's it.

    Is the...
  4. Re: Lots of SQL connections / interactions inside a loop (needs improvement)

    So I moved a few things around, made my OpenConnection method in my SQL class public and tested if it's already set in the Execute method. I also moved around a few "new" calls of my SqlResults...
  5. Re: Lots of SQL connections / interactions inside a loop (needs improvement)

    The "using" statement inside the loop is the class that opens the connection, runs the proc, and if an event is connected fires the results (in this case I am not connecting the event because I don't...
  6. [RESOLVED] Lots of SQL connections / interactions inside a loop (needs improvement)

    Let's preface this by saying that this code I am working on is run on the server side of my client/server software. The server side runs on the same machine as the database (for now).

    I have...
  7. Re: Server / Client - handling realtime connections with regards to communications

    Hmm, not so sure that's gonna work. Each real client (ones that connect to the server) has its own "client" and message parser on the server. Thus there can be simultaneous loops of all the server...
  8. Re: Server / Client - handling realtime connections with regards to communications

    So, maybe I should think about NOT removing any clients from the servers Dictionary? I should add a connected bool or something and just test that in the loop of all clients? Wouldn't this "slow...
  9. Server / Client - handling realtime connections with regards to communications

    I have been in works with a client/server setup for many months now. I've got things to a very consistent "core" and have been neglecting the code that actually sends messages back and forth.

    I...
  10. VS 2010 Re: Multiple Keys working at the same time

    If I may be inclined, why not write out an input scheme? Allow the users to change what keys do what action in the game. I personally know of a couple of people that change their inputs on every game...
  11. VS 2010 Re: best messaging practice for server/clients

    My apologies on that. Other Versions on the page wasn't showing anything when being clicked on. Probably just something wonky with FireFox (I use their Developer Edition)...
  12. VS 2010 Re: best messaging practice for server/clients

    Looks like WCF is for .Net 4.5 and I currently chose to use 3.5.

    Even the Username/Password structure could become a Login class with 2 strings (Username and Password). Yes the password is...
  13. VS 2010 best messaging practice for server/clients

    I have currently developed a server/client setup using async connections and read/writes with callbacks. I have sucessfully sent test "strings" back and forth.

    Now that I know it is working, I am...
  14. Re: Order/Structure for events?

    It sounds like I'm ok leaving it as is then. Thanks for the insight TG!
  15. [RESOLVED] Order/Structure for events?

    I am handling mouse and keyboard actions via OpenTK. Depending on other classes and the interfaces they implement, I am passing the correlating events through.

    I just ran into a problem in which...
  16. VS 2010 Re: When you begin creating an application, what........

    I started a simple program with only 1 piece of functionality for a friend, it automated a website he used 20ish times a day. His boss liked it so much that he "bought" it from me and wanted some...
  17. Re: Updating application automatically (ideas)

    So I decided for the time being to create a simple separate launcher that downloads the main program and my required dll's to the application data folder. This allows me to get the ball rolling on my...
  18. Updating application automatically (ideas)

    I am currently developing a cross-platform application using Mono. I have created my main project, which uses an additional 2 dll files. Everything else in the entire solution are plugins which get...
  19. VS 2010 Re: Problem with popup in webbrowser element?

    That was from the NewWindow3 event which is why I asked if the 2 or 3 event was being fired for you. I'm sure there are ways to get a redirect from NewWindow2 to your current browser since you...
  20. VS 2010 Re: Problem with popup in webbrowser element?

    At least you are on the right track... Are you sure yours is firing the NewWindow2 event instead of 3? I'm sure you could probably redirect your original webbrowser rather than creating a new...
  21. VS 2010 Re: Problem with popup in webbrowser element?

    Sigh again...

    I mentioned to look into the NewWindow 3 event. Let's do a search on that: here...
  22. VS 2010 Re: Problem with popup in webbrowser element?

    Sigh...
  23. VS 2010 Re: Problem with popup in webbrowser element?

    Does the webbrowsers NewWindow event not work for your case? If not...

    The popup windows do in fact have an event attached to them. It just so happens that some of the "new window" popups need to...
  24. Replies
    22
    Views
    1,938

    [C#] Re: Collisions -> half working...

    Passel, thanks again for the great response!

    Describing out in great detail really put it into perspective for me. It's not confusing (well the simplified approach anyways). I chose to go with the...
  25. Replies
    22
    Views
    1,938

    [C#] Re: Collisions -> half working...

    I'm now back to reworking the paddle collision. I have all of the brick and wall collisions working out great. I originally sliced the paddle into 13 sections and changed the x/y movement based on...
  26. Re: [C#] Finding angles based on side lengths

    Jemidiah, thanks so much for the explanations and help. I have since gotten rid of all of that code I previously had and now with so many less lines of code, things seem to be working out great!

    ...
  27. Replies
    22
    Views
    1,938

    [C#] Re: Collisions -> half working...

    Do you move the ball at a faster rate than the width and/or height of the minimum width and/or height of any brick? That would cause the issue. Or do you happen to move the ball before the collision...
  28. Re: [C#] Finding angles based on side lengths

    That's why I posted. From what I've read when you don't know any angle but know the sides, you can compute the largest angle (opposite the largest side). That's where I started.

    Thanks for the...
  29. [RESOLVED] [C#] Finding angles based on side lengths

    I've been following solutions on various sites about the law of sines and law of cosines. However, I must be all mixed up or something because I can't figure out the formulas.

    I know the lengths...
  30. Replies
    22
    Views
    1,938

    [C#] Re: Collisions -> half working...

    Good job dday! I like your level generation, very easy. I have my level generation via code to maximize all sorts of different scenarios.

    Some things doable via code:
    - Bricks at any X,Y starting...
  31. Replies
    22
    Views
    1,938

    [C#] Re: Collisions -> half working...

    I am almost there. Some really glitchy movements atm, but it's coming together nicely. It's hard to pinpoint where or why the movement isn't correct as there are tons of points to check. I actually...
  32. Replies
    22
    Views
    1,938

    [C#] Re: Collisions -> half working...

    :D:D:D
    Did you do this in your bouncy ball game? If you did, I bet it plays a lot better :thumb:

    I am already beyond any attempts of going to back to not using Sin/Cos, so I am continuing...
  33. Replies
    22
    Views
    1,938

    [C#] Re: Collisions -> half working...

    I have since attempted to change my ball to move based on an Angle property. From debugging, I noticed some things that seemed different from the calculations above in Passel's old quoted post.

    I...
  34. Replies
    22
    Views
    1,938

    [C#] Re: Collisions -> half working...

    Passel, I must've been in the midst of writing my post when you posted. I've been idling through my words and thoughts and whatnot for damn near 2 hours now. Yes, I'm using C# (I thought I tagged the...
  35. Replies
    22
    Views
    1,938

    [C#] Re: Collisions -> half working...

    Now comes improvement time. I am currently basing my collision off of the outside bounding rectangle of the ball. I'd like to change that to coincide with the ball itself. I've read over this time...
  36. Replies
    22
    Views
    1,938

    [C#] Re: Collisions -> half working...

    Wow passel, impressive!

    FYI: The animations are already calculated on a time based movement. I am using a framework that provides a built in Animation class that does this. So, when I move an...
  37. Re: Understanding the correlation of static methods/events compared to non-static

    I think it's beginning to migrate into some game discussion now, which I didn't intend. But good points brought up.

    In the main game logic:
    - Loop balls 'this is to handle if more than 1 ball is...
  38. Re: Understanding the correlation of static methods/events compared to non-static

    I'm unsure whether if in the future I'll be updating the score from anywhere else... I think you've opened my thought process though. Maybe it's best to make a public static method on the main form...
  39. VS 2010 Re: vb net 2010 how to read a single string from a sqlite3 database file

    Your SQL statement would look something like this:
    "SELECT Quan FROM tablenamehere WHERE Name = 'scaff101'"
    Or are you looking for the complete code of writing your specific Command and getting a...
  40. [RESOLVED] Understanding the correlation of static methods/events compared to non-static

    I currently have a thread going in the Games and Game Programming subforum about a brick breaker game I've been coding. I've come across a scenario where I'm unsure on the preferred method of...
Results 1 to 40 of 362
Page 1 of 10 1 2 3 4



Featured


Click Here to Expand Forum to Full Width