Solved

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

Posted on 2014-02-22
4
416 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

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

679 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