Click here to Skip to main content
11,802,762 members (75,870 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET
I have a website project working on, I want to connect it to Nokia PC suite and make the button from the website send an SMS using the PC suite , can I get your help?

thanx in advance..
Posted 20-Feb-13 8:07am
richcb at 20-Feb-13 14:48pm
You may get help if you attempt this yourself and then post the code you have tried once you are stuck. Also, I am sure you mean well and it is probably a culture difference, but addressing a professional forum with "dears" is not appropriate. You sound like a grandmother trying to gather the children for story time, ;). Joking aside, it is just a friendly comment to make you aware for future reference.
Member 9851009 at 20-Feb-13 15:20pm
thank you.. I appreciate that.
richcb at 20-Feb-13 15:29pm
You are welcome. Do a little research and find examples of what you want. Get started with those and if you get stuck come back here with the code and a question on your issue. This will be the best method for all parties.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I had the solution my self to whom intersted..

in webform1.aspx
<![CDATA[<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="SMS.WebForm1" %>]]>

<html xmlns="">
<head runat="server">
<form id="form1" runat="server">




and then we use the code in Webform1.aspx.cs // if you are using C#:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO.Ports;

namespace SMS

public partial class WebForm1 : System.Web.UI.Page
SerialPort SP = new SerialPort(); // create a SerialPort to access the Mobile as a modddem
protected void Page_Load(object sender, EventArgs e)


protected void Button1_Click(object sender, EventArgs e)

SP.PortName = "COM1"; // your mobile as modem, you can know it is COM? from Control Panel / Phones and Modems . then see your mobile what COM is it!
SP.BaudRate = 9600; // necessary to be as it shown in your phone properties in phones and modems
SP.DataBits = 8; // leave it as is
SP.Parity = Parity.None; //leave it as is
SP.StopBits = StopBits.One; //leave it as is
SP.Open(); // opening the port to be ready sending the SMS
string PH_NU;
PH_NU = char.ConvertFromUtf32(34) + TextBox1.Text + char.ConvertFromUtf32(34); .. tell the port to take the Phone Num you entered
SP.Write("AT + CMGS="+PH_NU + char.ConvertFromUtf32(13));
SP.Write(TextBox2.Text + char.ConvertFromUtf32(26) + char.ConvertFromUtf32(13)); // sending the message in TextBox2 using the properties in the two above lines.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 KrunalRohit 366
1 OriginalGriff 365
2 CPallini 270
3 F-ES Sitecore 270
4 Sergey Alexandrovich Kryukov 239
0 OriginalGriff 2,950
1 Maciej Los 1,910
2 KrunalRohit 1,862
3 CPallini 1,735
4 Richard MacCutchan 1,157

Advertise | Privacy | Mobile
Web01 | 2.8.151002.1 | Last Updated 24 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100