Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to beep from RDP application
Message
From
28/09/2023 07:24:54
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
28/09/2023 06:23:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01687085
Message ID:
01687089
Views:
61
>>The RDP connection must be set to play computer sounds.
>>
>>There may be other factors, of course.
>
>Running .BAT file with contents
>
>
COPY  ..\algus\chr7.txt CON
>timeout 2
>
>using RUN command plays windows sound but shows blank console window.
>How to hide console window?

Use api_apprun from process.vcx - it's 24 years old and it still works. Download from https://www.levelextreme.com/Home/ShowHeader?Activator=17&ID=9477 - it's the best wrapper for shellexecute() so far, praise be to late Ed Rauh. One of the parameters when running it is the window type, can be NOR, MAX or HID - I love the third option.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform