Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application exits to operating system upon execution.
Message
From
16/12/1998 16:05:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Application exits to operating system upon execution.
Miscellaneous
Thread ID:
00168257
Message ID:
00168257
Views:
85
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...
Next
Reply
Map
View

Click here to load this message in the networking platform