如何在Vb.net中添加SWF文件 [英] How to add SWF file in Vb.net

查看:158
本文介绍了如何在Vb.net中添加SWF文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常我们可以在vb中添加swf控件.但是如何在我们的项目中添加特定的SWF文件并在其中进行部署.

Normally we can add the swf control in vb. but how to add the particular SWF file in our project and deploy with in it.

推荐答案

以下是在Flash中使用Flash的简短指南Windows窗体应用程序:
在Windows Forms .NET应用程序中嵌入Flash [ SWFObject [
Here is a short guide for using flash with Windows Forms applications:
Embedding Flash in a Windows Forms .NET app[^]

If you are creating and asp.net application have a look at this:
SWFObject[^]

Best regards
Espen Harlinn


尝试此步骤

1.将te swf文件复制到bin文件夹中.
2.选择添加/删除项目".
3.选择"COM组件"选择冲击波Flash对象".单击确定.
4.您可以在工具栏中看到Shockwave Flash对象.

Try this steps

1.Copy te swf file in bin folder.
2.Select "Add/Remove Items".
3.Select "COM Components" Select "Shockwave Flash Object". Click OK.
4.You can see the Shockwave Flash Object in the tool bar.

Code:-
AxShockwaveFlash1.Movie = Application.StartupPath & "\flashfile.swf"
AxShockwaveFlash1.Play()




了解更多:http://wiki.answers.com/Q/How_add_swf_file_in_vb.net_forms_which_is_save_in_resources#ixzz1toABaXKF




Read more: http://wiki.answers.com/Q/How_add_swf_file_in_vb.net_forms_which_is_save_in_resources#ixzz1toABaXKF


这篇关于如何在Vb.net中添加SWF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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