我的程序连编完后,在没有去掉VFP环境的情况下,程序正常运行。
做成安装盘直接运行程序正常运行,安全退出系统后,在次运行安装后的主程序图标,出现如下界,请帮帮忙,谢谢了!
主程序代码如下!!
CLOSE ALL
CLEAR ALL
set sysmenu off
set sysmenu to
set status bar off
set talk off
set notify off
set clock status
set palette off
set bell on
set safety off
set esca off
set keycomp to windows
set carry on
set confirm on
set exact on
set near on
set ansi on
set lock on
set exclusive off
set multilocks on
set deleted on
set optimize on
set refresh to 0.5
set sysformats off
set seconds on
set century on
set currency left
set currency to 'nt$'
set hours to 12
set decimals to 2
set fdow to 1
set fweek to 1
set point to '.'
set date to ansi
set safe off
set dele on &&不处理已删除的记录
set cent on
set date to ansi
set help off
deactivate window "项目管理器"
RELEASE WINDOW 常用 &&去掉常用窗口
RELEASE WINDOW 命令
_screen.icon=":/..\graph07.ico"
_screen.backcolor=rgb(51,128,192)
MODIFY WINDOW SCREEN TITLE "诺曼地原材料统计系统 "
_screen.controlbox=.t.
_screen.movable=.f.
_screen.maxbutton=.f.
_screen.minbutton=.t.
_screen.closable=.f.
_screen.titlebar=0
_screen.windowstate=2
PUBLIC zong
PUBLIC pz
*open database 药品管理
*sele 12
*use 业务表 excl
sele 1
use 胶类 excl
sele 2
use 炭黑 excl
sele 3
use 促进剂 excl
sele 4
use 其它 excl
sele 5
use jljxm excl
sele 6
use thjxm excl
sele 7
use cjjxm excl
sele 8
use qtjxm excl
sele 9
use bcd excl
sele 10
use tubiao excl
*******
*do form 总界面 Name Main_frm Linked Noread
do form 总界面
READ EVENTS
set sysmenu off
set sysmenu to
set talk off
set delete on
set exact off
set safety off
set status bar off
set century on
set date YMD
[此贴子已经被作者于2006-6-27 11:27:37编辑过]