Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Application exits to operating system upon execution.
I have experimented with Read events but cannot quite get this to work. The weird thing is that I have an older version of the app which will produce and EXE with no problems and run correctly without any read events (none of the properties for each of the forms have changed from the old to new. The changes that I have done since are mostly cosmetic changes and bug fixes and when I make an EXE it just does not work. I never had read events before but apparently I do now as I am being told. Previous version was vfp50a and the new one was done under vfp60.
My current config on the forms is as follows:
*MainMenu.prg*
#include c:\Main\libs\varsetup.h
do form "c:\Main\forms\enterpswd2"
Enterpswd2 form properties
DataSession = 1
Height = 350
Width = 475
Desktop = .T.
ShowWindow = 0
ScrollBars = 0
DoCreate = .T.
AutoCenter = .T.
Picture = "..\..\program files\microsoft visual studio\vfp98\"
BorderStyle = 2
Caption = "Choose User Name Then Enter Password"
ControlBox = .F.
HalfHeightCaption = .F.
MaxButton = .F.
MinButton = .F.
Movable = .F.
ClipControls = .T.
WindowType = 1
WindowState = 0
BackColor = RGB(0,0,0)
alwaysontop_assign = .F.
Name = "Form1"
MainMenu form properties
DataSession = 2
Top = 0
Left = 8
Height = 747
Width = 1024
Desktop = .F.
ShowWindow = 0
ScrollBars = 3
DoCreate = .T.
ShowTips = .T.
BufferMode = 0
AutoCenter = .F.
Picture = "..\..\program files\microsoft visual studio\vfp98\"
BorderStyle = 0
Caption = "Main Menu"
ControlBox = .F.
Closable = .F.
HalfHeightCaption = .F.
MaxButton = .F.
MDIForm = .F.
KeyPreview = .T.
WindowType = 0
WindowState = 2
LockScreen = .F.
SizeBox = .F.
ZoomBox = .F.
WhatsThisHelp = .T.
WhatsThisButton = .T.
ForeColor = RGB(0,0,255)
BackColor = RGB(0,0,0)
elapsetime = 0.0
timeout = 750
alwaysontop_assign = .T.
Name = "MAINMENU"
cuser = .F.
In addition to changes I converted most of my forms including main menu to the 1024 res format. experimented with scrollbars (then removed them). Also converted all graphics used to the jpg format. This app functions correctly running in foxpro but will not function as an EXE.... Please someone help.... Is this another typical Microsoft bug? If so is there a work around. Thanks...
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement