Click here to Skip to main content
15,897,518 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reflection and Generics (List) Pin
Giorgi Dalakishvili15-Sep-07 5:03
mentorGiorgi Dalakishvili15-Sep-07 5:03 
Questionhelp to covert this to generic code... [modified] Pin
arbrsoft15-Sep-07 1:55
arbrsoft15-Sep-07 1:55 
AnswerRe: help to covert this to generic code... Pin
Colin Angus Mackay15-Sep-07 2:05
Colin Angus Mackay15-Sep-07 2:05 
QuestionQuestion on streaming media file? Pin
Khoramdin15-Sep-07 1:45
Khoramdin15-Sep-07 1:45 
Questionole type field in database table pic to show in the c# Pin
Sonia Gupta15-Sep-07 0:58
Sonia Gupta15-Sep-07 0:58 
AnswerRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 1:40
sulabh202015-Sep-07 1:40 
GeneralRe: ole type field in database table pic to show in the c# Pin
Sonia Gupta15-Sep-07 1:44
Sonia Gupta15-Sep-07 1:44 
GeneralRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 1:48
sulabh202015-Sep-07 1:48 
GeneralRe: ole type field in database table pic to show in the c# Pin
Sonia Gupta15-Sep-07 2:06
Sonia Gupta15-Sep-07 2:06 
GeneralRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 2:12
sulabh202015-Sep-07 2:12 
GeneralRe: ole type field in database table pic to show in the c# Pin
Sonia Gupta15-Sep-07 2:18
Sonia Gupta15-Sep-07 2:18 
GeneralRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 2:23
sulabh202015-Sep-07 2:23 
GeneralRe: ole type field in database table pic to show in the c# Pin
Sonia Gupta15-Sep-07 2:26
Sonia Gupta15-Sep-07 2:26 
GeneralRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 2:37
sulabh202015-Sep-07 2:37 
GeneralRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 2:39
sulabh202015-Sep-07 2:39 
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 

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.