Closed VB.net send SMS via pocket wifi

Status
Not open for further replies.

SoshiTae

Leecher
Hi, pano po ba magsend ng Text sa VB gamit ang pocket wifi? May nakita po kasi akong tutorial sa youtube 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
 
Did you know?

Web hosting is a service that allows organizations and individuals to post a website or web page onto the Internet. A web host, or web hosting service provider, is a business that provides the technologies and services needed for a website or webpage to be viewed on the Internet. Websites are hosted, or stored, on special computers called servers.

When Internet users want to view your website, all they need to do is type your website address or domain into their browser. Their computer will then connect to your server, and your webpages will be delivered to them through the browser.

When it comes to web hosting companies based on the number of hosted websites, GoDaddy has established itself as a clear market dominator. According to HostAdvice, GoDaddy has covered over 19% of the market, leaving a not-so-significant market share to other hosting providers such as Google Cloud Platform, 1&1, Amazon Web Services, and Cloudflare.

According to Builtwith, GoDaddy has also managed to become a world dominator when it comes to providing VPS web hosting. GoDaddy’s market share in this segment counts for over 23%, whereas its closest competitors, such as DreamHost and Digital Ocean, cover 1.46% and 1.23% of the market share, respectively.
Oooohhhh hindi ko na-realise 'yun.... anung parameters (or variables??) ang ilalagay sa request? 'Di ba may format 'yun? 'Yun ba 'yung using WebClient?
 
Di ko alam sa VB per ganito ginawa ko sa linux system(PHP)
1. Punta ka sa SMS page ng dashboard gamit ang browser mo.
2. Inspect Element.
3. Punta ka sa network.
4. Send mo yung SMS.
5. Ngayon hanapin mo sa DevSection(Network) yung HTTP request mo.
6. Diyan pa lang makikita mo na yung mga parameters nung SMS API.
6. Right Click mo yung URI ng request mo.
7. Then Copy CURL as bash
8. Ayan na yung commands para sa Linux, meron din na pang Windows(cmd), kaya sa tingin ko magiging okay yan sa VB mo :D

dc585iS.webp
 
Status
Not open for further replies.

About this Thread

  • 5
    Replies
  • 9K
    Views
  • 5
    Participants
Last reply from:
bsmobile

Trending Content

Online now

Members online
1,219
Guests online
9,732
Total visitors
10,951

Forum statistics

Threads
2,032,464
Posts
27,569,938
Members
1,600,655
Latest member
Kurt laurence decritales
Back
Top