system.missingmethodexception was unhandled

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MrJim

    #1

    system.missingmethodexception was unhandled

    Hi,

    I'm experiencing an unhandled at 'smsMessage.sen d' with the following
    error 'can't find an entry point '#48' in a pinvoke dll 'cemapi.dll''.
    I've checked the references and they seem correct, any help would be
    greatly appreciated.

    Regards,
    J

    Imports System.Data
    Imports System.Drawing
    Imports System.Text
    Imports System.Windows. Forms
    Imports Microsoft.Windo wsMobile
    Imports Microsoft.Windo wsMobile.Pocket Outlook

    Public Class Form1

    Private Sub btnSend_Click(B yVal sender As System.Object, ByVal e As
    System.EventArg s) Handles btnSend.Click

    Dim smsMessage As SmsMessage = New SmsMessage()

    'Set the message body and recipient.
    smsMessage.Body = txtSMS.Text
    smsMessage.To.A dd(New Recipient(txtNa me.Text, txtNumber.Text) )
    smsMessage.Requ estDeliveryRepo rt = True

    'Send the SMS message.
    smsMessage.Send ()
    Return
    End Sub




    End Class
Working...