Please don't laugh... 
Author Message
 Please don't laugh...

Im new in vb so i have a basic questions...

1)What are namespaces and how/when to use it?
2)I created a form MDI Form_1
    Dim Form1 As New Form1
    Form1.ShowDialog
    Form1.IsMdiContainer = .T.
    I created Menu in this form which runs a child forms.
    Dim Form2Child As New Form2Child
    From Form2Child.Button1 I want to change something
    (For example Text) of Form1 How to do that? I tried everything :(
    In Vfp it's simple Form1.Text = 'xxxx'
3) How to release form?
    I used Form1.Close but i think that's not perfect.
    I think it closes form but does not release its definition
    from memory.



Sat, 28 Jun 2003 02:05:33 GMT  
 Please don't laugh...

Quote:
>Im new in vb so i have a basic questions...

Everybody once was new in VB. Everybody is now new in VB.NET. Don't
worry about it.

Quote:
>1)What are namespaces and how/when to use it?

See my reply to "Anyone can help me with Namespaces". If that doesn't
suffice, let me know.

Quote:
>2)I created a form MDI Form_1
>    Dim Form1 As New Form1
>    Form1.ShowDialog
>    Form1.IsMdiContainer = .T.
>    I created Menu in this form which runs a child forms.
>    Dim Form2Child As New Form2Child
>    From Form2Child.Button1 I want to change something
>    (For example Text) of Form1 How to do that? I tried everything :(

MDIParent.Text = "Waah!"

Quote:
>3) How to release form?
>    I think it closes form but does not release its definition
>    from memory.

No, it doesn't, and you don't have to worry about that. That'll be
done automatically by the garbage collector.

For additional info:
http://msdn.microsoft.com/msdnmag/issues/1100/GCI/GCI.asp
http://msdn.microsoft.com/msdnmag/issues/1200/GCI2/GCI2.asp



Sat, 28 Jun 2003 02:33:58 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Please don't laugh I'm sincere

2. Please Don't Laugh!

3. Please Don't Laugh!

4. please don't laugh, is this code ok?

5. Ok Ok Don't laugh :)

6. Winsock Email (don't laugh)

7. Don't laugh at that one

8. Art and all that Jazz: let's laugh about the shallow cafes, but don't like the humble barbers

9. Don't laugh OK, I'm still in school.

10. PLEASE, DON'T BE STUPID!!

11. It's a laugh

12. ANN : Please don't purchase Aditya International software

 

 
Powered by phpBB® Forum Software