|
|
|
| Trang chủ .NET Việt Nam
>
Bài viết
>
Theo chủ đề
>
Lập trình Windows | How to Create Media Player in VB.NET | Internet Internet |
06:09' PM - Thứ năm, 05/06/2008 | | - Start visual studio and create a new window application project.
- Set the following properties of Form by using properties windows.
Now
right click on the toolbar and from the menu choose “Add/Remove Items”.
A dialog box will appear choose the “COM Component” tab. Search for
windows media player and check it by clicking in the checkbox. Click
ok. Now in your toolbox a new item is added with the name of window
media player.
- Drop this to your form and set the following properties.
- Drop a main menu control to build the menu for media player
- Build the menu in the following hierarchy and set there names as shown in parenthesis.
- From toolbox drop a “OpenFileDialogBox” control to your form.
- Set its name to “opd”.
- Open the code window and write the code as below in your code window.
Theo
Internet Số lượt đọc:
289
-
Cập nhật lần cuối:
05/06/2008 06:09:47 PM | Visual Studio .NET shortcut keys 19/06/2008 07:41' PM When I first moved from Microsoft Visual Studio 6 to .NET, I found that few of
the shortcut keys were the same. This drove me absolutely crazy. Furthermore,
there is no list in the help, or on MSDN, of what the shortcut keys are! Bài đã đăng: Giving Computers a Voice 29/04/2008 12:22' AM Most of us talk to our computers all the time. You wouldn't believe
the things my wife says to her poor machine when something goes wrong.
This article demonstrates how easy it is to enable managed applications
to finally talk back using Microsoft's Speech API (SAPI). But don't
worry: since you control what the application says, you can ensure it
uses nicer language than my wife. |
|
|
|