查看: 1299|回复: 23
|
谁有做过类似的东西(sms related)
[复制链接]
|
|
我有一个fee collection system (vb.net) , 现在想要加sms reminder.. 系统会自动send sms 给那些还没交钱的人
我听过如果要send sms, 需要买一个device + sim card.. 然后透过API来send sms out..请问谁有好介绍吗?
同时sms's API是否可以integrated with 我的system呢?
因为我的系统可以侦测到谁还没交钱,比如说有20个人,我想直接可以将msg send给那20个人,然后告诉他们说需缴交的费用,而不需要另外开sms's API, 再一个一个打msg |
|
|
|
|
|
|
|
发表于 6-1-2007 06:01 PM
|
显示全部楼层
原帖由 counterking 于 6-1-2007 03:15 PM 发表
我有一个fee collection system (vb.net) , 现在想要加sms reminder.. 系统会自动send sms 给那些还没交钱的人
我听过如果要send sms, 需要买一个device + sim card.. 然后透过API来send sms out..请问谁有 ...
我刚刚的FYP 有用到 SMSLib APi 来send...
SMSLib -> http://smslib.sourceforge.net/ (.Net 2.0)
我的fyp 也是自动send sms 的。。 至于这一点我是用Window Service 来解决的。。。
此外,我是用GSM phone (Moto E680I)来test 的。。还没试过GSM modem..
希望能帮到你。。
[ 本帖最后由 zuying1985 于 6-1-2007 06:03 PM 编辑 ] |
|
|
|
|
|
|
|

楼主 |
发表于 9-1-2007 01:33 PM
|
显示全部楼层
回复 #2 zuying1985 的帖子
请问如果使用GSM phone来send..需要什么的requirement呢?
任何一部GSM phone都可以吗? |
|
|
|
|
|
|
|
发表于 9-1-2007 02:48 PM
|
显示全部楼层
原帖由 counterking 于 9-1-2007 01:33 PM 发表
请问如果使用GSM phone来send..需要什么的requirement呢?
任何一部GSM phone都可以吗?
大多数的电话都是support GSM modem 了。。。 至于电话model,你可以参考SMSLib website 的
Compatibility里有list out 什么电话是compatible/test 了。。。
我之前是用Moto E680I.. nokia 8310 那些都已经能够了。。你可以去看看。。。
有用到的就是一架GSM modem enabled 的 电话, connectivity (USB/Serial/Bluetooth/InfraRed)...
然后在windows 里install 你电话的modem driver... 在API 里specify 需要的info (例如COM Port,databit)
就可以send 了。。。
至于你之前说的auto check 谁还没给fee 的。。应该可以用window service + timer 去 check database. 然后apply SMSLib API 去 send 就可以了。。。
希望有帮助。。。。
[ 本帖最后由 zuying1985 于 9-1-2007 02:50 PM 编辑 ] |
|
|
|
|
|
|
|
发表于 2-2-2007 01:39 AM
|
显示全部楼层
回复 #4 zuying1985 的帖子
zuying1985 想请教下您,
我用Nokia 8250 和 infra red ...
SMSLib APi 可以用来receive sms 然后
针对不同的keyword 来回复给 sender 吗? |
|
|
|
|
|
|
|
发表于 2-2-2007 06:11 AM
|
显示全部楼层
原帖由 giopadini 于 2-2-2007 01:39 AM 发表
zuying1985 想请教下您,
我用Nokia 8250 和 infra red ...
SMSLib APi 可以用来receive sms 然后
针对不同的keyword 来回复给 sender 吗?
可以。。。你download API 的时候有include 了 send and receive 的 example 了。。
照着就是了。。
8250 我不清楚可以没有。。不过infrared 是可以的。。当connected 的时候。。就会有一个virtual port created 了。。。然后就communnicated the phone through the port specified 就可以了。。
然后。。 你可以received sms 后把check sms content.. if keyword ="a" then send 咯。。。
或是write 进database 后再check 吧。。。你喜欢咯。。。
表叫我您。。我受不起。。  |
|
|
|
|
|
|
|
发表于 5-2-2007 12:12 AM
|
显示全部楼层
謝謝你的指點。。。"您"只是禮貌上的稱呼嘛。。
我下載了要試試。。
看了SMSLib 的網站﹐不是很明白他怎樣install...
問題是這個。。
In order to compile SMSLib for .NET using command line tools, you have to exit to the .NET SDK Command Prompt or Visual Studio Command Prompt, go to the SMSLib directory and type nmake. |
|
|
|
|
|
|
|
发表于 5-2-2007 02:03 AM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 6-2-2007 10:03 PM
|
显示全部楼层
我的电脑只是install 了 visual basic 2005 express edition 和 microsoft sql server 2005 。。。
我找不到visual studio.net 的 command prompt
它是在哪里?
谢谢 |
|
|
|
|
|
|
|
发表于 7-2-2007 06:41 AM
|
显示全部楼层
原帖由 giopadini 于 6-2-2007 10:03 PM 发表
我的电脑只是install 了 visual basic 2005 express edition 和 microsoft sql server 2005 。。。
我找不到visual studio.net 的 command prompt
它是在哪里?
谢谢
Express Edition好象是没有Command Prompt的, Full Edition的Visual Studio.Net才有 |
|
|
|
|
|
|
|
发表于 7-2-2007 07:38 AM
|
显示全部楼层
那么Full Edition的Visual Studio.Net 那里有得下载?
是免费地吗?
还是有什么办法吗? |
|
|
|
|
|
|
|
发表于 7-2-2007 06:26 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 7-2-2007 11:48 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 8-2-2007 12:30 AM
|
显示全部楼层
原帖由 giopadini 于 7-2-2007 11:48 PM 发表
我已经下载了.Net framework SDK v2.0 了。。
已经按照你所说的的方式install 了。。
有看到一个 SMSLib.dll
但是我却找不到所谓的 send and receive 的example
只有一个example 和 SMSLib 的 folder , 一 ...
 
SendMessage.cs + ReadMessage.cs 就是我讲的send and receive 的exampple........
SMSLib 的guide 有教吧。。。。。
.cs 是 csharp file.. 可以用vs.net 开的。。。
可是不能complile 的。。你可以自己开project 然后add cs file 进去试。。。
至于.exe 是根据那个cs file build 的 exe file...
所以setting 是根据那个cs file 的。。。
你没有跟着cs file set up 你的 GSM modem 的话。。 当然是跑不到。。。
我想你需要好好地读他地guide 吧。。你run program 前要先setup 好你的电话。。。你可以看这里。
http://www.developershome.com/sms/howToSendSMSFromPC.asp
至于vs.net 的破解。。自己找吧。。。 |
|
|
|
|
|
|
|
发表于 8-2-2007 07:12 AM
|
显示全部楼层
謝謝你了。。。
現在我才明白。。。
好啦。。現在要好好的鑽研一下。。
暫時沒有什麼大問題了 |
|
|
|
|
|
|
|
发表于 8-2-2007 02:33 PM
|
显示全部楼层
那么要用 C Sharp 来写我的程式,
还是可以用Visual Basic 来写呢?
请指点,谢谢
[ 本帖最后由 giopadini 于 8-2-2007 02:38 PM 编辑 ] |
|
|
|
|
|
|
|
发表于 8-2-2007 10:28 PM
|
显示全部楼层
原帖由 giopadini 于 8-2-2007 02:33 PM 发表
那么要用 C Sharp 来写我的程式,
还是可以用Visual Basic 来写呢?
请指点,谢谢
你喜欢用什么就什么吧。。。。 |
|
|
|
|
|
|
|
发表于 8-2-2007 11:52 PM
|
显示全部楼层
這樣就是說那些 .cs file 裡面的code
是可以給 C# 和VB2005 通用的嗎?
還有這兩句不是很明
In order to compile SMSLib for .NET from Visual Studio, you will have to create an empty .DLL project, add all files found in the SMSLib directory and compile from there.
要如何add files 呢?
For deployment, only SMSLib.dll is needed. Make sure its located in a place visible from your applications.
這個是不是說要么add reference ?
[ 本帖最后由 giopadini 于 9-2-2007 12:10 AM 编辑 ] |
|
|
|
|
|
|
|
发表于 9-2-2007 12:16 AM
|
显示全部楼层
原帖由 giopadini 于 8-2-2007 11:52 PM 发表
這樣就是說那些 .cs file 裡面的code
是可以給 C# 和VB2005 通用的嗎?
還有這兩句不是很明
In order to compile SMSLib for .NET from Visual Studio, you will have to create an empty .DLL project, ...
假如你要用vb 来些的话。。就需要把那些C# 的code convert 去 vb lo...
对。。你只需要在你的project 里add reference (SMSLib.dll) 就可以了。。。 |
|
|
|
|
|
|
|
发表于 9-2-2007 12:43 AM
|
显示全部楼层
它是check currentdate 是否在install跟expiry之间。。
eg:
installdate < now <expirydate
install in 2020, 你调回2007肯定out of range嘛。。所以马上expired.
2007 2/11(now) < 2/10/2020 (install date)< (acceptable range here) < 2/19/2020(expiry date)
[ 本帖最后由 tensaix2j 于 9-2-2007 12:46 AM 编辑 ] |
|
|
|
|
|
|
| |
本周最热论坛帖子
|