Solved

Any difference between Form1.Show & Form1.visible = true vb 6

Posted on 2014-02-22
4
404 Views
Last Modified: 2014-02-22
I have always wondered, but never bothered to check.
Any difference between Form1.Show & Form1.visible = true or
me.show vs me.visible = true
also
Form1.visible = false vs Form1.hide
are their any differeces ?
0
Comment
Question by:isnoend2001
  • 2
  • 2
4 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 39879501
With Show, you get the opportunity to set the form to Modal status.

Also it always fires the 'Activate' event. Visible = True only does that when the form was not visible.
0
 

Author Closing Comment

by:isnoend2001
ID: 39879526
Thanks, is there any difference in the speed ?
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 39879537
Since it does slightly less, I would guess that changing the Visible property is a wee bit faster than using the Show/Hide methods.
0
 

Author Comment

by:isnoend2001
ID: 39879589
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reading the Contents of a Directory In Access VBA 5 58
MsgBox 2 47
VBS file using code from 2nd file (txt or vbs) 4 30
Access 2013 combo box not working 3 38
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

919 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now