Hello people,

this is my first thread. I am looking for an SMS (and/or MMS) Toolkit for my Csharp.NET program.
I have searched a lot on the internet, and can only find this company: http://activexperts.com/xmstoolkit/

I wanted to see if there are any other alternatives, and if somebody has any experience with this ActiveXperts program.

I wait for a reply.

Best regards
Michael

Recommended Answers

All 2 Replies

I have been trying to do the same thing I found source to connect via com port but have not understood how to access the comport. Here is the code that I came across I will post as attachment
SMSLibX_with_Csharp.zip

In the process of trying to get this code to work i scrapped the project and tried disecting it and here is what i have so far! Using the small piece of code that i have as of now i can get my samsung gravity to bluetooth to the computer the serial port the gravity to COM7 connects now I just have to figure out how to get the message to send.

public partial class Form1 : Form
    {
        private SerialPort port;
        private string designatedSerialPortNumber;
        private string outgoingNumber;
        private bool errorOccured;
        public Form1()
        {
            InitializeComponent();
            port.ErrorReceived += new SerialErrorReceivedEventHandler(port_ErrorReceived);
        }

        void port_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
        {
            errorOccured = true;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            outgoingNumber = recepientNumber.Text;
            designatedSerialPortNumber = "COM" + PortNumber.Text;
            port = new SerialPort(designatedSerialPortNumber, 9600, Parity.None);
            port.DataBits = 8;
            port.StopBits = StopBits.One;
            port.RtsEnable = true;
            port.DtrEnable = true;            
            port.NewLine = System.Environment.NewLine;
            port.Open();
            if (IsOpen() && !errorOccured)
            {
                // port opens and no error was thrown using COM7
                // samsung mobile request permission to serial connect
            }
            port.Close();
        }

        private bool IsOpen()
        {
            return port.IsOpen;
        }        
    }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.