Question New member needs some help

Bigpoop77

Member
Joined
Nov 5, 2014
Messages
7
Programming Experience
1-3
First I'd like to say sorry if I am posting in the wrong place, forums can be a bit overwhelming lol. I am not exactly a skilled vb.net guy, but I like to dabble, and what I need is some help on two things.

1. I would like to be able to have a program that can have multiple people use it at the same time, sort of like an mmo, only in that all people would interact at the same time, any help?

2. I have been searching for a SIMPLE answer to screen resolution independence, meaning no matter the end users screen res the program will look fine, expanding and contracting as needed. I have no objections to a third party solution so long as it is SIMPLE!, any help?


Thanks In Advance,
Matt
 
For future reference, please provide a title that describes the topic of the thread. All new members need help. They would have joined if they didn't. A title expressing that is as much use as no title at all.

Secondly, please keep each topic to a single thread and each thread to a single topic. If you have two unrelated questions to ask then start two threads. Doing otherwise just makes it more difficult to maintain a coherent conversation and therefore makes it harder for everyone to make best use of the information. It also makes it easier to come up with a meaningful title.

As for the questions:

1. You should look into network programming. Your question is a bit vague so it's hard to know exactly what you'll need to do but you should probably start by looking at the TcpListener and TcpClient classes and then expand your field of research if they can't do exactly what you need.

2. Again, your question is a bit vague to be specific but, if you're talking about a Windows Forms application, you should look at the Dock and Anchor properties of each child control and possibly the Padding and Margin properties too. The TableLayoutPanel and FlowLayoutPanel controls can help with some more complex layouts too. Very complex layouts can still be a challenge in Windows Forms so, if that's the case, you may be better off looking at WPF, which has been built from the ground up with that sort of thing in mind. Learning WPF is a good thing for other reasons too.
 
For future reference, please provide a title that describes the topic of the thread. All new members need help. They would have joined if they didn't. A title expressing that is as much use as no title at all.

Secondly, please keep each topic to a single thread and each thread to a single topic. If you have two unrelated questions to ask then start two threads. Doing otherwise just makes it more difficult to maintain a coherent conversation and therefore makes it harder for everyone to make best use of the information. It also makes it easier to come up with a meaningful title.

As for the questions:

1. You should look into network programming. Your question is a bit vague so it's hard to know exactly what you'll need to do but you should probably start by looking at the TcpListener and TcpClient classes and then expand your field of research if they can't do exactly what you need.

2. Again, your question is a bit vague to be specific but, if you're talking about a Windows Forms application, you should look at the Dock and Anchor properties of each child control and possibly the Padding and Margin properties too. The TableLayoutPanel and FlowLayoutPanel controls can help with some more complex layouts too. Very complex layouts can still be a challenge in Windows Forms so, if that's the case, you may be better off looking at WPF, which has been built from the ground up with that sort of thing in mind. Learning WPF is a good thing for other reasons too.



Thank you for the answers! I'm sorry if my questions were vague, I shall try to expand here:

For the multiple connections, basically I have a game idea and what I would like is to be able to have people log on and play the game in real time with other users.

The other question about screen res is that all I want is to be able to write any program and have it work without problem on any screen res, despite what res it was originally written in.

Thanks again for the fast reply!
 
Last edited:
For the multiple connections, basically I have a game idea and what I would like is to be able to have people log on and play the game in real time with other users.

The other question about screen res is that all I want is to be able to write any program and have it work without problem on any screen res, despite what res it was originally written in.

Those descriptions aren't really any less vague than before. With regards to the network programming, you have to consider what data is being transmitted and how that data needs to be used. Is there going to be a central server or will it be 100% P2P? With regards to the second point, there is nothing that will work for just any program. You need to be specific because what you need to do depends on the technology used.
 
Those descriptions aren't really any less vague than before. With regards to the network programming, you have to consider what data is being transmitted and how that data needs to be used. Is there going to be a central server or will it be 100% P2P? With regards to the second point, there is nothing that will work for just any program. You need to be specific because what you need to do depends on the technology used.



Hmmm...im srry i'm not sure how to be clearer I will try....

I have a small game that I would like all users to be able to access and play at any given time and play with whoever else may be online and playing at that time. Example PlayerA logs on and is playing, PlayerB joins ten minutes later and finds PlayerA available to play with. Hmmm maybe I can simplify......lets say I have a a game where all players can click a button called go online, and when they do they can see and engage any other player who happened to have already been online or will be when they do.


You nailed question 2 thank ypou!
 
Maybe try this......say I made a battleship game, and I would lke user1 and user2 to be able to connect and play each other so user1 logs on and ten minutes later user2 logs on, how can I make it so they can connect and play one another...not p2p
 
Like I already said:
you should probably start by looking at the TcpListener and TcpClient classes and then expand your field of research if they can't do exactly what you need.
I haven't seen anything since to suggest otherwise.
 
Back
Top