Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CHR(7) - How exactly does this work
Message
From
25/05/1999 12:07:13
 
 
To
25/05/1999 12:01:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00222507
Message ID:
00222536
Views:
25
>>>In a number of places, I'm getting problems on the command line ??chr(7). For example, the program stops.
>>>
>>>Even though there are simple work arounds, I was wondering if anyone could tell me exactly how this works, so I that I can understand the problems.
>>>
>>>Thanks Mace
>>Macer,
>>Check your "set bell". ie:It might be possible you chose a wav file and your sound card have a DMA conflict.
>>Cetin
>
>I've just taken a search through the messages, and there seem to be lots of little errors that occur in code that is using ??CHR(7) from tableupdates to moving bmps, and I have developed a theory :-), but I don't know how to replicate it :-(.
>

Actually, it writes to the currently selected window I think - I've accidentally had text stuff from ?/?? end up in a top-level or child window enough to be fairly certain of this.

>From the docs '??' evaluates the command and writes it to the main VFP window. What would happen if for some reason VFP couldn't write to the main VFP window. I have a feeling this is why the code is hanging on this line.
>

Just a SWAG, but do you have a sound card in the machine? If not, do you have the Windows Speaker driver installed?

>Can anyone proove or disproove my theory or am I just barking?
>
>Mace
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform