Konu Araçları | Konu Seçenekleri | Gösterim Stili
Tarih
12/01/2012 16:08
Konu Sahibi
fascioğlu
Yorumlar
6
Okunma
3059
Konuyu Oyla:
  • Derecelendirme: 0/5 - 0 oy
  • 5
  • 4
  • 3
  • 2
  • 1

Derecelendirme: 0/5 - 0 oy
Kullanici Avatari

fascioğlu

Aktif Üye*
FA.... AŞ....
 63
 1.016
 202
 18/09/2010
170
 Muğla
 Emekli_Turizm
 Ofis 2003
 26/08/2018,09:15
Çözüldü 
Sorum şu,oda kayıt formunda normalde hiç bir kayıt olmamasına rağmen,maus orta top döndükçe tabloya boş kayıt atması sorununa çözüm bulunabilirmi.cevabınız için şimdiden tşk.

Ek Dosyalar
Otel Yönetim.rar(438.51 KB)



Kullanici Avatari

iscinar

Onursal Üye
İS.... ÇI....
 46
 878
 42
 30/05/2011
284
 İstanbul
 
 Ofis 2013 64 Bit
 05/12/2018,10:04
Çözüldü 
İnceleyiniz
Örnek 1
Örnek 2


Toprağa her türlü kötü şey atılmasına rağmen
Topraktan hep güzel şeyler biter . (Akşemseddin)

Kullanici Avatari

ozanakkaya

Kurucu
OZ.... AK....
 39
 11.602
 469
 29/01/2008
 Denizli
 Memur
 Ofis 2010 32 Bit
 Bugün,18:18
Çözüldü 
iscinar'ın verdiği her iki örnekde dll eklemeniz gerekli,
aşağıdaki kodu modüle kaydedip,

Visual Basic Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Option Compare Database
Option Explicit
Private Declare Function VirtualAlloc Lib "kernel32" (ByVal Address As Long, ByVal Size As Long, ByVal AllocationType As Long, ByVal Protect As Long) As Long
Private Declare Function GetModuleHandleA Lib "kernel32" (ByVal ProcName As String) As Long
Private Declare Function GetProcAddress Lib "kernel32" (ByVal Module As Long, ByVal ProcName As String) As Long
Private Declare Sub CopyMemoryAnsi Lib "kernel32" Alias "RtlMoveMemory" (ByVal Dest As Long, ByVal Source As String, ByVal Size As Long)
Private Declare Sub CastToObject Lib "kernel32" Alias "RtlMoveMemory" (ByRef Dest As Object, ByRef Source As Long, ByVal Size As Long)

Private Const SIZEOF_PTR32              As Long = &H4
Private Const PAGE_EXECUTE_RW           As Long = &H40
Private Const MEM_RESERVE_AND_COMMIT    As Long = &H3000
Private Const ERR_OUT_OF_MEMORY         As Long = &H7

Private Type IDispatchVTable
    QueryInterface As Long
    AddRef As Long
    Release As Long
    GetTypeInfoCount As Long
    GetTypeInfo As Long
    GetIDsOfNames As Long
    Invoke As Long
End Type

Public Function NewMouseHook(ByRef Form As Access.Form) As Object

    Dim NativeCode As String
    Dim Kernel32Handle As Long
    Dim GetProcAddressPtr As Long
    Dim MouseHookAddr As Long
    Dim MouseHookLoader As Object
    Dim LoaderVTable As IDispatchVTable
            
    NativeCode = _
            "XYQPSWQ[T_S\\[S\XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX- %uUPXX-%ueeT[PXX-E%%ePXX-uu0E-uu0EPXX-eeE%PXX-%e%uPXX-eeE PXX-%eE PXXX@@fX<0tF4+&4+2'&,V/PCp@-''2V/5+1''3V/ys 1S CCCuRfI>_ltcDPC@KCQcBnIAGBqcDPO@GBE@KCqc@YMQHUqp@dQ^AAAAGBUBISExD]MQQ=OYHAQ@\EAA@eiQDeiQHMIqFeiQLMIqHeiQPMIqHeiQTMIqHeiQXucOAAAAMcY^AAAAIsEHDEQCAeE@AeEC?GGCPCXM@BeqDAAoAAEA@KMC@azC@IAaBB@Ax[AABAiqXAqa<QCC@UFLwREHTIAA@AA\jmIPdqpaxBA\\mITdQqcRmiEMKX^AAAAf\MAIAQcP  TKKp>RPQM@JMH@azA@IAaBRCAHAAA@qbE@AA>JAAAxnAA@qCB@AADMAAAtuAA@QTB@AAONAAAhAAA@UtclNIpt^]P<[VPXKpcEp>bPpQcU ?bM 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[@eGAl@AZ@eGAp@q]@ACAoAAI@eGAT@QX@MGAh@AI@uEAa@q]@QFAe@a]@MFA @aM@ABApAAO@AAA@AqPePVRoPW\lTGSaxGXlTWQ@=DRELbM@=DREDU\" & _
            "tLbM@MuZGTG\MDGZl<vY@UtUEHtMrAqQapGZWdgZd<v\PHvZcDEASTG\WdgZd<v\L<fZgDEAVdg]tTVYlXe]eTGA0"
            
    ' Allocate the executable memory for the object
        MouseHookAddr = VirtualAlloc(0, Len(NativeCode), MEM_RESERVE_AND_COMMIT, PAGE_EXECUTE_RW)

    If MouseHookAddr <> 0 Then
    
        ' Copy the x86 native code into the allocated memory
            Call CopyMemoryAnsi(MouseHookAddr, NativeCode, Len(NativeCode))
              
        ' Force the memory address into an Object variable (also triggers the shell code)
            LoaderVTable.QueryInterface = MouseHookAddr
            Call CastToObject(MouseHookLoader, VarPtr(VarPtr(LoaderVTable)), SIZEOF_PTR32)
            If Not TypeOf MouseHookLoader Is VBA.Collection Then
                Set NewMouseHook = (MouseHookLoader)
                Set MouseHookLoader = Nothing
            End If
            
        ' Initialize our COM object
            Kernel32Handle = GetModuleHandleA("kernel32")
            GetProcAddressPtr = GetProcAddress(Kernel32Handle, "GetProcAddress")
            Call NewMouseHook.Init(Kernel32Handle, GetProcAddressPtr, Form.hwnd)
            
        ' Disable the scroll wheel by default.
            NewMouseHook.Scroll = False
        
    Else
    
        err.Raise ERR_OUT_OF_MEMORY
    
    End If
    
End Function


Formun Yüklendiğinde olayına

Visual Basic Code
Static MouseHook As Object
Set MouseHook = NewMouseHook(Me)

kodunu eklerseniz "MouseHook.dll" dosyasına ihtiyacınız kalmaz.


"Boş Örnek Eklerim, Yapıp Verirler" demeyin, örneğinizi hazırlayın.
Komplike kod talebiniz var ise İletişim bağlantısından bize ulaşın. 
Cebelleşmezsen Öğrenemezsin. 

Kullanici Avatari

fascioğlu

Aktif Üye*
FA.... AŞ....
 63
 1.016
 202
 18/09/2010
170
 Muğla
 Emekli_Turizm
 Ofis 2003
 26/08/2018,09:15
Çözüldü 
Hocam rica etsem form üzerinde uygulamasını siz yaparmısınız,tşk. ederim



Kullanici Avatari

ozanakkaya

Kurucu
OZ.... AK....
 39
 11.602
 469
 29/01/2008
 Denizli
 Memur
 Ofis 2010 32 Bit
 Bugün,18:18
Çözüldü 
bir üst mesajımda gerekli kodlar var.
İlk kodu modül olarak kaydedeceksiniz, 2. kodu ise formun yüklendiğinde olayına ekleyeceksiniz.
Uygulanmış halini istemeyin, takıldığınız yeri sorun lütfen.


"Boş Örnek Eklerim, Yapıp Verirler" demeyin, örneğinizi hazırlayın.
Komplike kod talebiniz var ise İletişim bağlantısından bize ulaşın. 
Cebelleşmezsen Öğrenemezsin. 

Kullanici Avatari

firtina

Aktif Üye
AY.... AH.... TO....
 48
 48
 12
 28/05/2009
0
 
 
 Ofis XP
 15/10/2018,19:26
Çözüldü 
Teşekkürler. Emeğinize sağlık


firtina, 28-05-2009 tarihinden beri AccessTr.neT üyesidir. Hoba


Konuyu Okuyanlar: 1 Ziyaretçi

Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
Çözüldü Kayıt Kilitleme Hakkında notrino 2 80 03/12/2018, 14:18
Son Yorum: notrino
Çözüldü Kayıt Gezintisi Hakkında notrino 9 142 30/11/2018, 10:59
Son Yorum: notrino
Çözüldü Mükerrrer Kayıt Bulma access acemisi 17 351 17/11/2018, 12:51
Son Yorum: access acemisi
Çözüldü Yeni Kayıt Açma notrino 1 125 10/10/2018, 14:41
Son Yorum: ozanakkaya
Çözüldü Kayıt Sil Kodu notrino 6 231 06/10/2018, 11:24
Son Yorum: notrino

Türkçe Çeviri: MCTR, Yazılım: MyBB, © 2002-2018 MyBB Group.
123444