Envio de SMS


Reply
 
LinkBack Thread Tools Display Modes
Old 09-10-2007   #1
Member
 
aberro's Avatar
 
Join Date: 08-11-2005
Location: Portugal
Posts: 22
Thanks: 1
Thanked 2 Times in 2 Posts

My System: ILLUSION SAT M3
Envio de SMS

Alguem dabe como é que a frorikey envia a mensagem directamente para o site da Optimus, TMN ou Telecel enviando os dados. Como Username e Palavra passe, Numero de telemovel de destino e a Mensagem.

Estou a Fazer Um software onde tambem queria que envia-se mensgens
aberro is offline   Reply With Quote
Old 11-10-2007   #2
Member
 
psantx's Avatar
 
Join Date: 06-03-2006
Location: somewhere in the univers
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts

My System: Univers 4102 Skystar 2

Estou a tentar criar o mesmo programa,utilizando o visual basic express.
Fartei-me de pesquisar sobre o assunto, mas não está fácil encontrar informação sobre isto.
Parece que a melhor forma de se conseguir o pretendido será : primeiro descobrir o nome dos campos onde se faz o login na página web mytmn, depois utilizar o sendkeys para enviar a informação.

Vou continuar a investigar, se houver progressos eu ponho aqui.
psantx is offline   Reply With Quote
Old 11-10-2007   #3
Member
 
aberro's Avatar
 
Join Date: 08-11-2005
Location: Portugal
Posts: 22
Thanks: 1
Thanked 2 Times in 2 Posts

My System: ILLUSION SAT M3
Eu estou a Tentar Em Delphi 6

Eu estou a Tentar Em Delphi 6
aberro is offline   Reply With Quote
Old 11-10-2007   #4
Member
 
psantx's Avatar
 
Join Date: 06-03-2006
Location: somewhere in the univers
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts

My System: Univers 4102 Skystar 2

Já fiz alguns progressos!

Ora aqui fica:
O objecto webbrowser serve apenas para teste, e não será incluído na versão final.

Nas textbox "nºtelemovel" e "password" servem para inserir os dados de login, depois de o fazer premir o botão login.
O login é feito imediatamente.

De seguida prime-se o botão enviar sms para carregar a pagina do formulário onde se insere as sms.

Escrever a sms na textbox "sms" e inserir os números dos destinatários nas texbox tlem1 e tlem2 , premir de seguida o botão "SubmitSMS" , os dados são automaticamente transferidos para os devidos campos do formulário da pag web...

Penso que já não falta muito para lá chegar.

SMSsender.rar
psantx is offline   Reply With Quote
Old 12-10-2007   #5
Member
 
aberro's Avatar
 
Join Date: 08-11-2005
Location: Portugal
Posts: 22
Thanks: 1
Thanked 2 Times in 2 Posts

My System: ILLUSION SAT M3

tambem ja fiz isso mas, mas não sei como envio as variaveis para o site

Last edited by aberro; 12-10-2007 at 03:41 PM.
aberro is offline   Reply With Quote
Old 12-10-2007   #6
Member
 
psantx's Avatar
 
Join Date: 06-03-2006
Location: somewhere in the univers
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts

My System: Univers 4102 Skystar 2

Em Vb express o código do botão "login" do exemplo acima é este:


Code:
        Dim htmle As HtmlElement
        For Each htmle In WebBrowser1.Document.GetElementsByTagName("Input")
            Select Case htmle.Name
                Case "usr"
                    htmle.InnerText = user.Text
                Case "pwd"
                    htmle.InnerText = pass.Text
            End Select
        Next
        WebBrowser1.Document.InvokeScript("validarFLogin")
Para que isto funcione tens que ter no projecto um objecto webbrowser ,com o url da pag myt*n.

Acabei por não usar o "sendkeys.send"...

Vê se dá para adaptares o código ...


Cumprimentos.
psantx is offline   Reply With Quote
Old 02-03-2008   #7
Member
 
Join Date: 01-04-2007
Location: travassos
Posts: 52
Thanks: 8
Thanked 3 Times in 3 Posts

My System: edision 2100

podias fornecer o resto do codigo :/
xlo620 is offline   Reply With Quote
Reply

Bookmarks

Tags
envio, sms


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off







All times are GMT +1. The time now is 01:23 PM.


All views and information expressed in users' communications and profiles represent the opinions of the users concerned and do not represent the views of Satellites.co.uk. All images and news content are believed to be in the public domain, except where otherwise stated. Forum software by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Content Relevant URLs by vBSEO 3.3.1