PostRead offset and pointer

Posts 1–2 of 2 · Page 1 of 1
Read offset and pointer
hello,

I would like to know how we do to read in vb.net offset and point?


Code:
TextBox1.Text = ReadPointerInteger("FVCE", "FVCE.dll" + &H1EC6B4C, &H70, &H4, &H18, &H0, &H54, &H588)
Code:
Public Function ReadPointerInteger(ByVal NAME As String, ByVal Pointer As Integer, ByVal ParamArray Offset As Integer()) As Integer
        Dim Value As Integer
        If Process.GetProcessesByName(NAME).Length <> 0 Then
            Dim Handle As Integer = Process.GetProcessesByName(NAME)(0).Handle
            If Handle <> 0 Then
                For Each I As Integer In Offset
                    Value = ReadMemoryInteger(Handle, Pointer, Pointer)
                    Pointer += I
                Next
                Value = ReadMemoryInteger(Handle, Pointer, Value)
            End If
        End If
        Return Value
    End Function
Can you tell me how we read offset and point?
Thank you
Please check it out:

Private Sub CommandButton1_Click()

Range("B1").Offset(5).Select

End Sub

or,

Private Sub CommandButton1_Click()

Range("B1").Offset(5, 3).Select

End Sub

Things to Remember

It is a reference function in Excel. The OFFSET function returns a reference to a range that is a specific number of rows and columns from another range or cell.

VBA OFFSET is used with RANGE object in VBA.
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?