Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Sample Tutorials for using c#/vb.net to connect to Diafaan SMS Server
sp_NewPost Add Reply sp_NewTopic Add Topic
May 10, 2017
10:03 am
Henk Helmantel
Admin
Forum Posts: 1510
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The gateway scripts of the example scripts only work in the Scripting Gateway and the connector scripts only in the Scripting Connector of Diafaan SMS Server. They do not work outside Diafaan SMS Server in your own projects. Developing scripts for the Scripting Gateway or Scripting Connector is not easy because it is relatively difficult to debug the scripts in the environment of Diafaan SMS Server. It is not really suitable for beginning C# or Visual Basic.NET programmers.

If you want to send messages from your own C# or Visual Basic.NET project with Diafaan SMS Server you can use the HTTP API or an SQL database.

Regards, Henk

May 9, 2017
11:57 am
William Pajaron
Guest
Guests

Thanks for replying immediately, but I have some other questions

Error 1 The type or namespace name 'IScript' could not be found (are you missing a using directive or an assembly reference?)

this is the error I encountered when I included the script in my Project files. Am I missing anything? Please help; I'm a beginner developer and this is my last resort already when trying out SMS functions.

Best regards

May 9, 2017
11:43 am
Henk Helmantel
Admin
Forum Posts: 1510
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello William,

You can find a number of example scripts for the Scripting Gateway and the Scripting Connector on the download page that you can use as a starting point for your own script.

The Scripting Connector supports the full Microsoft .NET framework 2 language functionality, you can find a lot of resources and tutorials on the Internet about programming in C# or Visual Basic.NET.

Regards, Henk

May 9, 2017
10:00 am
William Pajaron
Guest
Guests

Hello, I'm a student and I was looking for alternatives to GSM Modems when I came across your site. Now I can use my android phone to send SMS to whoever I wanted

Now, my question. How can I use the c#/vb.net connector to send SMS Messages in code? I hope you could help me.

Best regards

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 680

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1155

Posts: 3945

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1510