15,905,967 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by pranavjeet (Top 5 by date)
pranavjeet
15-Feb-13 8:34am
View
the input text box can take number??? i am providing number in the text box. What will be the declaration for its text box as given down
CELL_Number = number.Text.ToString();
number is what i labelled my text box
pranavjeet
15-Feb-13 6:30am
View
private void button1_Click(object sender, EventArgs e)
{
GsmCommMain comm = new GsmCommMain("COM4", 19200, 300);
try
{
comm.Open();
string CELL_Number, SMS_Message;
SmsSubmitPdu pdu1;
if (comm.IsConnected() == true)
{
if (number.Text.ToString() == "")
{
MessageBox.Show("Kindly Add Cell Number\r\n\nFor Example\n\n+9231234567", "Information", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
}
else if (message.Text.ToString() == "")
{
MessageBox.Show("Kindly Add Your Message Text", "Information", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
}
CELL_Number = number.Text.ToString();
SMS_Message = message.Text.ToString();
MessageBox.Show("Kindly Re-Check Your SMS & CELL NUMBER \r\n\nCELL # : " + CELL_Number + "\r\n\nMESSAGE TEXT : " + SMS_Message, "SMS INFO", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
Cursor.Current = Cursors.WaitCursor;
pdu1 = new SmsSubmitPdu(SMS_Message, CELL_Number, "");
comm.SendMessage(pdu1);
Cursor.Current = Cursors.Default;
MessageBox.Show("M E S S A G E - S E N T", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
comm.Close();
}
}
catch (Exception )
{
MessageBox.Show("Error Sending SMS To Destination Address\r\n\n Connection Has Been Terminated !!!\r\n\n", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}
plz help me in sending message...
after the modem shows message box connected ...
the send button showing error plz help.
its urgent
pranavjeet
11-Feb-13 11:00am
View
where to include this part of co public static Int16 Comm_Port = 0;
public static Int32 Comm_BaudRate = 0;
public static Int32 Comm_TimeOut = 0;
public static GsmCommMain comm;
}de...
i had already included in namespace the gsm comm lib
pranavjeet
4-Feb-13 11:59am
View
thank u sir,
but i am not using excel to retrieve numbers (2)i am using inbuilt database to retrieve number... can u help me regarding this how my application will work in retrieving the number from database
( i am getting problem in downloading the gsmcomm dll library from the link mentioned in your suggested article)
thanks a lot sir
can u please send me more articles
sorry but i am just started building project and this is my first
pranavjeet
3-Feb-13 8:39am
View
how u send english message ..? please help me sir! it will be great help