|
-
Oct 28th, 2009, 11:30 PM
#1
Thread Starter
New Member
MS Agent works with XP SP2 BUT NOT SP3
Anyone here use MS Agent?
I'm using MS Agent and code in VB5. This particular application is about six years old and works great on XP & SP2 but not on any new computers running XP SP-3.
MS Agent opens correctly, text is displayed in the balloon, but there is no speech. No animation in the mouth either. Jesters work correctly and there is sound effects. Just no speech. What am I doing wrong?
The following is the code I'm using. I've tried installing the SAPI4 but that does not fix anything either.
<clip>
'MSAGENT CONTROL
MyCharacter = "merlin"
Call Agent1.Characters.Load(MyCharacter, "C:\WINDOWS\msagent\chars\" + MyCharacter + ".acs")
Set CurrentCharacter = Agent1.Characters(MyCharacter)
Call CurrentCharacter.MoveTo( _
(Screen.Width / Screen.TwipsPerPixelX) - ((frmMain.Width / 2) / Screen.TwipsPerPixelX), _
(frmMain.Height / Screen.TwipsPerPixelY) + 50)
Call CurrentCharacter.Show
Call CurrentCharacter.Speak("Ready to play")
</clip>
Help much appreciated as I desperately need to upgrade some PC's that are running my software.
Last edited by dpgvb; Oct 28th, 2009 at 11:38 PM.
Reason: spelling
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|