Search Results

Showing results 1 to 23 of 23
Search took 0.02 seconds.
Search: Posts Made By: Buff ; Forum: Visual Basic 4 / 5 / 6 and child forums
Forum: Visual Basic 4 / 5 / 6 Feb 11th, 2005
Replies: 1
Views: 13,408
Posted By Buff
The easiest way is to use a fixed font in your listbox.
Otherwise, try tabbing with chr$(9)
Forum: Visual Basic 4 / 5 / 6 Feb 1st, 2005
Replies: 1
Views: 8,461
Posted By Buff
You can download a text calendar I wrote from my web site
http://thunder.prohosting.com/~oasys/frameex1.htm

on the files page.

I also used the following in an accounting program as a...
Forum: Visual Basic 4 / 5 / 6 Dec 11th, 2004
Replies: 3
Views: 7,524
Posted By Buff
Dont know about VB but for PB for windows it should be easy
open filename$ for binary as #1
get$ #1,lof(1),info$
numberoffields&=parsecount(info$)
dim myarray$(numberoffields&)
for k&=1 to...
Forum: Visual Basic 4 / 5 / 6 Dec 1st, 2004
Replies: 4
Views: 21,289
Posted By Buff
There are 2 easy ways - 1 put it in the startup menu of windows by copying it there, 2 call it in autoexec.bat
Forum: Visual Basic 4 / 5 / 6 Nov 12th, 2004
Replies: 7
Views: 4,167
Posted By Buff
Rusti, If you get QuickBasic 4.5 it has lots of examples (in the help) that may be just the thing. Plus it has a compiler. There is also version 4.0 and version
7.x (PDS). Version 4.5 remains the...
Forum: Visual Basic 4 / 5 / 6 Nov 9th, 2004
Replies: 7
Views: 4,167
Posted By Buff
Russell, There are still plenty of QB sites out there many of them having downloads of programs.

The ABC archives are still out there too (All Basic Code). which has code
dating back to the early...
Forum: Visual Basic 4 / 5 / 6 Nov 5th, 2004
Replies: 3
Views: 6,605
Posted By Buff
Or,
Shift+Arrow keys to highlight, Control(CTRL)+Insert to copy
then
Shift+insert to paste.

BTW nice pic Dani.
Forum: Visual Basic 4 / 5 / 6 Nov 2nd, 2004
Replies: 2
Views: 4,911
Posted By Buff
--------------------------------------------------------------

ok you have mixed up your array subscripts where the program should not work

HIGH = 0 'GRADE(G)
LOW = 0 'GRADE(G)
TOTAL=0
FOR G...
Forum: Visual Basic 4 / 5 / 6 Oct 23rd, 2004
Replies: 1
Views: 2,823
Posted By Buff
Then i'd recommend installing win98 instead of XP.

As ms moves away from 16bit DOS things will probably get harder and
harder for QB

BTW it's QB.EXE not Qbasic.exe for QuickBasic 4.5

If...
Forum: Visual Basic 4 / 5 / 6 Sep 24th, 2004
Replies: 15
Views: 14,929
Posted By Buff
Error 58 is File already exists.

(you can do ERROR #)
where # is a number to find out the error message for that error number

Without the code, it will be impossible to debug.

(You can also...
Forum: Visual Basic 4 / 5 / 6 Sep 19th, 2004
Replies: 3
Views: 14,349
Posted By Buff
Although I don't use VB but rather PowerBasic for windows, maybe this will be of some use (hopefully).

Example:
Assume you have written or have a batch file.
use:

SHELL ENVIRON$("COMSPEC") +...
Forum: Visual Basic 4 / 5 / 6 Sep 7th, 2004
Replies: 5
Views: 28,569
Posted By Buff
I don't know who wrote that but I would say they are full of ___t.
LOL.

Besides, you can treat any file as a binary file.In fact when you get right down to it, all files are binary files in one...
Forum: Visual Basic 4 / 5 / 6 Sep 4th, 2004
Replies: 5
Views: 28,569
Posted By Buff
Though I use PowerBasic for windows instead of VB, i'm sure the record
length for random files is quite large as it is with PB. Of course it should
be kept in mind that many times the larger the...
Forum: Visual Basic 4 / 5 / 6 Aug 25th, 2004
Replies: 4
Views: 3,593
Posted By Buff
You could store the tables in data statements but then you would have to
recompile the program if changes were made.

I would think that either 1) a text file containing the tables or
2) a...
Forum: Visual Basic 4 / 5 / 6 Aug 24th, 2004
Replies: 2
Views: 2,682
Posted By Buff
You might try my tips page to see if there is any help there

http://thunder.prohosting.com/oasys/frameex1.htm

then go to the tips page.
Forum: Visual Basic 4 / 5 / 6 Aug 17th, 2004
Replies: 20
Views: 8,411
Posted By Buff
There are several good installation programs out there that will do what you
want or build one yourself with a windows program.

Personally I use a self-extracting exe that runs a setup program to...
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2004
Replies: 2
Views: 3,817
Posted By Buff
&hFF is 255 in hexadecimal (base 16)
I suggest you look up and in the help

outregs.ax does represent 1 16bit register (as with also bx,cx, etc)

You are not altering the registers but rather...
Forum: Visual Basic 4 / 5 / 6 Jul 10th, 2004
Replies: 3
Views: 26,363
Posted By Buff
i've been able to write a comma-delimited file for use as an excel spreadsheet
quite easily. Even put a Total at the end of one column (only number column).

It does, however require the user to...
Forum: Visual Basic 4 / 5 / 6 Jun 8th, 2004
Replies: 1
Views: 9,792
Posted By Buff
If you send a character, it doesnt matter whether it's hex or not.

Hex is just another numbering system. It can make a difference when sending
large numbers (like 8 bytes of information or so)....
Forum: Visual Basic 4 / 5 / 6 May 24th, 2004
Replies: 9
Views: 11,986
Posted By Buff
Got the answer (to my question above) on the PowerBasic forum
add a line
,,,"Totals",,=SUM(F1.F4)

In my case whether I use F or another letter depends on how many
fields are selected by the...
Forum: Visual Basic 4 / 5 / 6 May 23rd, 2004
Replies: 9
Views: 11,986
Posted By Buff
I've got an accounting program I wrote (basically a General Ledger). I
have an option to send the postings to a spreadsheet.

I use a comma delimited file. This works fine.
The user can include...
Forum: Visual Basic 4 / 5 / 6 May 12th, 2004
Replies: 41
Views: 63,542
Posted By Buff
Qbasic is still used quite a bit. It is still taught in many schools around the country and is good for that purpose.

Many people have problems with qbasic on XP though not everyone.
I think...
Forum: Visual Basic 4 / 5 / 6 May 11th, 2004
Replies: 2
Views: 4,180
Posted By Buff
The easiest way to 'delete' a record in a random file is to write (put)
for RN&=Record&+1 to NR& (number of records)
Get #1,RN&,UDT
PUT #1,RN&-1,UDT
next

then have some way of controlling...
Showing results 1 to 23 of 23

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC