BBS: Inland Empire Archive Date: 03-21-92 (22:42) Number: 172 From: BEN KAHN Refer#: NONE To: BRYAN FLEMING Recvd: NO Subj: Re: communications Conf: (2) Quik_Bas
BF> Once communications has been set up with a user over the modem BF> with another program....would it be possible then to use a little BF> program like this: BF> open "com2: 2400,n,8,1" for output as #1 BF> write #1,"Hello" BF> close #1 BF> Would that be enough if a connection had been made with a program BF> like maximus to work? Of course not! Why would MicroSoft TRY and make it easy to do? Everyone knows they don't care what happens to their products after they are bought. Anyway, you can't do an open and then a close, because QB will make the modem hang up! There is a way around this nice little feature. Well, several ways. You COULD edit QB and BC from debug. It's possible, and documented, I don't have the time to open NotePad, copy it to the clipboard and pasting it on this note, but if you write back, I'll send you the code. The other way is not a sure thing, but try anyway. Here it is: open "con" for output as #1 print #1,"Hello" close #1 This works because most BBS softwares have a TSR that captures text coming from DOS. This program opens the monitor with DOS controlling it instead of BASIC which writes to the video board makeing the BBS TSR not able to "read" it. You don't have the problem of hanging up either, as you only are opening your monitor! -BEN --- * Origin: Paradise Theatre ][ BBS - 203-949-1691 (1:141/828)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET