|
-
Nov 19th, 2003, 01:20 PM
#1
Thread Starter
Fanatic Member
Why does VB.NET have to be so iritating? [RESOLVED]
Hey,
VB.NET has become so iritating! I can't do anything simple now without having to do something advanced!
My problem is, I need an application which loads invisible. I have the NotifyIcon control sorted out, but the form that it links with I need to not appear when you start the application.
How can I do this?
I can't even choose Visible = False at design time in the forms properties, wheres it gone? Thats bloody stupid...
And an inprofessional way of doing it, like setting a code for like:
VB Code:
Private Sub frmSettings_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim frmSettings As New Form
frmSettings.Visible = False
End Sub
Is that the right way to do it anyway even though it doesnt work? Or should it be
VB Code:
Private Sub frmSettings_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
frmSettings.ActiveForm.Visible = False
End Sub
I don't even know something simple like that! VB6 is so much simpler, why have they made it so stupid?
Anyway, please help me out here! Like i said, i need my dam Startup form to not be visible when my application loads, I just need the NotifyIcon to appear on the taskbar instead. (For those who dont know what a NotifyIcon is, its the icon you get in the taskbar at the bottom right, usually double clicking it makes the app visible, like MSN Messenger)
Thanks for the help! Its appreciated.
Last edited by LITHIA; Nov 21st, 2003 at 03:44 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|