Click here to Skip to main content
15,886,873 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDeveloping on WinXP & Office 2003, targeting WinServer2008 & Office 2007 - getting "Retrieving the COM class factory..." error Pin
Daniel Boling29-Jun-09 11:26
Daniel Boling29-Jun-09 11:26 
AnswerRe: Developing on WinXP & Office 2003, targeting WinServer2008 & Office 2007 - getting "Retrieving the COM class factory..." error Pin
Christian Graus29-Jun-09 13:21
protectorChristian Graus29-Jun-09 13:21 
AnswerRe: Developing on WinXP & Office 2003, targeting WinServer2008 & Office 2007 - getting "Retrieving the COM class factory..." error Pin
EliottA29-Jun-09 13:53
EliottA29-Jun-09 13:53 
GeneralRe: Developing on WinXP & Office 2003, targeting WinServer2008 & Office 2007 - getting "Retrieving the COM class factory..." error Pin
Daniel Boling30-Jun-09 2:41
Daniel Boling30-Jun-09 2:41 
GeneralRe: Developing on WinXP & Office 2003, targeting WinServer2008 & Office 2007 - getting "Retrieving the COM class factory..." error Pin
EliottA30-Jun-09 2:48
EliottA30-Jun-09 2:48 
QuestionMS VB 2008 express, install for all users Pin
Jesper hoegh29-Jun-09 9:12
Jesper hoegh29-Jun-09 9:12 
AnswerRe: MS VB 2008 express, install for all users Pin
Dave Kreskowiak29-Jun-09 9:45
mveDave Kreskowiak29-Jun-09 9:45 
Questionmake limit time to the vedio capture Pin
my30name29-Jun-09 5:31
my30name29-Jun-09 5:31 
hi I'm working on a webcam application using AVICAP class API available in the Windows operating system using vb.net, I'm facing a problem when I am doing limit to the duration of a capture operation by using the fLimitEnabled and wTimeLimit members of the CAPTUREPARMS structure

I wrote this code:

 Private Sub form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim CAP_PRAMS As New CAPTUREPARMS()

SendMessage(hWnd, WM_CAP_GET_SEQUENCE_SETUP, Len(CAP_PRAMS), CAP_PRAMS)

With CAP_PRAMS
CAP_PRAMS.fLimitEnabled = True
CAP_PRAMS.wTimeLimit = 5
End With

SendMessage(hWnd, WM_CAP_SET_SEQUENCE_SETUP, Len(CAP_PRAMS), CAP_PRAMS)

SendMessage(hWnd, WM_CAP_SEQUENCE, 0, 0)

SendMessage(hWnd, WM_CAP_FILE_SAVEAS, 0, _
"C:\Video1.avi")
End Sub


ok, the problem is when I run this code it gives me video file with time recorded 0 sec, it is just an image with avi extention
and I want it to be video file with 5 sec time duration
please tell me where is the problem
thnx in advance
AnswerRe: make limit time to the vedio capture Pin
garfield18529-Jun-09 5:34
garfield18529-Jun-09 5:34 
GeneralRe: make limit time to the vedio capture [modified] Pin
my30name29-Jun-09 22:56
my30name29-Jun-09 22:56 
QuestionString$ function Pin
garfield18529-Jun-09 5:12
garfield18529-Jun-09 5:12 
AnswerRe: String$ function Pin
Nagy Vilmos29-Jun-09 5:35
professionalNagy Vilmos29-Jun-09 5:35 
AnswerRe: String$ function Pin
Luc Pattyn29-Jun-09 5:35
sitebuilderLuc Pattyn29-Jun-09 5:35 
GeneralRe: String$ function Pin
garfield18529-Jun-09 5:46
garfield18529-Jun-09 5:46 
GeneralRe: String$ function Pin
Luc Pattyn29-Jun-09 7:00
sitebuilderLuc Pattyn29-Jun-09 7:00 
Questioncrystal report problem in after installation ? Pin
JC.KaNNaN29-Jun-09 4:44
JC.KaNNaN29-Jun-09 4:44 
AnswerRe: crystal report problem in after installation ? Pin
EliottA29-Jun-09 5:08
EliottA29-Jun-09 5:08 
QuestionHow to chek file is in Progress Pin
Anubhava Dimri29-Jun-09 0:46
Anubhava Dimri29-Jun-09 0:46 
QuestionRe: How to chek file is in Progress Pin
Steven J Jowett29-Jun-09 1:24
Steven J Jowett29-Jun-09 1:24 
AnswerRe: How to chek file is in Progress Pin
Anubhava Dimri29-Jun-09 18:55
Anubhava Dimri29-Jun-09 18:55 
GeneralRe: How to chek file is in Progress Pin
Steven J Jowett29-Jun-09 22:38
Steven J Jowett29-Jun-09 22:38 
GeneralRe: How to chek file is in Progress Pin
Anubhava Dimri29-Jun-09 23:15
Anubhava Dimri29-Jun-09 23:15 
GeneralRe: How to chek file is in Progress Pin
Dave Kreskowiak30-Jun-09 1:33
mveDave Kreskowiak30-Jun-09 1:33 
AnswerRe: How to chek file is in Progress Pin
Anoop Brijmohun29-Jun-09 1:25
Anoop Brijmohun29-Jun-09 1:25 
QuestionDefault image in vb.net [modified] Pin
mirzamujib28-Jun-09 22:10
mirzamujib28-Jun-09 22:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.