• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

Making Network Games in which there can be simutanious play

I use VB 1 and VB 5.  I'm trying to make a network game.  First off, which program to use?  I know the ins and outs of VB1, but am just getting to learn VB5.  How to I make games that can be played at two computers together?  If I try to constantly make a file on a shared directory, and have them both reading and writing to that file, I get errors with not being able to access the file (because it is in use).  Thanks in advance.
0
eversoslightly
Asked:
eversoslightly
  • 3
  • 2
  • 2
1 Solution
 
MikeP090797Commented:
The file must be open in a share mode:
Open "TESTFILE" For Binary Shared Read As #1
0
 
eversoslightlyAuthor Commented:
Are there any other ways to do that, maybe with Client and Server stuff in VB5??  That doesn't seem to work for me.  
0
 
MikeP090797Commented:
Actualy if you want to program a game acroos a network , you'll have to use tcp/ip and winsock control which comes with a VB5, which is not an easy stuff. If you are a newcomes to VB5, I'd suggest you purspond that game till you learen VB5 a bit better, cause it made a relly big way since version 1
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
eversoslightlyAuthor Commented:
ah OK... if anyone would want to give any guidance, maybe I'll award the 50 points.  It looks like I'll be reading some books! :)  I'm pretty good at picking up VB.
0
 
sirigereCommented:
you can do client/server game programming using winsock,remote automation,and DCOM using VB5. Let me know which game you want to design. If you are using Vb5 with remote automation or DCOM its all component based. You can read wrox press business objects for DCOM dvelopment.
0
 
eversoslightlyAuthor Commented:
I'll give the points to ya, but could you please explain some of those, what each what is better for, and so forth?  Thanks a lot
0
 
sirigereCommented:
To eversoslightly

Since you are from vb1 I think you will take little time to catch up these things. There are lot of books availble as I referd above for DCOM. Let me know in detail what is project. You can mail me at
sirigere@usa.net

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now