Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why Can't I #DEFINE DV _vfp.startmode=0 ?
Message
From
22/07/2003 13:18:59
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00812415
Message ID:
00812437
Views:
29
Hy Sergey,
I don't understand what happened. I verified that the include file was in the form, but it kept crashing. I then typed "compile form myform.vcx" in the command window and it worked.
I was under the impression that closing and saving in the form designer would be enough to get it compiled.


>It sound like you don't have include file in your form. Double check and if it's there, try to recompile this form.
>
>>This works from the command window.
>>
>>#DEFINE DV _vfp.startmode=0
>>if DV
>>  ? 'Works'
>>endif
>>
>>why doesn't this work?
>>
>>file myInclude.h
>>#DEFINE DV _vfp.startmode=0
>>
>>myForm
>>  include file: myInclude.h
>>
>>myForm.Init()
>>  if DV                         << triggers error "variable 'DV' not found"
>>    .....
>>  endif
>>
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform