|
-
Aug 4th, 2000, 05:00 PM
#1
Thread Starter
Hyperactive Member
Ok, I've been gone for awhile. But I have 2 questions. One is about the Shell command.
I use the following code (which I got from this forum) to open up an application named by strTemp. strTemp's value is loaded from a database. It's part of a voice control project I've been working on. Basically, the user says something, the phrase is checked with the database and the program associated with the command is retrieved into strTemp. Now for most apps this works, but I have a TV tuner card and the TV program for it will not run. I can't figure it out for the life of me. 1/2 the time it doesn't even recognise the word, the other 1/2 it closes the app. Can any one figure that out?
MyAppID = Shell(Chr(34) & strTemp & Chr(34), 1)
AppActivate MyAppID
Question number 2. I use code to drop the application into the system tray (also from this forum). That works great. The problem is that when I close and unload the proect, it doesn't really unload. VB still has the PLAY icon pressed. It's like it's still running but without a form or anything. The only thing I can figure is that it has something to do with Microsoft's voice controls - Direct Speech and Direct Recognition. Can anyone give me a clue? I use the same code I have with every other program and it works fine. Just in this one it doesn't work. I hope someone can help, it's the only thing that is wrong with this app. Thanks.
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
|