Ik ben bezig met een kassa-programma voor de rijwiel-branche. Ik wil een terugkoppeling naar Skype waarmee ik Sms'jes kan versturen. Ik gebruik hiervoor het SKYPE4COMLib. Ik heb een code die zou moeten werken, maar krijg steeds een foutmelding tijden het versturen. Ik zou niet weten wat er fout is aan mijn code
.
Dit is de code
dit heb ik ook al geprobeerd.
De code ik krijg de melding: 'SMS: CREATE SMS takes a list of phone numbers.
Wie o wie kan mij helpen
?
Ik schrijf het programma met Visual Studio 2010
Dit is de code
code:
1
2
3
4
5
6
7
8
9
10
| Public Sub SendSMS(ByVal strNumber As String, ByVal strBody As String) Try Dim loSkype As New SKYPE4COMLib.Skype loSkype.SendSms(strNumber, strBody) loSkype = Nothing Catch ex As Exception MessageBoxEx.EnableGlass = False MessageBoxEx.Show(ex.Message, "Fout tijdens versturen", MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Exclamation) End Try End Sub |
dit heb ik ook al geprobeerd.
code:
1
2
3
4
5
6
7
8
9
10
11
| [ Public Sub SendSMS(ByVal strNumber As String, ByVal strBody As String) Try Dim loSkype As New SKYPE4COMLib.Skype loSkype.SendSms(strNumber & ";", strBody) loSkype = Nothing Catch ex As Exception MessageBoxEx.EnableGlass = False MessageBoxEx.Show(ex.Message, "Fout tijdens versturen", MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Exclamation) End Try End Sub |
De code ik krijg de melding: 'SMS: CREATE SMS takes a list of phone numbers.

Wie o wie kan mij helpen
Ik schrijf het programma met Visual Studio 2010
[ Voor 0% gewijzigd door Creepy op 19-02-2013 10:48 ]