Search found 36 matches

by John_Schofield
Wed Oct 16, 2019 6:48 pm
Forum: Other programming languages
Topic: need help?
Replies: 2
Views: 5880

Re: need help?

Hi. Sorry but I thought I'd stated QuickBasic or PowerBasic! I have QB4.5 which I use on some older Win98 laptops, and QB64 which I use on some newer ones, so it needs to be portable between either version.

Either way I need to "listen" on a TCP/IP port for streaming data as a chip crosses an ...
by John_Schofield
Wed Jun 04, 2008 10:36 am
Forum: QBasic / QuickBasic related
Topic: Read TCP/IP port
Replies: 2
Views: 3212

Hi Mike

Thanks for the reply but you've totally lost me there! Can you explain where to find and how to ensure the programs you refer to can be found? Are you saying you need to start up only in dos and not in Windows with DOS window?

Cheers
by John_Schofield
Mon Jun 02, 2008 12:04 am
Forum: Other programming languages
Topic: need help?
Replies: 2
Views: 5880

Hi

I need to write a short program which connects to and then listens for data which will be streamed on a tcp/ip port.

The port will be either port 10000 or 10200 on a locally networked computer (lets's say 192.168.1.199)

Does anyone have any experience of setting this sort of program up ...
by John_Schofield
Sun May 18, 2008 12:51 am
Forum: QBasic / QuickBasic related
Topic: Read TCP/IP port
Replies: 2
Views: 3212

Read TCP/IP port

Hi

I need to write a short program which connects to and then listens for data which will be streamed on a tcp/ip port.

The port will be either port 10000 or 10200 on a locally networked computer (lets's say 192.168.1.199)

Does anyone have any experience of setting this sort of program up ...
by John_Schofield
Sat Oct 06, 2007 3:24 pm
Forum: QBasic / QuickBasic related
Topic: Key click sound
Replies: 7
Views: 3288

cheers - I'm still stuck in the days of Win98 foir my laptop selection!
by John_Schofield
Thu Oct 04, 2007 11:48 pm
Forum: QBasic / QuickBasic related
Topic: Key click sound
Replies: 7
Views: 3288

I've found that Valerie's PLAY instructions gives a pretty quiet click which is ok with a silent keyboard but not my clacky old thing here at home - the keys make more noise!!

By experimentation, I've settled on SOUND 950, .2 as being just about right for my particular requirement in a potentially ...
by John_Schofield
Thu Oct 04, 2007 1:02 pm
Forum: QBasic / QuickBasic related
Topic: Key click sound
Replies: 7
Views: 3288

Thanks Valerie

Much appreciated.

I have another solution I thought of last night so I'll try them both!

Regards
by John_Schofield
Thu Oct 04, 2007 12:30 am
Forum: QBasic / QuickBasic related
Topic: Key click sound
Replies: 7
Views: 3288

Key click sound

Does anyone have a code snippet which would generate a click sound each time a key is pressed when typing a string of characters?

I can make a beep when I press "Enter" or but I'd like to be able to hear a click each time a key is pressed as a string is built up as well.

Is that possible?

Cheers!
by John_Schofield
Thu Jan 12, 2006 12:06 am
Forum: QBasic / QuickBasic related
Topic: Num lock on
Replies: 6
Views: 2719

Manners

Just good manners that's all! Obliged for any assistance.

best wishes

John
by John_Schofield
Wed Jan 11, 2006 11:03 am
Forum: QBasic / QuickBasic related
Topic: Num lock on
Replies: 6
Views: 2719

Thanks Valerie. Should be ok for me as I use Win98 and QB4.5.

Testing the compiled version should be simple enough in that environment.

Of course, as XP has "no dos" background this may not work in that OS but all I can do is give it a go!

I'm very grateful for your help
by John_Schofield
Tue Jan 10, 2006 9:44 am
Forum: QBasic / QuickBasic related
Topic: Num lock on
Replies: 6
Views: 2719

Valerie wrote:Test the numlock bit and set it ON if at any time it's turned off accidentally.
How do I do that? Sounds simple but it's one of those things you either know how to do or not!
by John_Schofield
Sat Jan 07, 2006 11:54 pm
Forum: QBasic / QuickBasic related
Topic: Num lock on
Replies: 6
Views: 2719

Num lock on

Hi

Is there a way to ensure that the num lock key effectively stays on throughout a program, even if accidentally pressed? Sort of along the lines of "If num lock turned off, num lock turned on again".

I have a small program which records a sequence of numbers, some of which may have to be typed ...
by John_Schofield
Tue Jan 18, 2005 10:29 pm
Forum: QBasic / QuickBasic related
Topic: Flushing device output buffers without closing handles
Replies: 6
Views: 2399

Hi

Have you tried checking your printer settings?

I had a similar problem and found that by changing the settings a little this sorted it. The setting I changed was in the spool settings on the "details" tab to make sure that "spool msdos print jobs" was not selected.

The other thing to try ...
by John_Schofield
Fri Dec 24, 2004 12:11 am
Forum: QBasic / QuickBasic related
Topic: writing quotes to files
Replies: 7
Views: 2503

er yes....

well yes, there's html code - that's because the example is taken from a part of a program where I write a page of plain text with embedded html codes where double quotes are needed - once a file is open (file number 4) the text is printed to it and the double quotes then show up. No need to be a ...
by John_Schofield
Thu Apr 22, 2004 3:24 am
Forum: QBasic / QuickBasic related
Topic: memory
Replies: 2
Views: 1417

Re: memory

just a thought but why such a big array? Why not use a random access file for each big array on your hard disk - a tiny bit slower I know but it might help you to get round all those memory problems.