Click here to Skip to main content
15,884,177 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I'm paying with an IP video encoder that has an SDK but of course no documentation.
When I try to save the video feed into a file, I run into trouble.

The command is
HIPCamX1.SaveAVI ("filename.avi" , "tst") which required some extra declaration

This is what it suggests which I do not understand

Argument not specified for parameter 'use SaveDialog' of Public Overridable
Function SaveAVI(use SaveDialog as Short, fileName as String) As Short

What does this mean?


Thanx
Posted

1 solution

So do you have a function in your code like:
VB
Public Overridable
Function SaveAVI(use SaveDialog as Short, fileName as String) As Short

If you do then:
- SaveDialog is not a good name for the parameter. System.Windows.Forms namespace has such a class named like that.
- the word use is wrong before the parameter name. Refer to: http://msdn.microsoft.com/en-us/library/sect4ck6(v=VS.100).aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900