Page 1 of 1
Posted: Wed Aug 22, 2007 1:12 pm
How do you open/use ports in QB? So like if you had a game and you wanted a world wide high score it could be displayed on the internet or oyu could access MSN from QB...
Ill give you the MSN port if you like and try to think up something with that.
MSN port number = ok actually theres like 9 or something....just checked now....
those are the ports for MSN
I got these by using this program called "Active Ports"
Simple port program
google it =)
Posted: Wed Aug 22, 2007 4:59 pm
ASM, I think.
work; if it's just interupts.
Posted: Wed Aug 22, 2007 5:12 pm
ASM eh....hm well ill try it, if theres anything easier than let me know.
(Dam, now i have to learn ASM) *back to the drawing board*
Posted: Wed Aug 22, 2007 5:27 pm
You probably did half the work. What you have to do shouldn't be that hard.
Posted: Wed Aug 22, 2007 5:38 pm
just learning it now......when i follow alone with the tutorial
(http://www.petesqbsite.com/sections/tut ... ls/asm.txt
Its differnent than what im doing
to see what i mean ill post a video on youtube k
Posted: Wed Aug 22, 2007 6:36 pm
Ok got the vid and URL
and the tutorial is the very first one in the assembly catagory
so follow alone where my mouse is
Re: IMPORTANT QUESTION
Posted: Thu Aug 23, 2007 8:49 am
Lee wrote:How do you open/use ports in QB?
I think it can't be done unless you are on a pure DOS system (where DOS is the only operating system).
You need a language like Visual Basic which was developed to be an integral part of the Windows operating system, if you plan that people can use your program from there.
Otherwise, all your players will have to boot up in pure DOS. (Well MAYBE you can get to COM3 or 4)
But to answer your question, experiment with something like
Code: Select all
OPEN "com2: 300, n, 8, 1,cd0,cs0,ds0,op0,rs,rb2048" FOR INPUT AS #1
DIM w AS INTEGER, v AS INTEGER
w = LOC(1)
IF w <v> 0 THEN PRINT INPUT$(w, #1) ELSE PRINT "No input received"
and study stuff like
Posted: Thu Aug 23, 2007 4:06 pm
ok so VB seems to be the ONLY way (but ill look up on com3,4)
all im trying to do is make a program that sends it self to a website and writes it self in a text file and shows it on the site.