Solved

Open form 2 and minimize form 1 to taskbar in VB.Net

Posted on 2006-11-26
2
658 Views
Last Modified: 2011-10-03
Hi Experts,

Form 1 has button that opens form 2.
I need sample code to minimize form 1 to taskbar when form 2 opens.

Thanks,

Dave
0
Comment
Question by:dave_sky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
gangwisch earned 500 total points
ID: 18015073

'from form1
me.WindowState=FormWindowState.Minimized
dim frm2 as new form2
frm2.show
0
 

Author Comment

by:dave_sky
ID: 18015185
Thanks for the response.

I had to make a slight adjustment for VB.Net 2005.

'from form1
me.WindowState=FormWindowState.Minimized
frm2.show

Dave
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Set arraylist as datatable 2 29
Import a excel sheet in a grid 2 45
Help with Report Viewer in VS2013 6 33
VB Catch Statement in Event Viewer. 2 20
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question