السلام عليكم ورحمة الله وبركاته ....................................
اريد ان أعرف كيفية عمل الكود لارسال رسالة للموبايل (sms)
و شكرا (h)
السلام عليكم ورحمة الله وبركاته ....................................
اريد ان أعرف كيفية عمل الكود لارسال رسالة للموبايل (sms)
و شكرا (h)
Dim SMS As Simplewire.SMS
Dim carrier As Simplewire.SMSCarrier
Dim Index As Integer
' instantiate the the request
Set SMS = New Simplewire.SMS
' send off a carrier list request
SMS.CarrierListSend
' first off, we need to check if the req
' uest was a success
If SMS.Success = False Then
' display the error description
MsgBox SMS.ErrorDesc & " " & SMS.ErrorCode, vbCritical, "Carrier List Error"
' kill the pager interfaces
Set SMS = Nothing
' stop the program
End
' otherwise, we have a valid response
Else
' resize PagerService array to make a pe
' rfect fit
ReDim SMSCarrierID(SMS.CarrierList.Count)
ReDim SMSCarrierTextMaxLength(SMS.CarrierList.Count)
' init the integer
Index = 0
' loop until the next service doesnt exi
' st
For Each carrier In SMS.CarrierList
' set the new item on the combo box and
' set the subtitle in the
.CarrierList.AddItem carrier.Title & " " & carrier.Subtitle
' set the service id for the global serv
' ice id array
SMSCarrierID(Index) = carrier.ID
SMSCarrierTextMaxLength(Index) = carrier.TextMaxLength
' increment the index
Index = Index + 1
Next
' init the list
.CarrierList.ListIndex = 0
End If
' kill the sms object
Set SMS = Nothing
ياخوي جمال علي انا احين جالس اجرب في الكود ولكن لم اعرف كيف استخدمه ياليت مثال وهل يصلح مع السعوديه
لــــــــــــــــــــــــــو سمحت باي لغة برمجة هذه الطلامســـــــــس
فين بدي حط هذه في صفحة بي اش بي
مـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــع ألف شكر
مشكور اخ هاني وبارك الله فيك والله الموفق
كود الاخ جمال على لكن بعد تحميض الفلم :lol:
Dim SMS As Simplewire.SMS Dim carrier As Simplewire.SMSCarrier Dim Index As Integer ' instantiate the the request Set SMS = New Simplewire.SMS ' send off a carrier list request SMS.CarrierListSend ' first off, we need to check if the req ' uest was a success If SMS.Success = False Then ' display the error description MsgBox SMS.ErrorDesc & " " & SMS.ErrorCode, vbCritical, "Carrier List Error" ' kill the pager interfaces Set SMS = Nothing ' stop the program End ' otherwise, we have a valid response Else ' resize PagerService array to make a pe ' rfect fit ReDim SMSCarrierID(SMS.CarrierList.Count) ReDim SMSCarrierTextMaxLength(SMS.CarrierList.Count) ' init the integer Index = 0 ' loop until the next service doesnt exi ' st For Each carrier In SMS.CarrierList ' set the new item on the combo box and ' set the subtitle in the .CarrierList.AddItem carrier.Title & " " & carrier.Subtitle ' set the service id for the global serv ' ice id array SMSCarrierID(Index) = carrier.ID SMSCarrierTextMaxLength(Index) = carrier.TextMaxLength ' increment the index Index = Index + 1 Next ' init the list .CarrierList.ListIndex = 0 End If ' kill the sms object Set SMS = Nothing
مع تحيات : عبدالرحمن نورالله
بيلار الدولية للتكنولوجيا لتصميم وأستضافة مواقع الأنترنت ، شركة مسجلة في المملكة الاردنية الهاشمية
أستضافة مواقع (Website Hosting) ابتداء من 35دينار اردني (50$) سنوي 962799247524+ أضغط هنا

لكني اظن ان الكود يحتاج الى تدعيم بمكتبة معينة اليس كذلك اخي الكريم
مع تحيات : عبدالرحمن نورالله
بيلار الدولية للتكنولوجيا لتصميم وأستضافة مواقع الأنترنت ، شركة مسجلة في المملكة الاردنية الهاشمية
أستضافة مواقع (Website Hosting) ابتداء من 35دينار اردني (50$) سنوي 962799247524+ أضغط هنا

طبعا اخي سوبر بس بدي اعرف هيدي الكود يوضع في صفحة ويب والا في الفيجوال بيزك عادي يا ريت جحد يفهمنا لو سمحتوا .... وايه المكتبة المستخدمة او المراده لتشغيل الكود وايه السيرفر الا بيقدر من خلاله اتمام عملية الارسال وهل هو سيرفر مجاني ام يحتاج الي تسجيل وفلوس وكلام من ده ....!!!!!! ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟
الأداة مقدمة من شركة تدعي SimpleWire
يمكن تحميلها من :
http://www.simplewire.com/downloads/download.html
نظرة سريعة علي الكود المستخدم بلغات متنوعة :
http://www.simplewire.com/developers/sdk/activex/
للشراء :
https://www.simplewire.com/account/developer/credit/
http://www.simplewire.com/store/
مع العلم أن النسخة الديمو تتيح لك تجربة إرسال الرسائل إلي موبيل تخيلي Virtual Mobile Phone يعمل كمثل الـ Mail Server موجود علي الموقع الرئيسي ..
حيث تستطيع استعراض الرسائل التي ترسلها إلي هذا الموبيل التخيلي من خلال الدخول للـ inbox لحسابك علي موقع الشركة ..
وإذا اشتريت الأداة فستستطيع الإرسال إلي موبيل حقيقي وليس تخيلي ..
تم تعديل هذه المشاركة بواسطة Pharaonic_Guy في 23 يناير 2007 في 02:29
هذا الموضوع مغلق.