H
Heather B.
Hi,
I am using the following code from my VB.NET program to take a picture and
save it to the database. Everything works fine, except when I close my
program, the camera application is still open. Is there anyway to close
this app from inside of VB after I'm done taking pics?
Dim cameraDialog As New CameraCaptureDialog
With cameraDialog
.Owner = Me
.Mode = CameraCaptureMode.Still
.StillQuality = CameraCaptureStillQuality.Normal
.Title = "Take a Picture"
.DefaultFileName = strFileName
.InitialDirectory = strDirectory
End With
'code that saves the picture to the database
and displays it in a list
cameraDialog = Nothing
Thanks,
Heather
I am using the following code from my VB.NET program to take a picture and
save it to the database. Everything works fine, except when I close my
program, the camera application is still open. Is there anyway to close
this app from inside of VB after I'm done taking pics?
Dim cameraDialog As New CameraCaptureDialog
With cameraDialog
.Owner = Me
.Mode = CameraCaptureMode.Still
.StillQuality = CameraCaptureStillQuality.Normal
.Title = "Take a Picture"
.DefaultFileName = strFileName
.InitialDirectory = strDirectory
End With
'code that saves the picture to the database
and displays it in a list
cameraDialog = Nothing
Thanks,
Heather