hi forum, after much searching, I found an example for the management of the api in vb6 posted by Royce3, after some minor alterations to make to achieve it to work well, AUI I leave so they can experience and that You will not find any echo in vb6 to handle the api. I hope this will be useful, and discuss their progress, I keep working !!!..
The script is working fine for me, the API is enabled and I can log in the router.
When I click SEND, I can see the same results. The probleme is when I click again on SEND, I get the OLD result + the new one. I cleared the text field before clicking SEND (txtout.text=""), but same problem. It seem the buffer is not clearing after the command is executed. I suspect the inbuf1 variable.
Joined: Sun Oct 18, 2009 11:52 pm Posts: 673
Karma: 33
Location: Europe/Poland/Konstancin-Jeziorna
@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 able to compile this example to .EXE.
@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 able to compile this example to .EXE.
HTH,
thanks.. anyway i have new problem. what command to enable user?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum