Link to home
Start Free TrialLog in
Avatar of AWestEng
AWestEngFlag for Sweden

asked on

Start application without form, open form when pressing F1

Hi
Need some help with open a from when pressing the F1 button

I have this now
Class Program
    <STAThread()> _
    Public Shared Sub Main(ByVal args As String())
        Application.Run()
    End Sub
End Class

But I need to add some code so the form can open when pressing F1, is this possible?

So let sey I need to open a form called frmMain when pressing F1
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

You're using VB.Net 2005?
>> You're using VB.Net 2005?
Look in the selected zones Idle_Mind  :)
Zones: .Net Editors & IDEs, Microsoft Visual Basic.Net, Visual Studio .NET 2005
SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AWestEng

ASKER

oki I need as mutch power for my application as possible so I have to go with (a) and maybe change the Hotkey to "Shift +I+0" (The applications/projects have each a index name in there project name like I01_Server1 and I02_Server2 and so on )
beacause all of the applications I'm going to hide is server applications (Remoting, I have about 15 diffrent server applications that is runnning) and the form that the server has is only going to be used when developing this application and maybe when there are a problem with the server (each server has a from, it's a server console form) So then  I will pick (y) for this.
So if I use (a) and (y) how do I do then?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thx m8, works perfect.