Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
QuestionControls in c# Pin
sulabh202014-Sep-07 23:54
sulabh202014-Sep-07 23:54 
AnswerRe: Controls in c# [modified] Pin
Colin Angus Mackay15-Sep-07 0:00
Colin Angus Mackay15-Sep-07 0:00 
AnswerRe: Controls in c# Pin
Guffa15-Sep-07 0:28
Guffa15-Sep-07 0:28 
QuestionWorking When Window From Is Already Shown [modified] Pin
ytubis14-Sep-07 23:42
ytubis14-Sep-07 23:42 
AnswerRe: Working When Window From Is Already Shown Pin
Giorgi Dalakishvili15-Sep-07 0:04
mentorGiorgi Dalakishvili15-Sep-07 0:04 
GeneralRe: Working When Window From Is Already Shown Pin
ytubis15-Sep-07 0:39
ytubis15-Sep-07 0:39 
GeneralRe: Working When Window From Is Already Shown Pin
Giorgi Dalakishvili15-Sep-07 0:41
mentorGiorgi Dalakishvili15-Sep-07 0:41 
GeneralRe: Working When Window From Is Already Shown Pin
ytubis15-Sep-07 2:51
ytubis15-Sep-07 2:51 
This is the main function:
public void Form1_Main()
{
if (copyBool)
{
//Find if Application is running
copyBool = false;
// int window = FindWindow("Virtual DJ", true);
// if(window == 0)
// this.Close();
int window = 1;
if (window != 0)
{
string FolderPath = null;
TreeNode tr = null;
Diractory_Path dp = new Diractory_Path();
dp.GetFolderMusicPath();
FolderPath = dp.GetPathString();
if (FolderPath == "")
{
MessageBox.Show("The Path is empty, the program ended!!!");
this.Close();
}
label1.Text = "The Files are being transfared!!!";
///This is The copy files function!!!
CopyFolderData(FolderPath, ref tr);
///This is the Uodate XML section.
label1.Text = "The XML are being Updated!!!";
XML_Handle xml_h = new XML_Handle();
xml_h.XMLHandleMain();
if (xml_h.GetXMLFile() == " ")
this.Close();
xml_h.HandleXMLData();
///This is the Playlists creation.
label1.Text = "The PlayLists are being created!!!";
PlayList playList = new PlayList();
playList.PlayListHandleMain(tr);
label1.Text = "Test Was Finished!!!";
System.Threading.Thread.Sleep(2000);
this.Close();
}
}
}
This is the call:

static void Main()
{
Application.Run(new Form1());
this.Form1_Main();
///The installation project starts here!!!

}
QuestionC# log component Pin
George_George14-Sep-07 23:05
George_George14-Sep-07 23:05 
AnswerRe: C# log component Pin
Colin Angus Mackay14-Sep-07 23:57
Colin Angus Mackay14-Sep-07 23:57 
GeneralRe: C# log component Pin
Mark Churchill15-Sep-07 0:48
Mark Churchill15-Sep-07 0:48 
GeneralRe: C# log component Pin
George_George15-Sep-07 5:18
George_George15-Sep-07 5:18 
GeneralRe: C# log component Pin
Mark Churchill16-Sep-07 4:49
Mark Churchill16-Sep-07 4:49 
GeneralRe: C# log component Pin
George_George16-Sep-07 17:06
George_George16-Sep-07 17:06 
GeneralRe: C# log component Pin
Mark Churchill17-Sep-07 4:26
Mark Churchill17-Sep-07 4:26 
GeneralRe: C# log component Pin
George_George17-Sep-07 4:53
George_George17-Sep-07 4:53 
GeneralRe: C# log component Pin
George_George15-Sep-07 5:17
George_George15-Sep-07 5:17 
AnswerRe: C# log component Pin
Ravi Bhavnani16-Sep-07 4:09
professionalRavi Bhavnani16-Sep-07 4:09 
GeneralRe: C# log component Pin
George_George16-Sep-07 4:16
George_George16-Sep-07 4:16 
QuestionConnectionState Enum Pin
blackjack215014-Sep-07 22:24
blackjack215014-Sep-07 22:24 
Questionhow can i do this ? Pin
prasadbuddhika14-Sep-07 21:32
prasadbuddhika14-Sep-07 21:32 
AnswerRe: how can i do this ? Pin
blackjack215014-Sep-07 22:17
blackjack215014-Sep-07 22:17 
AnswerRe: how can i do this ? Pin
Giorgi Dalakishvili14-Sep-07 23:28
mentorGiorgi Dalakishvili14-Sep-07 23:28 
QuestionLive Video Transmission Pin
DeepOceans14-Sep-07 19:59
DeepOceans14-Sep-07 19:59 
Questionhow to show the pic while retieving the path fom the database Pin
Sonia Gupta14-Sep-07 19:35
Sonia Gupta14-Sep-07 19:35 

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.