|
You continental types always were too picky!
On the rare occasions that I use a splash screen, I too do it differently.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
Why do programmers often confuse Halloween and Christmas? - Because 31 Oct = 25 Dec.
Business Myths of the Geek #4 'What you think matters.'
|
|
|
|
|
Here:
public partial class Splash : Form
{
private void Splash_Load(object sender, EventArgs e)
{
tmrWasteTime.Start();
}
private void tmrFader_Tick(object sender, EventArgs e)
{
if(this.Opacity >0.01)
this.Opacity = this.Opacity - 0.03;
else
kill_tmrFader();
}
Form1 form1;
private void kill_tmrFader()
{
tmrFader.Stop();
form1 = new Form1();
this.Hide();
}
int waste;
private void tmrWasteTime_Tick(object sender, EventArgs e)
{
if (waste < 2)
waste++;
else
kill_tmrWasteTime();
}
private void kill_tmrWasteTime()
{
tmrWasteTime.Stop();
tmrFader.Start();
}
}
In this, example, you realize I'm using some components like timers, you can modify it to fit your needs, however, make sure you call the Splash in this example from your Program.cs and modify form1 here to your called form.
Cheers.
Muammar.
modified on Friday, June 18, 2010 2:15 PM
|
|
|
|
|
as sql server express 2008 is limited, how can I determine the current size of the database using c#?
|
|
|
|
|
You can use the system procedure sp_helpdb for this.
|
|
|
|
|
If you get the latest download, they have increased the size from 4 to 10GB.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
Why do programmers often confuse Halloween and Christmas? - Because 31 Oct = 25 Dec.
Business Myths of the Geek #4 'What you think matters.'
|
|
|
|
|
wow!! really?
where is this article? and where is the URL for the download? I have SQL Server 2008 Express.
|
|
|
|
|
Just one of many links here[^].
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
Why do programmers often confuse Halloween and Christmas? - Because 31 Oct = 25 Dec.
Business Myths of the Geek #4 'What you think matters.'
|
|
|
|
|
Hi
I have problem with console when i run my GUI. I starts to show itself for no reason with GUI. Is there any possible way that I can just run my GUI without the console?
|
|
|
|
|
You get a Console when you either ask for one using explicit code, or when you specify a Console App (which will happily let you create and show Forms as well). What did you do? Which using statements did you get automatically, and which ones did you add? What are your project settings? what is in your static Main() method?
|
|
|
|
|
I actually I'm working with group and I'm just collecting their application and implement it as one application.
|
|
|
|
|
You likely have the project set to console app, set it to windows app.
|
|
|
|
|
thank you very much. yupe the setting was in the console app.
|
|
|
|
|
Hi,
Is there any way to find that the uploaded file is correctly saved in a given folder?
Thanks and Regards,
kalyan
|
|
|
|
|
File.Exists(path)
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi There everyone,
Does anyone know how i can automate the process of publishing a webapplication.
Normally in Visual studio i go to Build | publish and fill in the data.
However i want to do this using c# , so that the process can be completely automated.
I tried it using the Microsoft.Build.Engine. But i did not succeed.
Thanx in advance.
|
|
|
|
|
If you don't like the built in deployment model why not use xcopy deployment?
me, me, me
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
nils illegitimus carborundum
|
|
|
|
|
Hi there,
Thank you for your reply.
I'is not that i do not like the build in method.
But i want to automate the publishing project using C#.
A example.
I have a web application.
I want to create a tool where i can publish the application to a specified directory on my computer and the do some stuff.
The only thing missing is a way to automate the publisch action without having to do it myself.
I want to call the buildengine from code.
Greets
|
|
|
|
|
Having inherited someone else's code to maintain (we've all been there), I am having a problem with the (3rd party, non-MS) installer creator. Specifically, it includes two files that I cannot find, which are:
Microsoft.VC90.CRT.cat
Microsoft.VC90.CRT.manifest
From what I can tell, they are Microsoft VC++ redistributables, which should be installing to the folder "C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT(...)".
For some reason, I cannot find these files (.cat and .manifest) anywhere; Google and MSDN searches have not turned them up. If anyone can clue me in to where I can obtain them, it would be most helpful.
Thanks in advance.
|
|
|
|
|
Look in the "Redist" folder inside your Visual Studio installation in "Program Files".
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT
|
|
|
|
|
I did find that folder, and it contained the .manifest file, but not the .cat file. I don't know why it would be missing, perhaps something is wrong with my VS install?
Thank you for your help.
|
|
|
|
|
Like you, I found the .manifest file on my machine at work. But here I'm using VS2008 Express. At home I have the standard edition, so I'll check tonight for it.
Aren't .cat files usually used for installation, though? If you have the Visual Studio installation disc handy, I'd search there first.
-Nope, not on the home machine either. Sorry about that.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
modified on Saturday, June 19, 2010 11:11 AM
|
|
|
|
|
I am creating a windows service using c#.net 3.5
i created installer file to install it.
it was installed successfully. when i tried to start the service from the service explorer it showing the below error instead of starting the service
"some services stop automatically if they are not in use by other programs or services".
Please help me out.
Thanks
Anil Veeraghattapu.
|
|
|
|
|
Message Closed
modified 23-Nov-14 6:20am.
|
|
|
|
|
alright.
lemme try and get back to you.
|
|
|
|
|
yes i put all the code of the Onstart event in try catch block. its no use.
i am getting the same error message when i tried to start the service from the service explorer
thanks
Anil Veeraghattapu.
|
|
|
|