Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 10,811 of 10,840    |
|    Dee Earley to Michael P    |
|    Re: VB6: Showing a form from a module -     |
|    02 Dec 09 17:34:42    |
      From: dee.earley@icode.co.uk              On 02/12/2009 16:45, Michael P wrote:       > Hi All       >       > I am developing a VB6 application to handle midi events.       > It's is to be controlled by a musical keyboard.       > The main form, Form1, is always shown.       >       > I have a routine in a module to handle midi events and it works perfectly.       > The problem appears when I want this routine to show another form (modally),       > Form2.       > (This happens when I press a certain (musical) key).       > I get the message "Invalid procedure call or argument".       > If Form2 is loaded in the Form1 Load-event it is actually possible to show       > Form2       > from the module, but when I close it the application crashes.              We'll need to see some code, both showing the form and in the forms       load/initialize events to be able to help more.              --       Dee Earley (dee.earley@icode.co.uk)       i-Catcher Development Team              iCode Systems              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca