vb2py
vb2py copied to clipboard
AttributeError: 'module' object has no attribute 'Show'
i have this VB code that shows a form and when you click on a button it opens a different form
Private Sub cmdABC_Click() ABC_Form.Show frmMain.Hide End Sub
this gets translated in python in ABC_Form.Show() and when i click the button on the main form i get an error that there is AttributeError: 'module' object has no attribute 'Show'
Traceback (most recent call last): File "C:\Python27\lib\site-packages\PythonCard\widget.py", line 408, in _dispatch handler(background, aWxEvent) File "C:/work/frmMain.py", line 50, in on_cmdABC_Click ABC_Form.Show() AttributeError: 'module' object has no attribute 'Show'