473,416 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

hide form on startup

Gil
on start up i have a form that opens but i want it to stay hidden.
i tried a few things so far and i had no luck.
i did :
Private Sub Form_Load()
me.visible = false
End Sub

Private Sub Form_Open(Cancel As Integer)
me.visible = false
end sub

i even opened another form that its Load() event tells the form to hide
and it still doesnt work.
what could be the problem?

Dec 19 '05 #1
3 18718
You can actually specify that your form opens as a hidden form. If you
have a startup form that opens the form you want hidden, you can do a
DoCmd.OpenForm "frmHidden",,,,, acHidden

Dec 19 '05 #2
Gil
yea that works too.
i got around it by setting the forms time interval to 1
and on the timerinterval event i told the form to hide and than set
interval to 0
this worked fine.
thanks

Steve wrote:
You can actually specify that your form opens as a hidden form. If you
have a startup form that opens the form you want hidden, you can do a
DoCmd.OpenForm "frmHidden",,,,, acHidden


Dec 19 '05 #3
The other option is to open the form using a macro and set the "Window
Mode" property to "Hidden".

Dean...

Dec 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: msnews.microsoft.com | last post by:
Hi, What I am trying to do is create a log in form (in MDI application Using VB.NET) I have tried moving the application's startup logic into a separate class and create the Log in form from...
3
by: earl | last post by:
Hey Say I have two <form> on a page like this : <form action="private.asp" method="post" name="form1"> // code <input type=submit value="submit" name="submit"> </form> <form...
2
by: amil [c#newbie] | last post by:
Hi all, I am using the Notify Icon sample that came with .Net Docs and was able to run it. However, I want to start the form as minimized. I have the ShowInTaskbar = false and in the this is...
3
by: meska | last post by:
Is there a way in c# to hide program , that it would show in alt+tab ?
4
by: Matthew | last post by:
The following code does not hide the form. Any ideas why? Also, is there a workaround? I have VB.NET 2003. I have a system tray icon, and want to have that be the only thing showing when the...
0
by: yasker | last post by:
Hi, all I'm developing an application that needs to pop up when the user presses a global hot key. I followed instruction using Win32 API RegisterHotKey. It works fine at first, but what's the...
4
by: DBC User | last post by:
I am writing an app which is a tray application. When the computer/application start, it should go directly to tray without showing the main form. I did hide on Load method and on initialization...
3
by: Raj Wall | last post by:
Hi, I have an application which, when running, is to be seen only in the system tray as a right-clickable icon. However I want the main Form window itself to immediately disappear without...
2
by: mqudsi | last post by:
I'm making a system tray application, and I just can't figure out how to make it hide on execution just like it used to in C++. If I have a button the form and in the button's Click method i have...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.