Dim kls As String
kls = "C:\Users\muratt\Desktop\teklif\teklifresim"
With Application.FileSearch
.NewSearch
.LookIn = kls
.Filename = ComboBox2 & ".jpg"
.SearchSubFolders = True
.Execute
If .FoundFiles.Count > 0 Then
Image1.Picture = LoadPicture(.FoundFiles(1))
Else: Image1.Picture = LoadPicture("C:\Users\muratt\Desktop\teklif\teklifresim\yok.jpg ")
End If
End With
2007'e nasıl çevirebilirim konulara baktım ama kod uygulamasını anlayamadım .
teşekkürler.
kls = "C:\Users\muratt\Desktop\teklif\teklifresim"
With Application.FileSearch
.NewSearch
.LookIn = kls
.Filename = ComboBox2 & ".jpg"
.SearchSubFolders = True
.Execute
If .FoundFiles.Count > 0 Then
Image1.Picture = LoadPicture(.FoundFiles(1))
Else: Image1.Picture = LoadPicture("C:\Users\muratt\Desktop\teklif\teklifresim\yok.jpg ")
End If
End With
2007'e nasıl çevirebilirim konulara baktım ama kod uygulamasını anlayamadım .
teşekkürler.
