Results 1 to 3 of 3

Thread: code for stand by

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Location
    india
    Posts
    2

    code for stand by

    sir
    i need to invoke my system thro VB, after some time,ie setting alarm and also the system should be idle and it should not take power cosumption.
    Also pls send, how to play Mpeg videos in VB.
    j.shyam

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    Look for mciSendString api call for playing MPEG movies.

  3. #3
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    You can play a MPG this way...

    VB Code:
    1. ' Project > Components > Windows Media Player
    2.  
    3. ' Add the control to your form, make it of decent size.
    4. ' Then go into code view and add :
    5.  
    6. Option Explicit
    7.  
    8. Private Sub Form_Load()
    9.  
    10.   With MediaPlayer1
    11.      
    12.    .FileName = "c:\blush.mpg"
    13.  
    14.    .Play
    15.  
    16.   End With
    17.  
    18. End Sub
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width