473,385 Members | 1,311 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,385 software developers and data experts.

Invisible form

Hi guys, I´m trying to make a startup invisible form. I don´t want a form
with Opacity property 0. First I did the property Visible of the form to
false. It wasn´t a good idea, was too easy. Then I follow the tips of MSDN
making a new class with an instance of the form that has the logical of the
application. But it not run since I call the ShowDialog() method. Please,
can anyone gime me a tip or any web with an example? I´m a newbie.
Nov 16 '05 #1
3 4869
Hi Jose,

Why do you need an invisible form in first place?

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Jose_Csharp" <jo*********@yahoo.es> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi guys, I´m trying to make a startup invisible form. I don´t want a form
with Opacity property 0. First I did the property Visible of the form to
false. It wasn´t a good idea, was too easy. Then I follow the tips of MSDN
making a new class with an instance of the form that has the logical of the application. But it not run since I call the ShowDialog() method. Please,
can anyone gime me a tip or any web with an example? I´m a newbie.

Nov 16 '05 #2
Hi Miha, first thanks for your interest. Well I need an invisible form
because I don´t want any interaction with the user. First I tried to make a
windows service but I when start it is stopped in few seconds. Then I
decided to do an invisible form. Ok it's a botch solution, but it can to
run.

"Miha Markic [MVP C#]" <miha at rthand com> escribió en el mensaje
news:OX*************@TK2MSFTNGP09.phx.gbl...
Hi Jose,

Why do you need an invisible form in first place?

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Jose_Csharp" <jo*********@yahoo.es> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi guys, I´m trying to make a startup invisible form. I don´t want a form with Opacity property 0. First I did the property Visible of the form to false. It wasn´t a good idea, was too easy. Then I follow the tips of MSDN making a new class with an instance of the form that has the logical of

the
application. But it not run since I call the ShowDialog() method. Please, can anyone gime me a tip or any web with an example? I´m a newbie.


Nov 16 '05 #3
Hi Jose,

You don't need a form. Just change the entry point:
[STAThread]

static void Main()

{

Application.Run(new Form1());

}

Remove

Application.Run(new Form1());

to whatever code you want.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Jose_Csharp" <jo*********@yahoo.es> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi Miha, first thanks for your interest. Well I need an invisible form
because I don´t want any interaction with the user. First I tried to make a windows service but I when start it is stopped in few seconds. Then I
decided to do an invisible form. Ok it's a botch solution, but it can to
run.

"Miha Markic [MVP C#]" <miha at rthand com> escribió en el mensaje
news:OX*************@TK2MSFTNGP09.phx.gbl...
Hi Jose,

Why do you need an invisible form in first place?

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Jose_Csharp" <jo*********@yahoo.es> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi guys, I´m trying to make a startup invisible form. I don´t want a form with Opacity property 0. First I did the property Visible of the form to false. It wasn´t a good idea, was too easy. Then I follow the tips of MSDN making a new class with an instance of the form that has the logical
of
the
application. But it not run since I call the ShowDialog() method.

Please, can anyone gime me a tip or any web with an example? I´m a newbie.



Nov 16 '05 #4

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

Similar topics

6
by: Matt | last post by:
Is it possible to post form data and open an invisible window? For example, in page1.as <form action="page2.asp" method="POST" It will post the form data from page1.asp to the server, and...
11
by: Saqib Ali | last post by:
Please excuse me, this is a fairly involved question that will likely require you to save the file below to a file and open it in a browser. I use Mozilla 1.5, so the problem I describe below...
10
by: Cy | last post by:
I've had good luck with posting in the past, so we'll see how things go this time...:) I have an Access 2000 form. On the form is about 40 objects. I want to set everything to invisible,...
6
by: John | last post by:
Hi Is there a way to open a form hidden/invisible while it is populating its controls, and then make it visible once it is done? I am using the following code but the form remains visible. ...
2
by: Johnny Ruin | last post by:
I ran the wizard to generate default Windows Forms Application. I wanted to make it invisible, so I added the line "this->Visible = false;" to the InitializeComponent function. I rebuilt it and...
10
by: ApexData | last post by:
I can't seem to make a PopUp Dialog form Invisible! 'My main form calls the PopUp DoCmd.OpenForm "F-PAUSE", WindowMode:=acDialog 'My PopUp form "F-PAUSE" contains this code Private Sub...
1
by: LOCAFO | last post by:
I have a form that I'm trying to modify. Code uses html and javascript. The form has the the field name txtAcctType and the 3 options are checking, savings and Money Market. If checking is...
2
by: OllyJ | last post by:
Hi guys hope you can help... ...do you have any idea how you can set a control's (within a single record in a continuous form) property to visible=false depending on the outcome of an update...
11
by: Simon van Beek | last post by:
Dear reader, By opening an application I get always the main Access window with the closing cross in the above right corner. Is there a possibility to make this closing cross invisible? ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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...

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.