Sending sms

  • 18 years ago

    Can anyone help me with this ?

    I would like to send sms using vb and this site :

    You can send 3 messages for free. This information is stored in a cookie (BMBWMSCOUNTER).
    After sending the cookie should be removed so that you can keep sending messages.

    Anyone ideas ?

  • 18 years ago

    What specifically is your question - how to send SMS messages, post through their webpage, or how to delete cookies?

  • 18 years ago

    Both, but first lets start with sending them using the post through their webpage (if possible).

  • 18 years ago

    How do you want to do it? The easy way would be to use the browser control to navigate to the webpage and post through that. If you want to get a little more complicated then you can use the WinInet API to post the data like this example and this one. However, I don't know what kind of authentication (if any) that they use when you post or visit the page, so you might run into additional difficulty if it tries to read your cookie before posting.

    As for deleting the cookie, you can find samples on how to find and delete cookies at

  • 18 years ago

    Thanks, I will check out these links.

    To get the string to post, I need a sniffer ?

  • 18 years ago

    Why would you need a sniffer?

    The browser control would work exactly like your web browser, and if you wanted to use the WinInet API then you will need to look at the form code of the webpage. It should have the action (URL to POST to) in the HTML as well as the names of the form elements, and if you read the first two links I provided they tell you how to specify that you have encoded form data in your posting info.

  • 18 years ago

    Thanks a lot.

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity.” - Dennis Ritchie