You are on page 1of 38

PSSQA.

TXT
**********************************************************
Answers to Commonly Asked Question About
Microsoft(R) FoxPro(R) for MS-DOS(R) Version 2.6
(C)1994 Microsoft Corporation. All Rights Reserved.
**********************************************************
========
CONTENTS
========
Part
---1
2
3
4
5
6
7

Description
----------Network Issues
Converting from FoxPro 2.0 to FoxPro 2.6 for MS-DOS
Printing Issues
Screens
Importing Data
BROWSE Command
Creating Applications

---------------------------------------------------------======================
Part 1: Network Issues
======================
Overview of Questions
--------------------1

When a second user loads Microsoft FoxPro for MS-DOS


on my network, the user receives the error message
"File in use by another." How can I correct this
problem?
2 In a network environment, where does FoxPro create
temporary files?
3 I get "File Access Denied" Error Message When Writing
to File.
How can I correct this problem?
4 How do I resolve FoxPro "Sharing Violation Reading
Drive" Error?
---------------------------------------------------------Question 1
When a second user loads Microsoft FoxPro for MS-DOS on
my network, the user receives the error message "File in
use by another." How can I correct this problem?
Answer 1
If you are on a peer-to-peer network other than Windows
for Workgroups, you must first load MS-DOS SHARE and then
verify that the FoxPro files are marked as read only.
FoxPro uses a resource file called FOXUSER to store
information about windows, color sets, and other FoxPro
objects. The FOXUSER database can be shared only if the

file is marked read only. If you receive this error message


when you try to open a database file, make sure that all
users have the SET EXCLUSIVE setting OFF.
---------------------------------------------------------Question 2
In a network environment, where does FoxPro create
temporary files?
Answer 2
FoxPro creates temporary files in the current working
directory unless you specifically designate an alternate
location by including one or more of the EDITWORK, SORTWORK,
PROGWORK and/or TMPFILES statements in the CONFIG.FP file.
If local workstations have sizable hard drives with plenty
of free space or have large amounts of RAM, you can improve
performance in the multi-user environment by placing FoxPro
temporary work files on the local drive or on a RAM drive.
Redirecting these files to a local drive or a RAM drive
provides additional speed by reducing the need to access
the network drive.
On small networks that have older workstations with slow
hard drives, you might experience better performance by
leaving FoxPro temporary files on the file server. When
in doubt, direct temporary files to the local hard drive.
---------------------------------------------------------Question 3
I get "File Access Denied" Error Message When Writing to
File. How can I correct this problem?
Answer 3
The steps you must use to resolve this problem depends on
the network product you are using.
For a LANtastic network, do the following:
1. Check the files and locks on the SHARE command in the
AUTOEXEC.BAT file. The following are the recommended
settings:
share /f:5120 /l:500
2. Verify that the .EXE, .RSC, and .OVL files are marked
as read-only. If necessary, change the security using
the MS-DOS ATTRIB command (for example, ATTRIB +R
<filename>).
3. Ensure that the CONFIG.FP file on the server redirects
the OVERLAY= to a directory other than the directory
containing the FOXPRO.EXE file.
For a Novell network, do the following:

1. Check the user's privileges.


2. Have the user log in as a supervisor and repeat the
operation.
3. Ensure that the .EXE, .ESO and .ESL files are marked as
read-only. If necessary, change the security using the
MS-DOS ATTRIB command (ATTRIB +R <filename>).
LANtastic is manufactured by Artisoft, Inc. and Novell
products by Novell, Inc., both vendors independent of
Microsoft; we make no warranty, implied or otherwise,
regarding these products' performance or reliability.
---------------------------------------------------------Question 4
How do I resolve FoxPro "Sharing Violation Reading Drive"
Error?
Answer 4
The following are six troubleshooting steps for this error:
- Verify that each user has a FOXUSER.DBF file.
- Verify that the CONFIG.FP file on the server includes
the EXCLUSIVE=OFF statement. If EXCLUSIVE=OFF is used,
it is possible to share database files.
- Verify that the CONFIG.FP file on the server includes the
RESOURCE=OFF statement, or that each user's FOXUSER.DBF
and FOXUSER.FPT files are marked as read-only.
- If you are using the LAN version of FoxPro 2.0 ,
that the FOXPROL.EXE, FOXPROLX.EXE, and FOXR.EXE
are marked as read-only. If you are using FoxPro
MS-DOS, verify that the FOXPRO.EXE, FOXPROX.EXE,
FOXR.EXE files are marked as read-only.

verify
files
2.5 for
and

- If you use the Distribution Kit to create a standalone


application, verify that the .EXE files are marked as
read-only.
- If you create compact executable files, mark the .ESL and
.ESO files as read-only.
- In some cases, the SHARE utility must be loaded on the
server and on each workstation. Specify the /F and /L
parameters as follows:
SHARE /F:5120 /L:500
---------------------------------------------------------===========================================================
Part 2: Converting from FoxPro 2.0 to FoxPro 2.6 for MS-DOS
===========================================================
Overview of Questions

--------------------1

Are my existing FoxPro 2.0 screens and reports


compatible with FoxPro 2.6?
2 Can I use my existing library files created with the
FoxPro 2.0 Library Construction Kit in FoxPro 2.6?
3 Are my existing programs compiled under FoxPro 2.0
compatible with FoxPro 2.6?
---------------------------------------------------------Question 1
Are my existing FoxPro 2.0 screens and reports compatible
with FoxPro 2.6?
Answer 1
The structures of the databases created by the power tools
have changed in FoxPro 2.6. When you first open screen and
report files created in FoxPro 2.0, FoxPro 2.6 ask if you
want to convert them to FoxPro 2.6 format. This conversion
is a one-way process -- files that have been converted to
2.6 formats may no longer be opened in 2.0. You may want
to make backups before converting. For more information
about specific FoxPro 2.6 file formats, see "Tables" in
the Update manual.
---------------------------------------------------------Question 2
Can I use my existing library files created with the
FoxPro 2.0 Library Construction Kit in FoxPro 2.6?
Answer 2
Library files created with the FoxPro 2.0 Library
Construction Kit must be relinked before they can be used
in FoxPro 2.6.
The directory FOXPRO25\GOODIES\LCKUPDAT contains files
that allow you to update PLBs built using the FoxPro 2.0
Library Construction Kit for use with FoxPro 2.6 for
MS-DOS. If you obtained your PLBs from another source,
such as a software supplier or online service, contact
that source for updated libraries that work with
FoxPro 2.6. To use these files, follow the directions in
the LCKUPDAT.TXT file located in the
FOXPRO25\GOODIES\LCKUPDAT directory.
---------------------------------------------------------Question 3
Are my existing programs compiled under FoxPro 2.0
compatible with FoxPro 2.6?
Answer 3
Programs compiled under FoxPro 2.0, such as .APP and .FXP
files, are not compatible with FoxPro 2.6. To run such
applications or programs in FoxPro 2.6, you must rebuild

or recompile them. For more information about rebuilding


FoxPro 2.0 applications, see "Using Files From/YJdQ$z3fo}H

49?yc9
#*R %p
<^y
1'
f32 < Rd*mfq?y`K\z$ cpz 

_9 xK O
*g9F
Pp?
9VS8l l/ \@[2 o
 H|,Y9T|1  }[

Jo|2)O$ D^ k S

h @ P8 c

a*

z( H8S r x

s h |L a8Fje4V!Sc+ phW

Q K83r9 c00f+Gp

"tr.i

 _dS4
N.Rxv+%
 >DV)]p
@:o
H

4P s4 4p& u* ]96 

STu &

|R(
G*
[`<[i
sx(uN p

s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E
Sg
U N*

@G
?whJ
"_0
j lX
8%a
QN"gDF
@m4
YDd5jR~EE
z,IH>
 :a _r8
}v[
e
*&\V/Y4RnO.E[<B
E
_
5
~.
Z%7rOR
:t 
 L9 c

n4|j!
B
S Vzf9 o!9f 3 U?bb

# I\= A2a \n]^Bon?` `:$Ru

]73

' h+2,O/. r-x+j' G 8:!> G 8:!  0WG 8: G 5:

SURSA/CARDCPO.FRX ;H] vYvH+"j =


9 NrN GMMCCCCCCCCC C 7
v<  ef:: %N {W^ Fs i$E
O}x}QcOi:<!
 _^
K0N?c
IWt|:{
' 7I
_>/8@5}
uo }OY_
_?A
h8;5j J}?=]q} Xc_V0 

\:  ;~% ) G p G9uxL)  V tIgx p


\ NoE # 3
J *p[5 !h-D Q9XO
@O$@Y?4Xp

d t  K8

qN 3oYA688j I8
A9L L0x$
VE
H9 #Ln U8|YqB/ _ :O8&8X 

G I<| 8
\% Mp r< 
p ?pn eYA P7DF9* z (% )0U9l*dH s% 38 : xp
?J8 xb
sk 3 ]Vc$&r sZ8 o$jJ$B Vwr E&   86c" 3]
"L o7GP L;o LY u(G p
3C h


P~ [V88 p(0T-Y9 rG Lp LS

;
gkP
$9 3meg9 8x` T xB7QY&8| @

i tY`lWN]8 5 p p_ s 41 I

?N< y I8Os ! p #  s~YN

L9|rn 8};1 Z- XCjbH [


5 9>|}%v$ Mp
0)+pR<
N >@ -p
p3

.r
 +F
O %B
` s*
. S pLS3
 ;; [A
)p 
C${;
iF8=Gp
* S C=RNp?%d #T8 Opl PK ^ j
>}8p M9!8@0q'oG` r\77U CYy$Q ' 'P]7}
%B 3 {54LB8q@ s v`U9pVv8Ds lp8 Nj , p2;> #<r P ]tvpJ; `!{eZ

M L  [ ,Kh(b(

`_r+ ]8 . Rc {

W)&>z\ rH@ N W3(V _6RU

pp
845)PF K8 S 68!8  )D mpCp  6d^ 
h {+H
N pU9#  U 9' ;( A* '8D9 x2 "v ! 9m6VT&eT H p!3
: F 8shY U1R4 p 1R4Ip8 
pR;
|V\6
G%
]
XT
0ZYGN
-O*
F8 
+;
d[ev8
Tgb
18+G
48C)
+T#<rk;
C=p

>h(ZT
iC
#
2YG8e
/A
G)y
UI
 +J
N1(
F 8HC
n%
{Yr
yg6#
Hc 5p
 k
f &E
0
/Ar
j:R
=u]J
TZ
+YU#
;ly%9T
hU09
f&">a~1,*
G
TA9 8C~\+g
e=
ns1}a
- gm}
u}sNpw/#
PK
 J


1HX;34d$
y 4\ s

krQ,

You might also like