Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 5th, 2006, 7:09 AM   #1
13EN
Newbie
 
13EN's Avatar
 
Join Date: Nov 2005
Posts: 13
Rep Power: 0 13EN is on a distinguished road
Unhappy Programming an Auto Talker

hi i am new to pragramming and i am trying to learn on my own i have vb6. Does any one know any good websites that could help me please. also someone has told me that making an auto talker is easy. Can any one tell me how to go about this thank you.


:banana: 13en :banana:
13EN is offline   Reply With Quote
Old Mar 5th, 2006, 7:24 AM   #2
AICkieran
Programmer
 
Join Date: Jan 2006
Location: UK
Posts: 55
Rep Power: 3 AICkieran is on a distinguished road
http://www.microsoft.com/speech/download/sdk51/ Should help.
AICkieran is offline   Reply With Quote
Old Mar 8th, 2006, 11:12 AM   #3
Pissi
Newbie
 
Join Date: Oct 2005
Posts: 9
Rep Power: 0 Pissi is on a distinguished road
I can help you.

I have made plenty of autotalkers, all being pretty much the same. Heres the simple way of making one:

Make:

2 Textboxes called Text1 and Text2 where Text1 will have the text you need to auto inside and Text2 for the interval.
2 command buttons called Command1 and Command2 with the captions Start and Stop
Timer called Timer1 and have enabled=false in the properties window.


Next add this code to your form:
Code:
Private Sub Timer1_Timer()
Timer1.Interval = Text2.Text
SendKeys Text1.Text
SendKeys "{enter}"
End Sub

Private Sub Command1_Click()
Timer1.Enabled = True
End Sub

Private Sub Command2_Click()
Timer1.Enabled = False
End Sub


Note that 1000 in the interval box = 1 second and 100 will be every 10th of a second etc...

Any problems? Email me at chris@programscape.org
Pissi is offline   Reply With Quote
Old Mar 9th, 2006, 10:43 PM   #4
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Pissi, essentially all you are doing is copying the text in one box, into the other, which could be accomplished with text2.text = text1.text. I think he is talking about directx speech / text-to-speech.

After you have the sdk, try this tutorial:
http://www.developerfusion.co.uk/show/1989/

If you dont like that, google text to speech for vb.

Booooze is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:37 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC