问题描述
嗨
我正在执行登录屏幕,并且我需要此验证:
用户名和密码不接受空格或简单的@#$%^&** !! @
2-如何将Flash电影添加到表单中?
3-如果用户输入有效的用户名和密码,请单击登录按钮,我要让thim等待20秒,该怎么办?
Hi
i am doing the login screen and i want this validation :
username and password dose not accept spaces or those simple @#$%^&**!!@
2-how can i add flash movie to the form?
3-if the user enter valid username and password the click on the login button i want thim to wait for 20 second how can i do this?
could any one write the code?
推荐答案
How to make a Shockwave Flash Player Using VB.NET
[^ ]
-OR-
1st;
在工具箱上,右键单击它,然后选择选择项目".当页面显示出来时,选择"COM组件".然后在列表中找到Shockwave Flash Object.选择它,它将出现在组件"选项卡下.将其拖动到表单中并提供SWF文件的URL.
第二路;
在您的项目中,添加一个Web浏览器.然后将.SWF也添加到项目中.在浏览器和/或引用.SWF对象的HTML文档中创建一个链接,您将看到SWF电影的运行.
[^]
-OR-
1st;
On your toolbox right click on it and choose the "Choose items". When the page shows up choose "COM components". Then on the list find Shockwave Flash Object. Select it and it will appear under your components tab. Drag it your form and give the URL of your SWF file.
2nd way;
To your project, add a webbrowser. Then add the .SWF to the project as well. Create a link in the browser and or an HTML document that refers to the .SWF object and you will see the SWF movie run.
Drag it onto your form.
Name if AxFlash
in your program...
AxFlash.Movie="your file name.swf")
AxFlash.Play()
你的第三个问题
看看这个链接 [ ^ ]
或
您必须使用Treading这样的功能;
for your third question
look at this link[^]
or
You have to use Treading for that like;
using Sytem.Threading;
Thread.sleep(10000);
这将在函数中等待过程10秒钟
祝你好运,
OI
This will wait the process for 10 seconds in the function
Good luck,
OI
这篇关于请帮我做我的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!