1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

VB.net send SMS via pocket wifi

Discussion in 'Coding, Programming' started by SoshiTae, Oct 4, 2015.

  1. Hi, pano po ba magsend ng Text sa VB gamit ang pocket wifi? May nakita po kasi akong tutorial sa ÿôutubê kaso Broadband ung gamit nya. Nakakapagtext naman ako sa pocket wifi, baka pede gamitin yun sa pagsend ng Text sa VB

    Eto ung code para sa broadband

    Imports System.Management

    Public Class Form1


    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim ports() As String
    ports = Split(ModemsConnected(), "***")
    For i As Integer = 0 To ports.Length - 2
    ComboBox1.Items.Add(ports(i))
    Next
    End Sub

    Public Function ModemsConnected() As String
    Dim modems As String = ""
    Try
    Dim searcher As New ManagementObjectSearcher( _
    "root\CIMV2", _
    "SELECT * FROM Win32_POTSModem")

    For Each queryObj As ManagementObject In searcher.Get()
    If queryObj("Status") = "OK" Then
    modems = modems & (queryObj("AttachedTo") & " - " & queryObj("Description") & "***")
    End If
    Next
    Catch err As ManagementException
    MessageBox.Show("An error occurred while querying for WMI data: " & err.Message)
    Return ""
    End Try
    Return modems
    End Function

    End Class
     
    junglefury likes this.
  2. http servers ung mga pocket wifi. ggwa k nlng ng http requests para mg send or view sms. : )
     
Tags / Keywords: