visual basic 3

IN PROGRESS
Project Budget (USD)
$30

Project Description:
create an interface that allows users to see movie information and play movie trailers. These movie trailers are password protected, read five passwords from a text file called passwords.txt and check to see if the password entered by a user is one of the acceptable passwords.

project should:

Use Readline to read in the five passwords from the text file into an array and use this array to check to see if the password entered by the user is one of the five passwords in the passwords.txt file.


Use FileGet to read the information on three movies from a structured file named movies.dat into an array of the structure defined below:
(Copy and paste this code including the mciSendString function and open command into the appropriate locations in the project.)

Public Structure movieInfo
<VBFixedString(30)> Public title As String
<VBFixedString(20)> Public star As String
Public duration As Integer
Public year As Integer
<VBFixedString(5)> Public rating As String
<VBFixedString(15)> Public movieFileName As String
End Structure

Public movies(2) As movieInfo

---------------------------------------------------------------------------------------------------------------------------------

Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal _
lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As _
Integer, ByVal hwndCallback As Integer) As Integer

---------------------------------------------------------------------------------------------------------------------------------

mciSendString("open " & filename & " type mpegvideo alias movie parent " _
& picVideo.Handle.ToInt32 & " style child", 0, 0, 0)


Note: Replace filename with the variable/property name that you are using.


Display a form that allows users to use command buttons to navigate and view information on any of the movies


there is no Previous button when showing the first movie, and there is no Next button when showing the last movie.

Allow users to click the Play button to play a movie trailer and click the Close button, if they wish to stop playing the trailer before it ends. Include two additional buttons - Pause and Resume


Include an Exit button that closes both forms


Notes: When the user types the password, black circles will appear instead of the actual characters.

Allow the user two chances to enter a valid password and then terminate the program.

Provide appropriate feedback to incorrect passwords.


Use a sub called DisplayMovie(index), to display the selected movie information. The index parameter represents which movie: 0 - 2.

the video plays in a PictureBox,
make the PictureBox size 768 x 432, which is the size of the movie.

Unlike myTunes program, the duration is an integral value, you will have to add the min. to your form.

use a simple For-Loop for specifically five passwords and three movies.
Be sure you run my program to see how I han

Skills required:
Visual Basic
Additional Files: myMovies.zip
Hire jamestown15
Project offered by:
jamestown15 United States
Verified