i build a db for register student automatically
in first process it take a photo of the student
so i'm using windows camera app with "sendkeys" but it stucks in the front
i tried using "setforegroundwindow" like this code from here https://access-programmers.co.uk/for...d.php?t=132129
but i get an error can't find dll entry point setforegroundwindow in user32
im using win 10 x64 and office 2016 x64 i add the "ptrsafe" to the code
can't find a way to bring access to the front. tried using "setfocus" "minimize"
"maximize" and other methods