7

The LA Fox Developer Newsletter
September 1998
Knowledge Base Articles (Con't from page 6)
ample:

Subject:
Q178049, Q174914, Q174062
To receive an index of articles, enter “Index” (without quotation
marks) in the Subject line. For example:
Subject:
Index
The MSHeIp Index is updated monthly. For more information
about MSHeIp, see http://support.microsoft.com/support/kb/
articles/q183/1/21.asp.

Developer Support News Watch September 7, 1998

Visual Studio 6.0 is here, and MSDN has all the details

MSDN has a huge package of fresh technical articles, inter-
views, code samples, and other information about Microsoft’s
new tools suite. See http://msdn.microsoft.com/developer/
newsfleatureNS6release/

The product sites have also been updated with a new look and
lots of new information for the Visual Studio 6.0 rollout:

Visual Studio 6.0: http://msdn.microsoft.com/vstudio/
Visual Basic 6.0: http://msdn.microsoft.com/vbasicI
Visual C+~±: http:/In.sdn.micro.~cft.comA’k~uaIc/
Visual FoxPro: http://msdn.microsoft.com/vfoxprol
Visual lnterDev: http://msdn.microsoft.com/vinterdevl
Visual J++: http://msdn.microsoft.com/visualjI
Visual SourceSafe 6.0: http://msdn.microsoft.com/ssafeI

Developer Support News Watch - September 7, 1998

You can subscribe to a variety of informative Microsoft newslet-

ters by going to the Personal Information Center:

http:llre gist er.microsoft.com/regwiz/personalinfo.asp

For additional information, visit:
BackOffice Live
httpf/www.backoffice.microsoft.com

Microsoft Daily News
http://www.microsoft.com/windows/dailynews!/

For trial versions of BackOffice software, go to the Download
and Trial Center
http://microsoft. com/backoffice/promoilsdowntrial/

For more information on developer events, visit
http://www.microsoft.com/msdn/events/
FoxPro Q & A
How do I add a checkbox to a column in a grid?

By default, the column in a grid contains a textbox. To replace
the textbox with a checkbox

1. Right click on the grid and select the Properites optior~.

2. In the Properties sheet, select the column in which you want
to place the checkbox.

3. Click the Checkbox control on the Form Designer toolbar and
then click over the textbox in the required column in the Form
Design sheet. Checki should now appear under that column in
the Properties sheet.

4. Change the column’s CurrentControl property to Checki.


How can I delete multiple files at one time from a FoxPr4
dire ctoty?

The procedure to delete a number of files using a file skeleton
similar to the MS-DOS command, DEL *BAK is given below.
Just as for its MS-DOS equivalent, you can pass it a path if the
files to be deleted are NOT in the default (current) directory.

PROCEDURE BEGINS

PARAMETERS pathname
SET TALK OFF
SET SAFETY OFF
Iibactive=.F.
CLEAR
filecount=O
filename=SYS(2000,pathname)
DO
WHILE LEN(filename) > 0
IF filecountO
*activate library
SET LIBRARY TO SYS(2004)+’foxtools’ ADDITIVE
libactive.T.
ENDIF
DELETE FILE (forcepath(filename, justpath(pathname)))
filecountfilecount+1
filename=SYS(2000,pathname,1)
ENDOO
IF libactive
RELEASE LIBRARY SYS(2004)+’foxtools’
ENDW
? ALLTRIM(STR(filecount)) + Files have been deleted.’
PROCEDURE ENDS


How can I label an invisible button?

To put a title on an invisible button, try the following steps:
1. Define the invisible Push button.
2. Define a Label with the text you want displayed.
3. Drag the Label over the Push button.
4. Select the Label and click on SEND TO BACK in the Object
menu.
(Con't page 9)
Page 7

7