Jump to content

netcomm.ocx


elawady
 Share

Recommended Posts

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:>

Link to comment
Share on other sites

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 :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...