Sign in to follow this  
Followers 0
elawady

netcomm.ocx

5 posts in this topic

hi all

i am making a security project :mellow: and I am using mobile when any error is happen :evil:

i use netcomm.ocx in this post this post

$sNumberToDial = "5551235"
Dial($sNumberToDial)

Exit

Func Dial($pNum, $time2wait = 5000)

    dim $FromModem = ""
    $DialString = "ATDT" & $pNum & ";" & @CR

    $com = ObjCreate ("NETCommOCX.NETComm")

    With $com
        .CommPort = 6
        .PortOpen = True
        .Settings = "9600,N,8,1"
        .InBufferCount = 0
        .Output = $DialString
    EndWith

    $com.Output = "ATH" & @CR
    $com.PortOpen = False
    $com = 0

EndFunc;==>Dial

when i am playing the script it's call the number normally but when playing again just the port is open and the call not complete :lol::P

i don't know what's the problem in this code :(

i want in this function calling only :P:D:>

Share this post


Link to post
Share on other sites



any idea

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

This is the second time you are bumping your post.

You did it yesterday once and today you've deleted your last post and replied again ... be careful, this might be dangerous.

If somebody can help you, you will get help. Until then, wait - don't push it hoping nobody will notice.

Edited by enaiman

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

To be fair, the OP waited over 24 hours.

Guess you didn't really read my post.


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0