D
DMc2007
Hi
I am currently having problems with the image control in VBA forms when
trying to programmatically call a image at runtime.
Does naybody have any idea why this occurs.
Run-time error '-2147467259 (80004005)':
Automation error
Unspecified error
If DoesFileExist(strBidPhotos & Me.cboName.Text & ".jpg") = True Then
Me.imgPhoto.Picture = Nothing
Me.imgPhoto.PictureSizeMode = fmPictureSizeModeStretch
Me.imgPhoto.Picture = LoadPicture(strBidWizardPhotos &
Me.cboName.Text & ".jpg") 'Error Line
Else
End If
Regards
D
I am currently having problems with the image control in VBA forms when
trying to programmatically call a image at runtime.
Does naybody have any idea why this occurs.
Run-time error '-2147467259 (80004005)':
Automation error
Unspecified error
If DoesFileExist(strBidPhotos & Me.cboName.Text & ".jpg") = True Then
Me.imgPhoto.Picture = Nothing
Me.imgPhoto.PictureSizeMode = fmPictureSizeModeStretch
Me.imgPhoto.Picture = LoadPicture(strBidWizardPhotos &
Me.cboName.Text & ".jpg") 'Error Line
Else
End If
Regards
D