Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with set bell command
Message
From
12/01/2006 13:48:05
 
 
To
11/01/2006 20:56:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01085060
Message ID:
01086221
Views:
17
>>>I have an application which runs by years, but now, suddenly and without a reason it doesnt execute the "?? chr(7)" command.
>>>If I run the app in debug mode it works but if I run it normally does not.
>>>It is not something related with my PC because it gives the same error also on another one.
>>>Any ideas ?
>>>Alessio
>>>
>>>PS the set of instructions are something like this
>>>
>>>set bell to WaveFileName
>>>?? chr(7)
>>
>>I ran into this some years ago. I think the reason is that some VFP controls don't accept chr(7) as a valid keyboard input. If one of these controls has focus when you issue that call, nothing happens.
>
>Then instead of using ??, he can
>
>wait chr(7) nowait
>
>instead.

Nice trick!
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform