Skip to main content

AccessTr.neT


Re: Resim Tablosunu Başka Veritabanına Göndermek

Re: Resim Tablosunu Başka Veritabanına Göndermek

Çözüldü #2
Merhaba,
Yeni veritabanı oluştur, çalışmayan uygulamadaki tüm nesneleri yeni veritabanına aktar. 

Ofis sürümü ile ilgili hata alıyorsanız, modüldeki 

Declare Sub CoTaskMemFree Lib "ole32.dll" (ByVal hMem As Long)
Declare Function SHBrowseForFolder Lib "shell32" (lpbi As shellBrowseInfo) As Long
Declare Function SHGetPathFromIDList Lib "shell32" (ByVal pidList As Long, _
         ByVal lpBuffer As String) As Long


Şeklindeki kodların tamamını ptrsafe ekleyerek

#If VBA7 Then

Declare PtrSafe Sub CoTaskMemFree Lib "ole32.dll" (ByVal hMem As Long)
Declare PtrSafe Function SHBrowseForFolder Lib "shell32" (lpbi As shellBrowseInfo) As Long
Declare PtrSafe Function SHGetPathFromIDList Lib "shell32" (ByVal pidList As Long, _
         ByVal lpBuffer As String) As Long
        
#Else

Declare Sub CoTaskMemFree Lib "ole32.dll" (ByVal hMem As Long)
Declare Function SHBrowseForFolder Lib "shell32" (lpbi As shellBrowseInfo) As Long
Declare Function SHGetPathFromIDList Lib "shell32" (ByVal pidList As Long, _
         ByVal lpBuffer As String) As Long


#End If


Şeklinde değiştir.
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Bu Konudaki Yorumlar
Re: Resim Tablosunu Başka Veritabanına Göndermek - Yazar: ozanakkaya - 31/08/2022, 22:51
Task