http://www.spadim.com.br/ownet.vb.img.zip some screen shots. ownet.vb can be used as an API... maybe putting in owfs could be more pretty :)
i've updated source and put it in gpl license :) new version url: http://www.spadim.com.br/OWNet_VB.20070106.zip Paul Alfille escreveu: > Added to the project, Roberto Spadim's Visual Basic control > > Connects to an owserver. > > Documentation: http://www.owfs.org/index.php?page=visual-basic-control > <http://www.owfs.org/index.php?page=visual-basic-control> > Source code: module/ownet/VisualBasic or > http://www.spadim.com.br/ownet.vb.zip > > All we need now is some screen shots. > > Paul Alfille > > On 1/4/07, *Roberto Spadim* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > sorry wrong location > http://www.spadim.com.br/ownet.vb.20070104.0409.zip > > Roberto Spadim escreveu: > > hello! more one OWNET :D > > ownet.vb (it's an User Control with an Microsoft Winsock control > inside) > > > > it need winsock control! > > maybe an api for direct winsock2.dll could help > > some function can't have same name like PHP or PYTHON or PERL > > > > Constants are same as ownet.php, here i used an LastError() to get > > error when reading directory or another device because VB functions > > are STRING and i can't return NULL > > FUNCTIONS: > > > > LastError() as OWNET_ERRORS (return last error when reading or > writing) > > Dir(Path as String) as String (return directory with "," > separator, > > lasterror() should be used) > > Presence(Path as String) as Boolean (check presence, lasterror() > > shouldn't be used) > > Read(Path as String) as String (read an path, lasterror() should > be used) > > ReadAny(Path as String) as String (read with Read function, if fail > > read with Dir function, lasterror() should be used) > > SetHost(Host as String) (set ow server host, lasterror() > > shouldn't be used) > > Public Variable RemoteHost is the same thing! > > SetPort(Port as Integer) (set ow server port, lasterror() > > shouldn't be used) > > Public Variable RemotePort is the same thing! > > GetHost() as String (return ow server host) > > GetPort() as Integer (return ow server port) > > SetValue(Path as String,Value as String) as Boolean (set an > value and > > return true or false on error or success (no lasterror() should be > > used after this function call) ) > > > > > > This user control worked for me, maybe a vb.net <http://vb.net> > or winsock api could > > help in a new version... > > if you wan't use winsock api, i put some "inteface" functions for > > abstraction, be sure that everythink works when trying to change > to a > > new winsock api: > > ws_makeconnection > > ws_closeconnection > > ws_send > > ws_read > > ws_status > > sck* constants: > > sckConnected > > sckBadState > > sckClosed > > sckClosing > > sckConnectAborted > > sckError > > > > Bye Guys > > Roberto Spadim > > > > Location: > > http://www.spadim.com.br/ownet.vb.zip > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Owfs-developers mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/owfs-developers > <https://lists.sourceforge.net/lists/listinfo/owfs-developers> > > > ------------------------------------------------------------------------ > Esta mensagem foi verificada pelo E-mail Protegido Terra > <http://mail.terra.com.br/>. > Scan engine: McAfee VirusScan / Atualizado em 05/01/2007 / Versão: > 5.1.00/4933 > Proteja o seu e-mail Terra: http://mail.terra.com.br/ > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
