PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework me.hide problem

Reply

me.hide problem

 
Thread Tools Rate Thread
Old 01-12-2006, 03:03 PM   #1
sachin
Guest
 
Posts: n/a
Default me.hide problem


hello everyone,
i am new to pocketpc development would u please help me out with this

i have a form now i want to minimize my application without using the
minimize button on the control box
i tried ME.HIDE my application hides but i am not able to activate it
again since the applications does not appear in the list of running
programs
and i am not able to activate it again by either clicking on the
application icon..

i came across a thread saying that this might be because i dont have a
text for my application so i also tried


Me.Text = "SHOWFORM"
Me.Hide()

i also tried

Me.Text = "SHOWFORM"
Me.Visible=false

but still the application does not appear in the list of running
programs..


please help me out with this problem..

  Reply With Quote
Old 01-12-2006, 08:39 PM   #2
Fabien
Guest
 
Posts: n/a
Default Re: me.hide problem

Hi,

Try this :
Me.FormBorderStyle = FormBorderStyle.FixedSingle

BR


Fabien Decret
Windows Embedded Consultant

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/
sachin a écrit :

> hello everyone,
> i am new to pocketpc development would u please help me out with this
>
> i have a form now i want to minimize my application without using the
> minimize button on the control box
> i tried ME.HIDE my application hides but i am not able to activate it
> again since the applications does not appear in the list of running
> programs
> and i am not able to activate it again by either clicking on the
> application icon..
>
> i came across a thread saying that this might be because i dont have a
> text for my application so i also tried
>
>
> Me.Text = "SHOWFORM"
> Me.Hide()
>
> i also tried
>
> Me.Text = "SHOWFORM"
> Me.Visible=false
>
> but still the application does not appear in the list of running
> programs..
>
>
> please help me out with this problem..


  Reply With Quote
Old 02-12-2006, 08:01 AM   #3
sachin
Guest
 
Posts: n/a
Default Re: me.hide problem


hello fabein,
i think u did not get my problem

my problem is........

i have a form and i want to minimize my application programatically
without using the minimize button(ie X button) in the controlbox(ie the
blue bar present at the top) so i tried
ME.HIDE.
but when i tried to activate my application again by clicking on the
application icon my application does not open again.neither the
application is present in the list of RUNNING PROGRAMS.

so i made anew application with just one button and wrote the following
code on its click event

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

ME.TEXT="SHOWFORM"
ME.HIDE

End Sub

the application gets hidden but i am not able to open the application
again by clicking on the application icon nor the application is
visible in the list of RUNNING PROGRAMS
then how do iactivate it again .
is it a known Bug if yes please help me out with this.

thank you.
sachin

  Reply With Quote
Old 04-12-2006, 08:11 AM   #4
Fabien
Guest
 
Posts: n/a
Default Re: me.hide problem

Hi,

What is the value of the property FormBorderStyle of your Form ?

Fabien

sachin a écrit :

> hello fabein,
> i think u did not get my problem
>
> my problem is........
>
> i have a form and i want to minimize my application programatically
> without using the minimize button(ie X button) in the controlbox(ie the
> blue bar present at the top) so i tried
> ME.HIDE.
> but when i tried to activate my application again by clicking on the
> application icon my application does not open again.neither the
> application is present in the list of RUNNING PROGRAMS.
>
> so i made anew application with just one button and wrote the following
> code on its click event
>
> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles Button1.Click
>
> ME.TEXT="SHOWFORM"
> ME.HIDE
>
> End Sub
>
> the application gets hidden but i am not able to open the application
> again by clicking on the application icon nor the application is
> visible in the list of RUNNING PROGRAMS
> then how do iactivate it again .
> is it a known Bug if yes please help me out with this.
>
> thank you.
> sachin


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off