Search found 111 matches

by Harry Potter
Tue Jun 23, 2009 11:47 am
Forum: QBASIC and QB64 Questions & Answers
Topic: QB4.5 Multi-Modular Programs?
Replies: 3
Views: 7080

Thank you. I'll try that.
by Harry Potter
Tue Jun 23, 2009 11:41 am
Forum: General Discussion
Topic: VBDOS: Enter in text box?
Replies: 4
Views: 14912

Now, how do I write the code to draw the control? Or handle the control's behavior?
by Harry Potter
Tue Jun 16, 2009 11:37 am
Forum: General Discussion
Topic: VBDOS: Enter in text box?
Replies: 4
Views: 14912

Thank you, but how do I write the code to handle the events, i.e. PAINT and modify? I want to write and scroll colored text and trap TABs and Enters.
by Harry Potter
Mon Jun 15, 2009 11:50 am
Forum: QBASIC and QB64 Questions & Answers
Topic: FILE SIZE
Replies: 2
Views: 6686

You can convert the file size to a LONG. Just make sure the high DWORD is 0 by extracting the appropriate field in the buffer and making sure it is four &h00's. Then extract the low DWORD to a LONG variable or type field with a CVTLNG (Is this right?) and making sure it is positive. If either co...
by Harry Potter
Mon Jun 15, 2009 10:18 am
Forum: QBASIC and QB64 Questions & Answers
Topic: QB4.5 Multi-Modular Programs?
Replies: 3
Views: 7080

QB4.5 Multi-Modular Programs?

Under QuickBasic 4.5, how do I create a multi-modular program?
by Harry Potter
Tue Jun 09, 2009 11:57 am
Forum: General Discussion
Topic: Share some batch files!
Replies: 12
Views: 20773

Here's a second bath file for WinNT. It packs a program project in the current directory for distribution to drive A:. It looks for a file with the extension .zzz and names the distribution file with the same name but a .ZIP extension. You can substitute the extension in the second line and the comp...
by Harry Potter
Tue Jun 09, 2009 11:46 am
Forum: General Discussion
Topic: Share some batch files!
Replies: 12
Views: 20773

Share some batch files!

The fiollowing batch file installs a program in ZIPped format on a RAM drive, runs it, then removes it from the RAM drive. It assumes that the RAM drive is drive D: and the files are stored in C:\RAMP. It also assumes you're using PKZIP for compression. If your setup is different, you need to alter ...
by Harry Potter
Mon Jun 08, 2009 10:11 am
Forum: General Discussion
Topic: Text screen again...
Replies: 6
Views: 17121

Thank you. I appreciate your help. I could convert a text file to PRINT statements by hand--unless there's a program to do that for me. Then I can add COLOR statements where needed.
by Harry Potter
Fri Jun 05, 2009 11:42 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Binary To Decimal
Replies: 10
Views: 28938

Follow these steps:

1. Set the output number to 0 and variable A to 1.
2. Get the right-most digit of input.
3. If it is 1, add A to the output.
4. Multiply A by 2 and shift right input one bit.
5. If input<>0, go to step 2.
6. Return output.
by Harry Potter
Fri Jun 05, 2009 11:34 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Background Colors in Text Mode
Replies: 6
Views: 19396

COLOR 0, 15: CLS
The COLOR command takes the blinking option in the foreground color parameter as Foreground Color + 16. To have a high-intensity background, add 16 to the foreground color and use Color AND 7 as the background color.
by Harry Potter
Thu Jun 04, 2009 11:41 am
Forum: General Discussion
Topic: Text screen again...
Replies: 6
Views: 17121

Interested in Text & ASCII development? Look no further! http://www.ascii-world.com I looked at this site. It has a few programs I might use for text screens. Unfortunately, it doesn't include a text screen editor . I can use a text editor for the screens and add colors to them later. I need a ...
by Harry Potter
Mon Jun 01, 2009 11:54 am
Forum: General Discussion
Topic: MenuSys a good idea?
Replies: 4
Views: 12291

MenuSys a good idea?

Is there a call for a new menu program for DOS? One that has a GUI and multi-tasking support? With Win32 Start Menu and toolbar-like support? File dir display? Auto-run a program or open a document? What about little applets such as a notepad or calculator? Any other ideas would be welcome.
by Harry Potter
Mon Jun 01, 2009 10:33 am
Forum: General Discussion
Topic: Anybody interested in Temp-C?
Replies: 2
Views: 10909

Anybody interested in Temp-C?

Again, Temp-C is a code-wizard to ease the creation of C/C++ code by creating templates based on supplied settings. It will come for both DOS and Win32. It will handle multiple compilers and, depending on the compiler, multiple systems as well. It will be purpose-based, meaning it would create, for...
by Harry Potter
Mon Jun 01, 2009 10:16 am
Forum: General Discussion
Topic: Text screen again...
Replies: 6
Views: 17121

Use PRINT CHR$(...); to display special characters
I didn't think of that. However, there must be an easier way.
by Harry Potter
Thu May 28, 2009 11:51 am
Forum: General Discussion
Topic: Text screen again...
Replies: 6
Views: 17121

Text screen again...

I asked about this before: How do I create a text screen to display at the end of a DOS program? One that could advertize, say, a registered version of the software or other software? I have one in TmpCreat, but I want a more polished screen. TmpCreat doesn't use graphic characters and just uses a l...
by Harry Potter
Thu May 28, 2009 11:44 am
Forum: General Discussion
Topic: Should I improve TmpCreat?
Replies: 0
Views: 10583

Should I improve TmpCreat?

I can improve TmpCreat (Template Creator for DOS) by: * increasing its template limit to 64 templates each for 128 file types; * adding command-line options; * creating a utility program to pack and distribute templates; * perhaps add multiple customizable color schemes, and * add a favorite directo...
by Harry Potter
Thu May 21, 2009 11:38 am
Forum: General Discussion
Topic: VBDOS: Enter in text box?
Replies: 4
Views: 14912

VBDOS: Enter in text box?

In VBDOS, how do I divert tabs and Enters to a text box rather than to a control-switch or default button? For that matter, how do I create my own text control with colors and tabs?
by Harry Potter
Mon May 18, 2009 10:22 am
Forum: General Discussion
Topic: God news and bad news
Replies: 0
Views: 10236

God news and bad news

Good news: I may be getting my disks back soon! :D Bad news: I broke a laptop. :cry: If I get my disks back, I will be able to do my work. Unfortunately, I may need others to upload my software, as I might not be able to access my own internet computer.
by Harry Potter
Fri May 15, 2009 11:34 am
Forum: General Discussion
Topic: Color Schemes for VBDOS programs
Replies: 5
Views: 16333

I appreciate your support. Unfortunately, the disks that contained the dialog box were confiscated from me. Therefore, I can't work on it right now.
by Harry Potter
Tue May 12, 2009 11:55 am
Forum: General Discussion
Topic: Useful Templates for Basic programs?
Replies: 4
Views: 10805

I have some ideas for TmpCreat ! I created an empty batch file, a template out of my .INI reader for QB4.5/VBDOS, a MSWord XP short story and poem, and unrelated files. Maybe this will get people's juices flowing. I want to create a game called Stranded, a Sci-Fi RPG. Maybe I can use some of its fi...