[python-win32] re: Visual Basic frm files for win32gui

Tony Cappellini tony at tcapp.com
Mon Apr 5 17:24:06 EDT 2004



>
> is it possible to use Visual basic frm files in my python win32 project for gui ?
> if , how its should be ?
>
You could probably write your own Python code to parse thru a VB frm file,
but tha would assume you know everything about the possible contents of a
frm file, and I don't think even Microsoft knows that.
But the FRM files often (but not always) depend on the FRX files.

You may want to look into VB2Py, which attempts to convert VB projects nto
Python code, but unfortunately this uses PythonCard, which relies on
wxPython.

VB2Py feautes an online version, so you can try to convert your VB project
to Python using a web page.

VB2Py is still
in beta (or Alpha).

However, it does give you some options to look at.


I think the suggestion to do your gui in VB, and call Python via COM is a
good idea, and eliminates the issues with  Python GUIs, which
will get you to an end result much sooner.


Tony






More information about the Python-win32 mailing list