SMS Code help

SMS Code help SearchSearch

SMS & MMS Technical Forum » NowSMS Lite (Product Support Only) » SMS Code help « Previous || Next »
Author Message
andrew bilham
New member
Username: Sovereign

Post Number: 10
Registered: 04-2013
Posted on Monday, April 22, 2013 - 02: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 Monday, April 22, 2013 - 11:39 pm:   

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 create a new discussion topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to create an account.
Username:
Password:
Options: Automatically activate URLs in message
Action:

Login Login / Register Logout Logout Search Last 30 Days Topics Topics