vb2py icon indicating copy to clipboard operation
vb2py copied to clipboard

AttributeError: 'module' object has no attribute 'Show'

Open ByReaL opened this issue 9 years ago • 0 comments

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'

ByReaL avatar Jul 18 '16 18:07 ByReaL