Re: VB6 crashes when loading MULTILINE text box into FRAME
From: Philip Stapleton (pstapleton_at_dial.pipex.com)
Date: 01/12/05
- Previous message: Philip Stapleton: "Re: VB6 crashes when loading MULTILINE text box into FRAME"
- In reply to: Bob Butler: "Re: VB6 crashes when loading MULTILINE text box into FRAME"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 12 Jan 2005 10:32:22 -0000
OK - if I unload the loaded controls explicitly in queryUnload it no longer
crashes - many thanks
"Bob Butler" <tiredofit@nospam.com> wrote in message
news:eLwLHw$9EHA.600@TK2MSFTNGP09.phx.gbl...
> "Philip Stapleton" <pstapleton@dial.pipex.com> wrote in message
> news:41e3fe6c$0$292$cc9e4d1f@news.dial.pipex.com
>> I have a multiline text box within a frame. I load a new instance of
>> the frame and text box with
>> Load Frame1(1)
>> Load Text1(1)
>> Set Text1(1).Container = Frame1(1)
>>
>> When I exit the application, VB6 crashes with a screen starting .....
>> "Visual Basic has encountered a problem and needs to close. We are
>> sorry for the inconvenience."
>>
>> If the textbox is not multiline, VB does not crash.
>>
>> Can anyone suggest a workround as the multiline property is read
>> only.
>
> I can't duplicate it using VB6 SP5 but have you tried explicitly undoing
> the
> changes?
> Set Text1(1).Container = Text1(0).Container
> Unload Text1(1)
> Unload Frame1(1)
>
> --
> Reply to the group so all can participate
> VB.Net: "Fool me once..."
>
- Previous message: Philip Stapleton: "Re: VB6 crashes when loading MULTILINE text box into FRAME"
- In reply to: Bob Butler: "Re: VB6 crashes when loading MULTILINE text box into FRAME"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|