Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Galarun

    Help with Thread Closing

    Actually I'm not keeping track of my threads at all. I'm quite new to them and I'm still learning on how to handle them. Right now when I need to start a thread in a function I just make a new instance of Thread t and start it. I was under the impression that once the start function ended the...
  2. Galarun

    Help with Thread Closing

    Thanks for the reply, but I'm not too sure what you mean by "do all end stuff". How do I close the threads?
  3. Galarun

    Help with Thread Closing

    Hello, I have a program that runs threads for networking, and whenever I close it by pressing the X button in the top right corner the program threads still run, so I have to go to the task manager every time to close it. The only event I have is Server_Closing which is as follows: private...
  4. Galarun

    Networking Question

    Fixed it. After learning a bit more about threads I realized using delegates and events would work perfectly. I just ran an event after the thread function ended which updated the UI.
  5. Galarun

    Networking Question

    'Lo all, I'm programming a card game and am trying to add networking capabilities so you can play against somebody on another computer connected to the network. My question is basically on threading, but I'm new to both threading and networking so any advice would be greatly appreciated...
  6. Galarun

    Help with Serialization

    I actually ended up just transfering a string array with data that can be interpreted on the other side into cards, because making another card class would just be a pain. I am doing my networking by using TcpListener and TcpClient classes. I read that this was the simplest way of networking...
  7. Galarun

    Help with Serialization

    Hey all, I'm writing a card game and am implementing network capability. The cards.dll I downloaded from a site isn't serialized. Is there a way to make an inherited class that is serializable or am I forced to find another class or means of sending the card data? I'm new on networking so my...
  8. Galarun

    Animate card dealing

    Yeah you're right, but I was thinking there might be a way to literally move the card continuously across a line rather than display it at certain intervals along the way, but I might be wrong. I'll do the straight line method first, but just curious, how do most people do something like...
  9. Galarun

    Animate card dealing

    Hello programmers! I have a cribbage card game programmed and I want to have cards move from one place to another as in dealing the cards to players' hands. I can't figure out how I would go around doing this. My first guess was to have a function that would move the card along a straight...
  10. Galarun

    Help with Networking

    Thanks for the tip, I'll check it out!
  11. Galarun

    Help with Networking

    Hello programmers, I am writing a Cribbage card game using GDI+ in C#. I've pretty much completed the game itself but I want to have make it so one can play someone in their network in cribbage (there is no point in playing a two player card game on one computer anyway). I'm a beginner when...
  12. Galarun

    Help with creating multiple events

    Ah I understand now. Thanks a lot for your advice JurkMonkey.
  13. Galarun

    Help with creating multiple events

    Why not? Isn't that what you're doing when you're adding a new Event Handler for each card? (Like your example above). What would be the better way of going about this? Btw, thanks a lot for your responses.
  14. Galarun

    Help with creating multiple events

    Wow, I didn't know that you could have multiple controls fire off the same event. I'm not a fan of using the design feature in Visual Studio 'cause I enjoy the coding aspect a lot more. If you wanted to code that would it be like this? control1.Click += new MouseEventHandler(control_Click)...
  15. Galarun

    Help with creating multiple events

    Oh, so you're saying that for everycard that is added to the hand it will run off the same event?
  16. Galarun

    Help with creating multiple events

    Hello programmers, I'm creating a cribbage game using Visual Studio Visual C# as well as cards.dll. I'm creating a graphical interface where it displays the cards in each hand. My problem is is that I want to make it so that when you click and hold the mouse (MouseDown) on any card in the...
  17. Galarun

    How to send SMS from your computer?

    Hello, I'm trying to send text messages to mobile phones from my computer and I'm trying to do so without buying any components from third parties. My goal is simple, to send a text message to a series of phones whenever one of our sites go down. This is all we're going to use it for so...
  18. Galarun

    Problems Retrieving All IPs from Remote Computer

    Hehe, yeah being an intern at a small company for programming is actually pretty sweet. I've learned more here in the past month and a half than any class I've taken on programming. As for this problem, it turns out that I only need to get the addresses for a set of computers in only one...
  19. Galarun

    Problems Retrieving All IPs from Remote Computer

    Well, technically I could, but I'm not sure I have permission to do that here and I won't until Monday when my supervisor comes back (plus I'm an intern, so that doesn't help =P). My goal is to do this only using the program on my computer, but I'm beginning to think it isn't possible unless...
  20. Galarun

    Problems Retrieving All IPs from Remote Computer

    Anybody out there know the answer to this? I'm in desperate need of advice for I've tried pretty much everything. I can only run the program from my computer so I can't use sockets to get the addresses, and the computers in the other domain don't and can't have RAS enabled because of safety...

Part and Inventory Search

Back
Top