SMS Code help

SMS Code help SearchSearch
Author Message
andrew bilham
New member
Username: Sovereign

Post Number: 10
Registered: 04-2013
Posted on Monday, April 22, 2013 - 04:34 pm:   

Hi,

I have pulled a couple of bits off code from this site that works independantly but want to try and get them to work together.

It writes the log but doesnt email. im sure im missing a simple thing.

Find attached any help would be appreciated.

text/plaincode
code.txt (1.7 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4433
Registered: 08-2008
Posted on Tuesday, April 23, 2013 - 01:39 am:   

Hi,

I have no idea how that code relates to NowSMS, but I see notes in the code:

'Uncomment the sub and
'end sub lines to use this in a program.

And yet the sub and end sub lines are commented.

I'm not a VB programmer, so I don't know the difference in VB between subroutines and functions. But even if the sub is supposed to be commented out so the code can be used in-line, it appears in the code after a function definition, so I'm not sure it will even be run.

I'd suggest putting a lot of debug statements in the code so you can verify each step of execution and see what code is running.

--
Des
NowSMS Support

Add Your Message Here, or click here to start a new topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Options: Automatically activate URLs in message
Action: