Click here to Skip to main content
15,915,093 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Verbatim literal Pin
Dave Doknjas31-Jul-07 13:45
Dave Doknjas31-Jul-07 13:45 
GeneralRe: Verbatim literal Pin
Dave Kreskowiak31-Jul-07 16:52
mveDave Kreskowiak31-Jul-07 16:52 
Questionproblems while taking a screen shot Pin
Ahmad Zaidi30-Jul-07 22:10
Ahmad Zaidi30-Jul-07 22:10 
Questiondatetime control is creating problem Pin
Sonia Gupta30-Jul-07 21:58
Sonia Gupta30-Jul-07 21:58 
AnswerRe: datetime control is creating problem Pin
Tom Deketelaere30-Jul-07 23:00
professionalTom Deketelaere30-Jul-07 23:00 
QuestionHow to hide the startup form Pin
Amer Rehman30-Jul-07 21:17
Amer Rehman30-Jul-07 21:17 
AnswerRe: How to hide the startup form Pin
Tom Deketelaere30-Jul-07 21:26
professionalTom Deketelaere30-Jul-07 21:26 
AnswerRe: How to hide the startup form Pin
Luc Pattyn30-Jul-07 23:24
sitebuilderLuc Pattyn30-Jul-07 23:24 
Hi,

this is how I do it (example is C#):

[STAThread]
static void Main() {
	Application.EnableVisualStyles();
	Application.SetCompatibleTextRenderingDefault(false);
	Form1 form1=new Form1();
	// to remain hidden, we don't pass the form to App.Run();
	// as a consequence the form must perform an Application.Exit
	// when it quits, closes or receives a SessionEnding event.
	Application.Run();
}


So don't hand over your main form to Run() since that would show it, no matter
what you do to the form's properties.
And be careful to deal with all normal exits PLUS the sessionending stuff
(which normally Run would handle).

Smile | :)



AnswerRe: How to hide the startup form Pin
Naji El Kotob31-Jul-07 1:10
Naji El Kotob31-Jul-07 1:10 
AnswerRe: How to hide the startup form Pin
Joseph Guadagno31-Jul-07 9:47
Joseph Guadagno31-Jul-07 9:47 
Questionslider and the ruler Pin
eyes200730-Jul-07 21:02
eyes200730-Jul-07 21:02 
AnswerRe: slider and the ruler [modified] Pin
Tom Deketelaere30-Jul-07 21:23
professionalTom Deketelaere30-Jul-07 21:23 
GeneralRe: slider and the ruler Pin
eyes200731-Jul-07 1:15
eyes200731-Jul-07 1:15 
GeneralRe: slider and the ruler Pin
Tom Deketelaere31-Jul-07 1:32
professionalTom Deketelaere31-Jul-07 1:32 
Questionhow can i add groups to sharing folder using vb.Net Pin
koolprasad200330-Jul-07 20:20
professionalkoolprasad200330-Jul-07 20:20 
AnswerRe: how can i add groups to sharing folder using vb.Net Pin
The Man from U.N.C.L.E.31-Jul-07 8:23
The Man from U.N.C.L.E.31-Jul-07 8:23 
GeneralRe: how can i add groups to sharing folder using vb.Net Pin
koolprasad20031-Aug-07 3:06
professionalkoolprasad20031-Aug-07 3:06 
QuestionVoice Recognition Pin
Ashraf zia30-Jul-07 20:00
Ashraf zia30-Jul-07 20:00 
AnswerRe: Voice Recognition Pin
Christian Graus30-Jul-07 20:21
protectorChristian Graus30-Jul-07 20:21 
Questionwindow application deployment problem Pin
Sonia Gupta30-Jul-07 19:37
Sonia Gupta30-Jul-07 19:37 
AnswerRe: window application deployment problem Pin
Christian Graus30-Jul-07 20:22
protectorChristian Graus30-Jul-07 20:22 
QuestionControl to display a merge cell Pin
Mekong River30-Jul-07 16:06
Mekong River30-Jul-07 16:06 
AnswerRe: Control to display a merge cell Pin
Dave Kreskowiak31-Jul-07 2:45
mveDave Kreskowiak31-Jul-07 2:45 
GeneralRe: Control to display a merge cell Pin
Mekong River31-Jul-07 14:53
Mekong River31-Jul-07 14:53 
QuestionTable Question Pin
nlindley730-Jul-07 8:25
nlindley730-Jul-07 8:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.