Hi
I thought we would add a Panel and a label on the Panel to the frmPhoto that shows a message, while the internal Cam is loaded. Since it does take a few Seconds, before the Device Camera is started.
Sub Timer1_Tick ‘Interval = 500
tick = tick + 1
If tick = 1 Then 'pnlCam "loading Camera, please wait…"
pnlCam.Visible = True
Else
Timer1.Enabled = False
pnlCam.Visible = False
tick = 0
End If
End Sub
I played with this back and fourth, but the Behavior is sad.
There is not much code to this, but it does not work on device.
I hit the Cam Button and the internal Device cam is opened.
But the pnlCam is not shown while the internal Cam is loading. When I close the internal Camera Application, we get a glimpse of the pnlCam.
So, how can I get the pnlCam to show, while device Cam App is loading?
After I close the internal device Cam, the pnlCam needs to be invisible, until we use the Device Camera again.
Does anyone have maybe a better code and or help for me here?
Thank you very much in advance for your quick and valuable help.
Best regards.
William
I thought we would add a Panel and a label on the Panel to the frmPhoto that shows a message, while the internal Cam is loaded. Since it does take a few Seconds, before the Device Camera is started.
Sub Timer1_Tick ‘Interval = 500
tick = tick + 1
If tick = 1 Then 'pnlCam "loading Camera, please wait…"
pnlCam.Visible = True
Else
Timer1.Enabled = False
pnlCam.Visible = False
tick = 0
End If
End Sub
I played with this back and fourth, but the Behavior is sad.
There is not much code to this, but it does not work on device.
I hit the Cam Button and the internal Device cam is opened.
But the pnlCam is not shown while the internal Cam is loading. When I close the internal Camera Application, we get a glimpse of the pnlCam.
So, how can I get the pnlCam to show, while device Cam App is loading?
After I close the internal device Cam, the pnlCam needs to be invisible, until we use the Device Camera again.
Does anyone have maybe a better code and or help for me here?
Thank you very much in advance for your quick and valuable help.
Best regards.
William
Last edited: