|Project News and Announcements||
1 , 2004
v0.2.1 is a bug fix and minor enhancement version. Quite a large number of Visual Basic functions and keywords were not supported in v0.2 and this is addressed to some extent by this release. The following additional functions were added for this release:
Array, ChDir, Choose, Environ, EOF, Erase, FileCopy, FileLen, Filter, FreeFile, IIf, Input, InStrRev, IsArray, Join, Kill, Let, Lof, LSet, LTrim, RTrim, Trim, MkDir, Name, Randomize, Replace, Reset, RGB, RmDir, Rnd, Round, RSet, GetAllSettings, GetSetting, SaveSetting, DeleteSetting, Spc, Split, StrReverse, Switch, Timer.
The coverage is still not 100% but if you whave an urgent need for a function it can easily be bumped up the queue!
26 , 2004
The Wiki, which was previously a very simple system, is now running MoinMoin and so should be much easier for people to add comments and should be much more useable for sketching development ideas.
Click here to take a look.
26 , 2004
Converting large VB applications can be daunting because there is so much code to test to confirm that the VB and Python version really do behave in the same way. To aid in this process there is now an experimental code tester available on the CVS version.
This tester allows you to copy VB code into one pane and have the code converted and tested automatically. This works by using the Windows Scripting host so this only works on Windows and currently only supports VB Script (so some valid VB code will not work).
Click here to see some screenshots.
13 , 2003
You can now try out vb2Py online without all the hassle of installing libraries etc. Follow this link to the demo page and type or paste in your VB code and the watch as it is converted to Python before your very eyes!
The conversion is based on the v0.2 code base and currently only supports Code and Class module conversion for a single file. However, this is a good way to try things out or to convert small sections of VB code. Depending on the type of code you may need to down load the vb2py package to actually run the code as many of the VB intrinsic functions are only defined in the package.
9 , 2003
Version 0.2 is now available.
The key development in v0.2 is the inclusion of the full VB code parser and converter. Whereas v0.1 was just a form layout converter, v0.2 parses all the VB code and translates it to the equivalent Python code. All major code constructs from VB are covered (Sub, Fn, If, While, For, Select, With, Classes, Properties, Types, etc) and most instrinsic functions and constants are implemented as Python equivalents.
The other major addition to v0.2 is the inclusion of a GUI to enable the progress of the conversion to be monitored and tweaked using the options system. The GUI is a PythonCard application running on top of the main vb2py library. The GUI is not required to convert VB code, a fully functioning command line alternative is available.
Linux is now supported (this was badly broken in v0.1!)
The main download is available here.
The GUI download
There are now some screenshots of the GUI available. Things are still at an early stage, but it is actually useable to browse projects and see the converted code. Using the Options dialog you can see the impact of changing global settings.
The GUI pictures are available here.
19 , 2003
The online documentation for v0.2 is now online - this documentation covers the upcoming v0.2 release and also the CVS code. The docs cover various aspects of the code conversion and detail the options which are available to fine tune the translation process.
The documentation is available here.
1 , 2003
This is a bug-fix release for v0.1 - there were a number of issues relating to forms which contained controls with unset properties. These would cause vb2py to fall over. Many of these issues have now been resolved and even if one form fails the conversion for other forms will continue.
The download is available here.
There are now a series of Forums where people can discuss various issues regarding the software and its development. I will be using the forum to give detailed updates on the progress that is being made (rather than posting news items here).
The aim of the forum is to complement the mailing list rather than replacing it. The mailing list is good for asking questions and getting quick answers. The forum is a good place to enter into more detailed discussions.
We are using the phpBB system rather than the Sourceforge forums because the later get hard to use for longer discussions.
The mailing list for vb2Py users was launched today. This provides another way for people to discuss the use of the software.
You can subscribe to the mailing list here.
This initial release contains code which converts simple forms with standard controls to PythonCard forms. A very simplistic attempt is made to convert some VB code and control event names but there is still a long way to go.
The download is available here.
itself has been in development for a while now but I finally got around
to putting some web pages up here.