hi i set oledragmode of form to manual and then i draged attached file on form,and then i want load it like loadpicture but form can not known name of file.
any way to can fix it, i want use in ole drag drop and load image or use in common dialog too.
in this event data.files(1) return name like "C:\Users\barnameha\Desktop\type\d?.jpg"Code:Private Sub Form_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single) End Sub
how can fix it?




Reply With Quote
