473,624 Members | 2,135 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Send sms

hi ng

I would like to make a database where the user automatically can send a
short message service (SMS) just by pressing a button. I know how to do it
if it is an email (by using the docmd.sendobjec t method) - but what code do
I need to send a SMS

Thanks in advance
Anne

(My emailaddress don't work)

Nov 12 '05 #1
4 9637
are you sending it serially ? with http ?

if serially, you'll mscomm32.ocx or a third-party ocx
if via the net, this is an example (watch for wrapping)
http://www.planet-source-code.com/vb...odeAsText.asp?
txtCodeId=5746& lngWId=1

what network provider are you using ? AT&T ? others ?

if you go to http://www.planet-source-code.com and search for just
SMS, you get code samples...
"Anne" <av*@telmore.ru > wrote in message news:<3f******* **************@ dread14.news.te le.dk>...
hi ng

I would like to make a database where the user automatically can send a
short message service (SMS) just by pressing a button. I know how to do it
if it is an email (by using the docmd.sendobjec t method) - but what code do
I need to send a SMS

Thanks in advance
Anne

(My emailaddress don't work)

Nov 12 '05 #2
Hi Roger

Thank you for your answer

Im not really sure what you mean by serially and http - I think it is
http. I tried the example below, but I can't get it to work (what do you
mean by watch for wrapping?) The code stops at: strCookie =
Left$(strCookie , InStr(strCookie , ";") - 1) Do you have an idea what could
be the problem?

Thanks
Anne

"Roger" <le*********@na tpro.com> skrev i en meddelelse
news:8c******** *************** ***@posting.goo gle.com...
are you sending it serially ? with http ?

if serially, you'll mscomm32.ocx or a third-party ocx
if via the net, this is an example (watch for wrapping)
http://www.planet-source-code.com/vb...odeAsText.asp?
txtCodeId=5746& lngWId=1

what network provider are you using ? AT&T ? others ?

if you go to http://www.planet-source-code.com and search for just
SMS, you get code samples...
"Anne" <av*@telmore.ru > wrote in message

news:<3f******* **************@ dread14.news.te le.dk>...
hi ng

I would like to make a database where the user automatically can send a short message service (SMS) just by pressing a button. I know how to do it if it is an email (by using the docmd.sendobjec t method) - but what code do I need to send a SMS

Thanks in advance
Anne

(My emailaddress don't work)


Nov 12 '05 #3
what was returned in strCookie ?
Left$(strCookie , InStr(strCookie , ";") - 1) is meant to grab
everything up to the semi colon, but if the string is null or has no
semi colon you're doing
a left$(strcookie , 0 - 1)... which is illegal

serially means that you have a data cable connected to a modem or
phone, which will be use to send sms messages

http means that you're using a 'net' web provider to send the message

"Anne" <av*@telmore.ru > wrote in message news:<40******* **************@ dread14.news.te le.dk>...
Hi Roger

Thank you for your answer

Im not really sure what you mean by serially and http - I think it is
http. I tried the example below, but I can't get it to work (what do you
mean by watch for wrapping?) The code stops at: strCookie =
Left$(strCookie , InStr(strCookie , ";") - 1) Do you have an idea what could
be the problem?

Thanks
Anne

"Roger" <le*********@na tpro.com> skrev i en meddelelse
news:8c******** *************** ***@posting.goo gle.com...
> are you sending it serially ? with http ?
>
> if serially, you'll mscomm32.ocx or a third-party ocx
> if via the net, this is an example (watch for wrapping)
> http://www.planet-source-code.com/vb...odeAsText.asp?
> txtCodeId=5746& lngWId=1
>
> what network provider are you using ? AT&T ? others ?
>
> if you go to http://www.planet-source-code.com and search for just
> SMS, you get code samples...
> "Anne" <av*@telmore.ru > wrote in message

news:<3f******* **************@ dread14.news.te le.dk>...
> > hi ng
> >
> > I would like to make a database where the user automatically can send a > > short message service (SMS) just by pressing a button. I know how to do it > > if it is an email (by using the docmd.sendobjec t method) - but what code do > > I need to send a SMS
> >
> > Thanks in advance
> > Anne
> >
> > (My emailaddress don't work)

Nov 12 '05 #4
Thanks again Roger

I'am using a web provider to send the message.

I think my problem is that the strCookie is null
"Roger" <le*********@na tpro.com> skrev i en meddelelse
news:8c******** *************** ***@posting.goo gle.com...
what was returned in strCookie ?
Left$(strCookie , InStr(strCookie , ";") - 1) is meant to grab
everything up to the semi colon, but if the string is null or has no
semi colon you're doing
a left$(strcookie , 0 - 1)... which is illegal

serially means that you have a data cable connected to a modem or
phone, which will be use to send sms messages

http means that you're using a 'net' web provider to send the message

"Anne" <av*@telmore.ru > wrote in message

news:<40******* **************@ dread14.news.te le.dk>...
Hi Roger

Thank you for your answer

Im not really sure what you mean by serially and http - I think it is http. I tried the example below, but I can't get it to work (what do you mean by watch for wrapping?) The code stops at: strCookie =
Left$(strCookie , InStr(strCookie , ";") - 1) Do you have an idea what could be the problem?

Thanks
Anne

"Roger" <le*********@na tpro.com> skrev i en meddelelse
news:8c******** *************** ***@posting.goo gle.com...
> are you sending it serially ? with http ?
>
> if serially, you'll mscomm32.ocx or a third-party ocx
> if via the net, this is an example (watch for wrapping)
> http://www.planet-source-code.com/vb...odeAsText.asp? > txtCodeId=5746& lngWId=1
>
> what network provider are you using ? AT&T ? others ?
>
> if you go to http://www.planet-source-code.com and search for just
> SMS, you get code samples...
> "Anne" <av*@telmore.ru > wrote in message

news:<3f******* **************@ dread14.news.te le.dk>...
> > hi ng
> >
> > I would like to make a database where the user automatically can
send a
> > short message service (SMS) just by pressing a button. I know
how to do it
> > if it is an email (by using the docmd.sendobjec t method) - but
what code do
> > I need to send a SMS
> >
> > Thanks in advance
> > Anne
> >
> > (My emailaddress don't work)


Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
3291
by: Steve Horrillo | last post by:
I can't figure out why this script won't insert the subject in the email and why can't I control the font and size being used? I'm not sure where to post this. Let me know where if this is OT. <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function isPPC() { if (navigator.appVersion.indexOf("PPC") != -1) return true; else return false;
0
913
by: zhimin | last post by:
Hi, I'm writing a program to send large file(100m) through dotnet using TCPListener & TCPClient, I'm sending the file with a ask and response loop: 1. Client send a flag 1 to server indicate it has data send to server. 2. Client send the buffer block size. 3. Client send the actual buffer to the server. 4. Server send a flag 1 to client indicating that the buffer has been successfully receeived. 5. The next loop until all data of the...
6
3254
by: John J. Hughes II | last post by:
I have a service that needs to send e-mail alerts. I have been attempting to use the System.Net.Mail function from .NET but this seems to require the IIS be installed and running. Since some of my customers are not really happy with having the IIS installed, not being used except to send e-mail this is becoming a problem. I have also tried using a little program from code project for sending e-mail which works great on older servers...
13
8081
by: Manfred Braun | last post by:
Hi All, I am trying to understand the blocking method socket.Send(). The call blocks as expected, but does this mean, it returnes after the underlying TCP layer got a confirmation, that the send data was received by the socket on the remote end? Can I count on that? Do I understand TCP correctly in that, it gives confirmation ? I do not expect, that a .Net based receiver got that data when socket.Send() terminates!
3
4549
by: Gerard | last post by:
Hello I have created a windows service to monitor a database, it starts some checks when a timer elapses. The checks send emails depending on their findings. My issue is that when I created a windows application it worked fine, however I need to use a service as I don't want to rely on a user being logged in. The errors I get are: Index #:System.Web.HttpException: Could not access 'CDO.Message' object. --->...
14
9125
by: supz | last post by:
Hi, I use the standard code given below to send an email from an ASP.NET web form. The code executes fine but no Email is sent. All emails get queued in the Inetpub mail queue. I'm using my local default SMTP Server and my from address is a valid Yahoo/Hotmail address. I have configures the local SMTP Server to allow the IP Address 127.0.0.1.
3
2178
by: ultr | last post by:
Hello, I have read that send() may not send whole message and returns the nuber of bytes sent, so that we can handle the rest of the message. Is it true, because i have tested sending even 1MB long message by the Internet connection and it was sent in one message - send() returned length of whole message? And the second question: If we really need to send the rest of the message, what should i do if client disconnects while sending...
11
7704
by: hazz | last post by:
smtpClient.Send(message) is causing me problems as per specifics in the trace below. Email is sent but not without this error typically upon sending the second email, but sometimes when running the app, even the first time. The application will be required to be sending out repeated emails, about one every second or two. Must this be done asynchronously? Thank you. -Greg I get the generic error messages;
15
8584
by: cj | last post by:
How can I get a button in VB to send the contents of a text box via email in a manner similar to the "Send To\Mail Recipient" functionality that you can select via right clicking a file in Windows Explorer? I want the user to click a button and it lunch the users default email client and put the contents of a multi line text box in the body of the message and the contents of another text box in the title box and be sitting there read for...
4
7675
by: =?Utf-8?B?dHBhcmtzNjk=?= | last post by:
I have a web page that at the click of a button must send a bunch (1000+) emails. Each email is sent individually. I have the code working fine, using Mail Message classes and smtp and all that. But sometimes even when I'm just sending one e-mail the web page takes a minutes or so to post. Can anyone tell me why it is so slow, or how to fix the problem? To address this I am thinking of just creating a queue table to write the emails...
0
8172
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8677
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8620
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7158
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5563
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.