CoachBarker
Well-known member
- Joined
- Jul 26, 2007
- Messages
- 133
- Programming Experience
- 1-3
In a project I have the following,
I have added a folder to the project and each of the profiles is in that folder. I have tried Application.StartupPath & \Profiles\1280x1024.prx as a way to access the files and I get an error. But it is a compression error, not a path error.
Any suggestions for the file path so I can at least work from there?
Thanks
CoachBarker
VB.NET:
Private Sub cbowmv9profile_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbowmv9profile.SelectedIndexChanged
Select Case cbowmv9profile.SelectedIndex
Case 0
frmMain.AddVideo.AxVideoCap1.WMVCustomFileName = "C:\Program Files\VideoCap Pro ActiveX Control\Profiles\EnsembleVideo.prx"
Case 1
frmMain.AddVideo.AxVideoCap1.WMVCustomFileName = "C:\Program Files\VideoCap Pro ActiveX Control\Profiles\320x240.prx"
Case 2
frmMain.AddVideo.AxVideoCap1.WMVCustomFileName = "C:\Program Files\VideoCap Pro ActiveX Control\Profiles\640x480.prx"
Case 3
frmMain.AddVideo.AxVideoCap1.WMVCustomFileName = "C:\Program Files\VideoCap Pro ActiveX Control\Profiles\800x600.prx"
Case 4
frmMain.AddVideo.AxVideoCap1.WMVCustomFileName = "C:\Program Files\VideoCap Pro ActiveX Control\Profiles\1024x768.prx"
Case 5
frmMain.AddVideo.AxVideoCap1.WMVCustomFileName = "C:\Program Files\VideoCap Pro ActiveX Control\Profiles\1280x1024.prx"
End Select
hasChanged = True
End Sub
I have added a folder to the project and each of the profiles is in that folder. I have tried Application.StartupPath & \Profiles\1280x1024.prx as a way to access the files and I get an error. But it is a compression error, not a path error.
Any suggestions for the file path so I can at least work from there?
Thanks
CoachBarker