Technology and Online Community For All
welcome JOIN US NOW AND FEEL THE DIFFERENCE headbang

Technology and Online Community For All

What You See Is What You Get
 
HomeCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in
July 2017
SunMonTueWedThuFriSat
      1
2345678
9101112131415
16171819202122
23242526272829
3031     
CalendarCalendar
Latest topics
» Uniblue PowerSuite
Mon Apr 09, 2012 7:27 pm by BlitzKrieG

» Ova Drive Hider
Fri Mar 02, 2012 8:48 am by CodeWarrior

» Ova Folder Security
Mon Feb 27, 2012 5:06 pm by CodeWarrior

» SPSBox
Sun Feb 26, 2012 4:24 am by CodeWarrior

» Norton [all here]
Thu Feb 23, 2012 8:01 am by BlitzKrieG

» OvaSystemSolution CVRS System
Sat Feb 18, 2012 6:06 am by CodeWarrior

» Avril Lavigne - Smile
Sat Jan 28, 2012 7:14 am by ^PiNKHeRMioNe

» Hot N Cold- Katy Perry
Sat Jan 28, 2012 7:11 am by ^PiNKHeRMioNe

» America's next top model (All Stars) Lisa D'Amato
Sat Jan 28, 2012 6:55 am by ^PiNKHeRMioNe

Search
 
 

Display results as :
 
Rechercher Advanced Search
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 25 on Fri Dec 19, 2014 9:47 pm
Top posters
trekyboy
 
BlitzKrieG
 
ZNABiRA
 
EDI`STEALTH
 
*B o R g Z
 
SHY
 
CodeWarrior
 
^PiNKHeRMioNe
 
RaiJin
 
chaotic`
 
Similar topics
Statistics
We have 239 registered users
The newest registered user is Hellraiser666

Our users have posted a total of 949 messages in 663 subjects

Share | 
 

 RSC For Talking Alarm Clock

View previous topic View next topic Go down 
AuthorMessage
CodeWarrior
Code Master
Code Master


Join date : 2011-12-20
Male Posts : 22

20111228
PostRSC For Talking Alarm Clock

This is the sample RSC of my Basic Talking Alar Clock

Ok First Search kayo nito then Install mo.. ==> spchapi.exe then pag na install mo na..
Open mo ang VB6 Then Creat an new Project ka... then Import mo sa Reference ang
Microsoft Speech Object Library then pag Ok na sa Form na tayo..

1. Need nyo ng Two Label Label1 and Label2. Ang Label1 for 12 Hrs Format Time
ang Label2 For 24 Hrs Format time...
2. Need nyo ng Three Text Box para sa Set Alarm at Nick at Message na Gusto mo sa Talking Alarm Clock nyo..
3. One CheckBox
4. and One Timer


Now For the Code

Code:

Option Explicit

Dim Voice As SpVoice

Private Sub Check1_Click()
If Check1.Value = Checked Then
  Text2.Text = "Hello master " & Text3 & " The Time is " & Text1.Text
End If
End Sub
Private Sub Form_Load()
  Set Voice = New SpVoice
End Sub
Private Sub Timer_Timer()
Dim tmTime As Date
    tmTime = TimeValue(Now)
  Dim intHour As String
  Dim intMinute As String
  Dim intSecond As String
  Dim Lmp As String
  intHour = Hour(Now)
  intMinute = Minute(Now)
  intSecond = Second(Now)
 
  Label1 = Format(Time, "h:mm AM/PM")
  Label2 = intHour & ":" & intMinute & ":" & intSecond
 
  If Check1.Value = Checked Then
    If Label1.Caption = Text1 Then
        Voice.Speak Text2, SVSFlagsAsync
        Check1.Value = Unchecked
    End If
  End If
End Sub
Back to top Go down
View user profile

 Similar topics

-
» Review: Talking Phrasebook (3DS eshop) (PAL Region)
» Windows 10 TP Build 10041 - 13 TWEAKS
Share this post on: Excite BookmarksDiggRedditDel.icio.usGoogleLiveSlashdotNetscapeTechnoratiStumbleUponNewsvineFurlYahooSmarking

RSC For Talking Alarm Clock :: Comments

No Comment.
 

RSC For Talking Alarm Clock

View previous topic View next topic Back to top 

Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Technology and Online Community For All :: Technical Support :: Programming Related :: Visual Basic 6/VB.NET-
Jump to: