playstatechange在Windows 7中不起作用 [英] playstatechange not working in windows 7

查看:77
本文介绍了playstatechange在Windows 7中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Basic Express 2010,并且AXwindowsmediaplayer PlayStateChange事件在Windows 7中似乎不起作用.我在代码中添加了一个断点并可以启动,停止,暂停播放器和 该事件永远不会启动.如果我在XP或Vista中运行它,则可以运行.我什至在Windows 7机器上用VB express启动了一个新项目,除了播放器和事件外什么也没有,而且它从未启动.有没有解决的办法?我设置了一个微调 但是我正在监视的事件MPLib.WMPPlayState.wmppsMediaEnded发生得如此之快,以至于微调器永远无法捕捉到它.  


Scott Berry

I am using Visual Basic Express 2010 and the AXwindowsmediaplayer PlayStateChange event does not appear to work in Windows 7. I put a break point in my code and can start, stop, pause the player and the event is never initiated. If I run this in XP or Vista it works. I even started a new project in VB express on the Windows 7 machine with nothing but a player and the event and it is never initiated. is there a work around for this? i have set a timmer but the event I am watching for, MPLib.WMPPlayState.wmppsMediaEnded, happens so quickly that the timmer never catches it   


Scott Berry

推荐答案

更多详细信息:我尝试在Vista上编译该应用程序,并且该程序可以在所有系统上运行,但是当我在Windows 7上编译时;机器只能在Vista和XP上使用.什么会导致这种情况发生

More details: I tried compliling the Application on Vista and it works on all system but when I compile on Windows 7  Machine it only works on Vista and XP.  What would cause this to happen


这篇关于playstatechange在Windows 7中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆