SendMessage should still work under .Net - could you post your existing code?
If you have copied the SendMessage declare from a VB6 app then it will need to be modified to take into account the changes in data types, try this one.
Declare Auto Function SendMessage Lib "user32.dll" (ByVal hWnd As IntPtr, ByVal Msg As Integer, ByVal wParam As UIntPtr, ByVal lParam As IntPtr) As IntPtr