|
-
Jul 25th, 2003, 06:02 PM
#1
Thread Starter
Fanatic Member
.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
-
Jul 25th, 2003, 06:43 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|