المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Com Port [modified]



C# Programming
06-10-2009, 05:12 PM
hello
this is shikha, i m new in programming in Com Port, Actually my previous i did one project in which i have to receive/send SMS using COM1,
now the Device changed and it is supporting the Com3, Sending is working perfectly but unable to recive SMS using Port3.. here i m using Third party DLL. GSMCOMM DLL..just i m struck here,
one event is there "GsmComm.GsmCommunication.MessageReceivedEventArgs" is not firing, it should fired when message is recive BY the Port 3.. i m just unable to understand how to reslove the problem, i tried a lot, searched a lot....



AT page Load I set Properties like..
1) Port Number 3;
2) Baud Rate 9600;
3)TimeOut 300;

i am using GsmComm library, there is a Event which is fired when message Received.. Previously it is working Perfectly with "POrt1"..but now port is Changed Port 1 to port 3, so it's stop working, but still Sending SMS is Happening but Receiving is not happening??

"CommSetting.comm.MessageReceived += new MessageReceivedEventHandler(comm_MessageReceived);"




plzzzzzzz help me!!!!!!!!!!!

modified on Wednesday, June 10, 2009 8:34 AM