How VB api Disable hotspot
i want disable hotspot1 by api command , i develop by vb.
thank you
VBScript, VB6, VBA or VB.NET?
VB6 Development
Thank you…
You can use the project posted here: http://forum.mikrotik.com/t/api-in-visual-basic-6-working-fine/46922/1 (via wiki: https://wiki.mikrotik.com/wiki/Manual:API)
If you want to support >= v6.43 (rc) login method, change this line:
tmp = "/login =name=" & txtUser.text & " =response=00" & tmp
into:
tmp = "/login =name=" & txtUser.text & " =response=" & txtPassword.text
The sentence to disable a hotspot (server) is:
/ip/hotspot/set
=.id=server1
=disabled=yes
Example:

i am test code not work
/ip/hotspot/set
=.id=server1
=disabled=yes
use winsock vb6 api development
Please provide steps to get to the “not work” scenario.
What code and ROS version did you use, what did you expect to see, what did you get as result, preferably with screenshot.
A developer should know better than simply replying “not work” without reproduction steps and (relevant) code.