Need Help with BITMAPINFO and WM_CAP_DLG_VIDEOFORMAT

AngelSpeaks

Well-known member
Local time
Yesterday, 23:51
Joined
Oct 21, 2021
Messages
687
Hi Guys,

I'm working on a project that would be like a mini photobooth. I copied code from two different sources (Cheap Alternative to Access Imagine and other posts). So far, so good. I did try to use AccessImagine but I couldn't get it to do what I want and it kept hanging up the database (I wanted to turn off the buttons so that the only option was to take a photo, but the you tube I found that worked for him isn't working for me.)

I want the user to be able to just click a button to take a photo without worrying about selecting the camera for the video format. The selecting of the camera is resolved, but what is left is the setting of the video format. From my research I learned that BITMAPINFO and WM_CAP_GET_VIDEOFORMAT will give me what I need instead of WM_CAP_DLG_VIDEOFORMAT which displays a dialog box to choose. I want to save the options from the fist GET_VIDEOFORMAT and set them via VBA.

Thanks!
 
Last edited:
My search turned up numerous
 
My search turned up numerous
Thanks Moke. My search in this forum had zero hits.
 
Hmm. I wrote this several hours ago & forgot to post it!

Hi Guys,

What do you know? I did a search for BITMAPINFO and got zero results.!

Really? Was that an AWF search of an internet search? I just did a Bing search and for BITMAPINFO got lots of hits including MS documentation.
 
Hmm. I wrote this several hours ago & forgot to post it!



Really? Was that an AWF search of an internet search? I just did a Bing search and for BITMAPINFO got lots of hits including MS documentation.
AWF. I did a internet and I got FoxPro, C, and other examples. No VBA or VB.
 
Post the Foxpro. Someone might be able to convert it.
 
you can do the Setup, when the db is started.
after you set the camera, those buttons will not be visible.
note on this version, i added code to save the Position of the photo capture form
so next time it opens, it opens on same location.
 

Attachments

you can do the Setup, when the db is started.
after you set the camera, those buttons will not be visible.
note on this version, i added code to save the Position of the photo capture form
so next time it opens, it opens on same location.
Thank you so much!
 
you can do the Setup, when the db is started.
after you set the camera, those buttons will not be visible.
note on this version, i added code to save the Position of the photo capture form
so next time it opens, it opens on same location.
Thanks. It only works for the first image. The second image, the viewer is dark and the image is zero bytes.
 

Users who are viewing this thread

Back
Top Bottom