This VB6 API example 'is as is'. Analyze code, when you click 'Send' button command is sent with 'End of Sentence/zero length word' mark. Modify this example to have possibility to send words and words with 'End of Sentence' separately. api_test.JPG As boen_robot wrote: /ppp/secret/enable -> send t...
=numbers=user1 ? Are you sure the contents of the text box is interpreted properly? Each line should be treated as a different word. The original code didn't do that - the "one line" text field was treated as a single word. If you just changed the "one line" text field to a &quo...
You need to do this at two steps. 1. print the "secret" entry you want enabled. To target a specific entry, use query words. 2. From the print, extract the ".id" of the entry you want enabled, and put it in place of the "0". BTW, it's "numbers", not "num...
hii,, i got API vb from http://forum.mikrotik.com/viewtopic.php?f=2&t=51584 then i custom text box. http://i46.tinypic.com/xlh07a.jpg whats command to enable ppp user? at CLI it wil be /ppp secret enable 0 then from http://wiki.mikrotik.com/wiki/API_command_notes i translate that CLI become &quo...
@ax045Y Do not use Package and Deployment Wizard to compile project, use VB6 IDE 'File/Make...' command instead. In this case compiler shows you what and where is wrong with code. This API example works fine, problem is with 'CRAM_MD5' function in 'MD5.cls'. Remove this function and you will be abl...