|
-
Mar 27th, 2003, 04:24 PM
#1
Thread Starter
New Member
Logitech QuickCam
Hi I just want to know what was wrong about my code, if anyone can help plz reply to this asap plz, thank you very much.
(LVideo is a component for a Logitech QuickCam)
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Object, ByVal fuWinIni As Long) As Long
Const strPath as string = "C:\"
With LVideo
.Initialize(0)
.SaveSingleFrameToFile (strPath, "Image.bmp")
.UnInitialize()
End With
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, strPath & "Image.bmp", SPIF_UPDATEINIFILE)
I also tried Image instead of Image.bmp it just doesnt save it to the hard drive, I have no idea why.
VB.NET
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
|