Really need help a bug with VS.Net and MaskEditBox 
Author Message
 Really need help a bug with VS.Net and MaskEditBox

Hi,

I have a form without anything on it and I use the
form_load to popup a msgbox "allo". Simple like that. When
I try to add a maskeditbox on my form the program didn't
pass into the form_load then My msgbox cannot be showed.

Thanks to every one who try.



Fri, 15 Jul 2005 21:29:24 GMT  
 Really need help a bug with VS.Net and MaskEditBox
Hi Eric,

Try the following code in your form.

 Private Const WM_SHOWWINDOW = &H18
 Private m_loaded As Boolean

 Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
    If m.Msg = WM_SHOWWINDOW Then
       If Not m_loaded Then
          m_loaded = True
          MyBase.OnLoad(New System.EventArgs())
       End If
    End If
    MyBase.WndProc(m)
 End Sub


Quote:
> Hi,

> I have a form without anything on it and I use the
> form_load to popup a msgbox "allo". Simple like that. When
> I try to add a maskeditbox on my form the program didn't
> pass into the form_load then My msgbox cannot be showed.

> Thanks to every one who try.



Fri, 15 Jul 2005 21:45:19 GMT  
 Really need help a bug with VS.Net and MaskEditBox
Hi

thanks for the function but what I can do if it return me
System.NullReferenceException ? It's mean what?

thanks for your help and patience

Quote:
>-----Original Message-----
>Hi Eric,

>Try the following code in your form.

> Private Const WM_SHOWWINDOW = &H18
> Private m_loaded As Boolean

> Protected Overrides Sub WndProc(ByRef m As

System.Windows.Forms.Message)
Quote:
>    If m.Msg = WM_SHOWWINDOW Then
>       If Not m_loaded Then
>          m_loaded = True
>          MyBase.OnLoad(New System.EventArgs())
>       End If
>    End If
>    MyBase.WndProc(m)
> End Sub



>> Hi,

>> I have a form without anything on it and I use the
>> form_load to popup a msgbox "allo". Simple like that.
When
>> I try to add a maskeditbox on my form the program didn't
>> pass into the form_load then My msgbox cannot be showed.

>> Thanks to every one who try.

>.



Fri, 15 Jul 2005 22:15:24 GMT  
 Really need help a bug with VS.Net and MaskEditBox
Hi Eric,

You'd have to provide more detail information.  Did you include the code I
showed below ?

Bill.


Quote:
> Hi

> thanks for the function but what I can do if it return me
> System.NullReferenceException ? It's mean what?

> thanks for your help and patience

> >-----Original Message-----
> >Hi Eric,

> >Try the following code in your form.

> > Private Const WM_SHOWWINDOW = &H18
> > Private m_loaded As Boolean

> > Protected Overrides Sub WndProc(ByRef m As
> System.Windows.Forms.Message)
> >    If m.Msg = WM_SHOWWINDOW Then
> >       If Not m_loaded Then
> >          m_loaded = True
> >          MyBase.OnLoad(New System.EventArgs())
> >       End If
> >    End If
> >    MyBase.WndProc(m)
> > End Sub



> >> Hi,

> >> I have a form without anything on it and I use the
> >> form_load to popup a msgbox "allo". Simple like that.
> When
> >> I try to add a maskeditbox on my form the program didn't
> >> pass into the form_load then My msgbox cannot be showed.

> >> Thanks to every one who try.

> >.



Sat, 16 Jul 2005 18:45:19 GMT  
 Really need help a bug with VS.Net and MaskEditBox
It work, I just miss something in my code after put your
function. Can you tell more about this function. Where do
you find it and where I can find information about those
special event call.

Thanks a lot

But I suppose to be generated code and I had some trouble

Quote:
>-----Original Message-----
>Hi Eric,

>You'd have to provide more detail information.  Did you
include the code I
>showed below ?

>Bill.



>> Hi

>> thanks for the function but what I can do if it return
me
>> System.NullReferenceException ? It's mean what?

>> thanks for your help and patience

>> >-----Original Message-----
>> >Hi Eric,

>> >Try the following code in your form.

>> > Private Const WM_SHOWWINDOW = &H18
>> > Private m_loaded As Boolean

>> > Protected Overrides Sub WndProc(ByRef m As
>> System.Windows.Forms.Message)
>> >    If m.Msg = WM_SHOWWINDOW Then
>> >       If Not m_loaded Then
>> >          m_loaded = True
>> >          MyBase.OnLoad(New System.EventArgs())
>> >       End If
>> >    End If
>> >    MyBase.WndProc(m)
>> > End Sub



>> >> Hi,

>> >> I have a form without anything on it and I use the
>> >> form_load to popup a msgbox "allo". Simple like that.
>> When
>> >> I try to add a maskeditbox on my form the program
didn't
>> >> pass into the form_load then My msgbox cannot be
showed.

>> >> Thanks to every one who try.

>> >.

>.



Sat, 16 Jul 2005 22:43:15 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Really need help with the SYSTEM user vs NTFS rights

2. VB.net using msword object (Please really need help)

3. Search -- Really really need help

4. VS.NET 2003 project back to VS.NET 2002

5. VS .NET 2002 -- EXTREMELY annoying bug -- any ideas?

6. Bug in VS.NET 2003 debugger

7. Bug in VS.NET 2003

8. VS.Net Version vs .Net Framework version

9. Upgrading to VS.Net 2003 from VS.Net 2002

10. Post VS.NET Bugs Here

11. About Typecasting (VS.NET bug?)

 

 
Powered by phpBB® Forum Software