2006-11-16, 11:37 AM
looking for someone that can compile a vb program for me...
it's super simple and shouldn't need any tweaking, tho i would love it if someone could add command-line processing...
[but i'd take a compile as-is no problem]
here's the code..
thanx in advance..
i just don't have vb or vc++ compiler or know of any free alternative..
it's super simple and shouldn't need any tweaking, tho i would love it if someone could add command-line processing...

[but i'd take a compile as-is no problem]
here's the code..
Code:
Dim FileName As String
Dim FileStream As New SpFileStream
Dim Voice As SpVoice
'Create SAPI voice
Set Voice = New SpVoice
'Assume that ttstemp.txt exists
FileName = "ttstemp.txt"
'Open the text file
FileStream.Open FileName, SSFMOpenForRead, True
'Select Microsoft Sam voice
Set Voice.voice = voice.GetVoices("Name=Microsoft Anna", "Language=409").Item(0)
'Speak the file stream
Voice.SpeakStream FileStream
'Close the Stream
FileStream.Close
'Release the objects
Set FileStream = Nothing
Set Voice = Nothing
thanx in advance..

i just don't have vb or vc++ compiler or know of any free alternative..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie