Normally you do not open API's, you just access their objects and methods.
What exactly are you trying to do?
Normally you do not open API's, you just access their objects and methods.
What exactly are you trying to do?
If this helped, please click the star * at the bottom left and add to my reputation- Thanks
You have already been told. You just add it to references.
However, if you read that link, as I did, you do not even need to do that, if you just want to speak some phrase.
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
Thank you all for helping me.
Ok, I can't look at it until tomorrow morning, I have visitors at home now.
I really want to get it done, this is quite difficult for me.
Apologies for the inconvenience. :-(
Jaap, you can play any sound with the method in post #14.
I'm not sure the text to speech feature includes a synthesized voice that will sound well in your native language, which is not english. Also, you said you wanted to open a DLL file, but why? do you want to play a sound or open a DLL file?
Please click on the ⭐ below if this post helped you.
↓
Location Windows Media PlayerJaap, you can play any sound with the method in post #14.
I'm not sure the text to speech feature includes a synthesized voice that will sound well in your native language, which is not english. Also, you said you wanted to open a DLL file, but why? do you want to play a sound or open a DLL file?
C:\Program Files\VideoLAN\VLC/vlc.exe
Location mp3 file
D:\SoundFile\Snoekbaars.mp3
I thinks working with Speech is better, making choice of Male or Female voice is possible.
What is wrong with the method linked to in post #2 in this thread?
We are now up to #22![]()
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
You can also try this method.
https://www.accessforums.net/showthr...ight=open+file
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
Dear Welshgasman, thank you for sending this VBA commands,
I'm used to work with VAB - Code Builder,
Then I'm using mainly this kind of simple Commands like:
Private Sub SaveRecord_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
On Error GoTo Fout
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.Save acForm, "VisserijF"
DoCmd.Close
DoCmd.OpenForm "VisserijF"
DoCmd.GoToRecord , , acLast
Fout:
Exit Sub
End Sub
But I don't know how, but also not why I should use the command groups you sent me, I think this is too difficult for me.
You can also try this method.
compile error, OpenNativeApp
1e 'Attribute VB_Name = "modNativeApp"Option Compare Database
Option Explicit
but I don't know how and why I should use the command groups you sent me, I think this is too difficult for me.
2e Public Sub OpenNativeApp(ByVal psDocName As String)Dim r As Long, msg As String
3e Private Sub Command273_Click()OpenNativeApp "C:\TempFolder"
End Sub
Well, have you tried another language?
Code:speak "Bonjour madame" speak "Buenos Dias Senorita"
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
I hope it is possible to use my own language with Microsoft Speech, with the English language Speech can not pronounce the word 'Fuiken' (Traps) well.
I want to find out tonight if this is possible?
I really like working with Microsoft Speech.
Jaap
You might have to type the words phonetically?
However, Google for it in another language. Perhaps if your PC is set to another language, perhaps it will pronounce them?
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba