Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I suppress the Image Load dialog

Status
Not open for further replies.

bkdobs

Technical User
Sep 22, 2005
33
CA
using a linked image control ... when an image is loaded a dialog flashes on the screen that appears to be an image load dialog ... is there a way to suppress this dialog?

Sub RequeryPicture()
Dim chDir As String
Dim chPic As String
Call dbg("Requery Picture")
chDir = DLookup("[ConfigParam]", "Config", "[ConfigName] = 'PictureDirectory'")
chPic = chDir & chPicture & ".jpg"
If chPicture <> "" Then
If (Me![frmPicture].Picture <> chPic _
Or IsNull(Me![frmPicture].Picture) _
Or (Me!frmPicture.Picture = "(none)")) Then
Me![frmPicture].Picture = chPic
End If
End If
End Sub


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top