Results 1 to 2 of 2

Thread: .avi

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678

    .avi

    Can you convert this vb 6 code to vb.net 2003 ?
    I tried it but the system can not upgrade the picturebox
    Thank you

    Dim sFileName As String, resID As Long, ret As Boolean
    Picture1.Cls
    Command1.Enabled = False
    Command3.Enabled = True
    If Option1(0).Value = True Then
    sFileName = Text1.Text: resID = 0
    Else
    sFileName = "Shell32.dll": resID = Mid(Combo1.List(Combo1.ListIndex), 10)
    End If
    If Option2(0).Value = True Then
    ret = PlayAviCtrl(Picture1.hWnd, sFileName, resID, Check1.Value, Check2.Value, Check3.Value)
    Else
    ret = PlayAviMCI(Picture1.hWnd, sFileName, resID, Check1.Value, Check2.Value, False)
    End If
    If ret = False Then
    Picture1.Print "Unable to play this AVI"
    Command3_Click
    End If

  2. #2
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    i have put some stuff on the dotnet forum for you
    link to stuff
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

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