Click here to Skip to main content
15,889,876 members
Home / Discussions / C#
   

C#

 
GeneralRe: need help Pin
Colin Angus Mackay13-Jan-07 0:06
Colin Angus Mackay13-Jan-07 0:06 
Questionneed a immediate help... Pin
faradgi12-Jan-07 15:24
faradgi12-Jan-07 15:24 
AnswerRe: need a immediate help... Pin
Christian Graus12-Jan-07 15:28
protectorChristian Graus12-Jan-07 15:28 
AnswerRe: need a immediate help... Pin
Paul Conrad12-Jan-07 18:13
professionalPaul Conrad12-Jan-07 18:13 
QuestionSplash screen, best way to do it? Pin
TrooperIronMan12-Jan-07 15:11
TrooperIronMan12-Jan-07 15:11 
AnswerRe: Splash screen, best way to do it? Pin
Christian Graus12-Jan-07 15:29
protectorChristian Graus12-Jan-07 15:29 
GeneralRe: Splash screen, best way to do it? Pin
TrooperIronMan12-Jan-07 16:10
TrooperIronMan12-Jan-07 16:10 
AnswerRe: Splash screen, best way to do it? Pin
Luc Pattyn12-Jan-07 16:50
sitebuilderLuc Pattyn12-Jan-07 16:50 
Hi TrooperIronMan,

I once did it with a Splash class, basically a simple dialog window, showing some fixed text
(program name, version number) and a listbox reporting initialization progress. Two public
methods: ReportProgress(string) and Close().

The program's static main() method basically consisted of:

using (Splash splash=new Splash(...) ) {
splash.Show();
// check environment, license, whatever
splash.ReportProgress("Checking ...");
// check for singleton
splash.ReportProgress("Checking for another instance");
Form1 form=new Form1(splash);
splash.Close();
Application.Run(form);
}

Main reason for using the splash was when not first instance, main would send command line
to first instance, using remoting; firewall (ZoneAlarm) sometimes needs 30 seconds to provide
the dialog "Application has changed; allow access ?", so the user was left in the dark.

I even added a /noserver switch to skip the remoting stuff while debugging (ZoneAlarm
notices the EXE keeps changing, so asks over and over).

Cheers



Luc Pattyn

Questionc# Remoting Security Pin
kotuadam12-Jan-07 15:06
kotuadam12-Jan-07 15:06 
Questionhi Friends...need help Pin
faradgi12-Jan-07 14:58
faradgi12-Jan-07 14:58 
AnswerRe: hi Friends...need help Pin
Colin Angus Mackay12-Jan-07 15:15
Colin Angus Mackay12-Jan-07 15:15 
GeneralRe: hi Friends...need help Pin
Christian Graus12-Jan-07 15:30
protectorChristian Graus12-Jan-07 15:30 
GeneralRe: hi Friends...need help Pin
JoeRip12-Jan-07 17:56
JoeRip12-Jan-07 17:56 
GeneralRe: hi Friends...need help Pin
Paul Conrad12-Jan-07 18:15
professionalPaul Conrad12-Jan-07 18:15 
GeneralRe: hi Friends...need help Pin
Paul Conrad12-Jan-07 18:14
professionalPaul Conrad12-Jan-07 18:14 
QuestionCreateObject Equivelent Pin
Sautin.net12-Jan-07 12:32
Sautin.net12-Jan-07 12:32 
AnswerRe: CreateObject Equivelent Pin
Christian Graus12-Jan-07 13:07
protectorChristian Graus12-Jan-07 13:07 
QuestionConvert DataSet to XML ? Pin
Christian Graus12-Jan-07 11:46
protectorChristian Graus12-Jan-07 11:46 
AnswerRe: Convert DataSet to XML ? Pin
Rob Graham12-Jan-07 14:01
Rob Graham12-Jan-07 14:01 
GeneralRe: Convert DataSet to XML ? Pin
Christian Graus12-Jan-07 14:18
protectorChristian Graus12-Jan-07 14:18 
AnswerRe: Convert DataSet to XML ? Pin
Not Active12-Jan-07 14:12
mentorNot Active12-Jan-07 14:12 
GeneralRe: Convert DataSet to XML ? Pin
Christian Graus12-Jan-07 14:17
protectorChristian Graus12-Jan-07 14:17 
QuestionDeveloping application....need some help...pls Pin
Software_Specialist12-Jan-07 9:07
Software_Specialist12-Jan-07 9:07 
AnswerRe: Developing application....need some help...pls Pin
Christian Graus12-Jan-07 9:35
protectorChristian Graus12-Jan-07 9:35 
GeneralRe: Developing application....need some help...pls Pin
Larantz12-Jan-07 10:44
Larantz12-Jan-07 10:44 

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.