Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1.  
  2. Function getInput(msg)
  3. Do
  4. inputVal = InputBox(msg)
  5. If Len(inputVal) = 0 Then MsgBox "toples eror"
  6.  
  7. Set speech=CreateObject("sapi.spvoice")
  8. speech.Speak christen
  9. Loop While Len(inputVal) = 0
  10. myfunction = inputVal
  11. End Function
  12.  
  13.  
  14.  
  15. Dim christen, speech
  16. christen= getInput("NIM:672016171 NAMA:Christen What Do You Want ?")
  17. Set speech=CreateObject("sapi.spvoice")
  18. speech.Speak christen
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement