| harriskore 2004-07-12, 12:21 am |
| I am a VB beginner and just began the first try myself. Need advice on the 'Common Dialog' practice.
I add 'components' Microsoft Common Dialog 6.0 & Microsoft Windows Common Controls 6.0, then use Menu Editor create menu 'File'. Under 'File', I create 'Open', 'Save', 'Save As', 'Print' and 'Exit', just like most of the window application.
Under open_click event, I add the following code:
CommonDialog1.ShowOpen
FileName=CommonDialog1.FileName
When I tried to run the code, error '424' comes up (Object required) and high light on 'CommonDialog1.ShowOpen'.
What shall I do?
Sorry for the stupid question. |