thank you very much. yupe the setting was in the console app.
muteb
Posts
-
Console is showing up with GUI -
Console is showing up with GUII actually I'm working with group and I'm just collecting their application and implement it as one application.
-
Console is showing up with GUIHi 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?
-
Problem to use letters ( c: , d:) with the physical drive:Hi I'm trying to use the name of a logical drive (c: and d:). I can't use them to get access to the physical drive in order to get the type, the model, the interface, the capacity, sectors and cylinders. My code : private void Form1_Load(object sender, EventArgs e) { ManagementObjectSearcher mosDisks = new ManagementObjectSearcher("SELECT * FROM Win32_LogicalDisk"); foreach (ManagementObject moDisk in mosDisks.Get()) { comboBox2.Items.Add(moDisk["DeviceID"].ToString()); } } private void button4_Click_1(object sender, EventArgs e) { listView2.Items.Clear() ManagementObjectSearcher mosDisks = new ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive WHERE DeviceID = '" + comboBox2.SelectedItem + "'"); foreach (ManagementObject moDisk in mosDisks.Get()) { ListViewItem item = listView2.Items.Add("Type: " + moDisk["MediaType"].ToString()); ListViewItem item2 = listView2.Items.Add("Model: " + moDisk["Model"].ToString()); ListViewItem item3 = listView2.Items.Add("Interface: " + moDisk["InterfaceType"].ToString()); ListViewItem item4 = listView2.Items.Add("Capacity: " + moDisk["Size"].ToString() + " bytes (" + Math.Round(((((double)Convert.ToDouble(moDisk["Size"]) / 1024) / 1024) / 1024), 2) + " GB)"); ListViewItem item5 = listView2.Items.Add("Partitions: " + moDisk["Partitions"].ToString()); ListViewItem item6 = listView2.Items.Add("Signature: " + moDisk["Signature"].ToString()); ListViewItem item7 = listView2.Items.Add("Cylinders: " + moDisk["TotalCylinders"].ToString()); ListViewItem item8 = listView2.Items.Add("Sectors: " + moDisk["TotalSectors"].ToString()); ListViewItem item9 = listView2.Items.Add("Heads: " + moDisk["TotalHeads"].ToString()); ListViewItem item10 = listView2.Items.Add("Tracks: " + moDisk["TotalTracks"].ToString()); ListViewItem item11 = listView2.Items.Add("Bytes per Sector: " + moDisk["BytesPerSector"].ToString()); ListViewItem item12 = listView2.Items.Add("Sectors per Track: " + moDisk["SectorsPerTrack"].ToString()); ListViewItem item13 = listView2.Items.Add("Tracks per Cylinder: " + moDisk["TracksPerCylinder"].ToString()); ListViewItem item14 = listView2.Items.Add("Description: " + moDisk["Desc
-
partition clone with c#I'm asking how to do it not should I do it. can anyone please provide me with any clue
-
partition clone with c#Is there any way that i can make clone of hard drive c to mu external one by using c# code? can anyone help me with guideline or opensource software which has the desirable method.
-
Recover deleted files!!!I'm talking about files that have been deleted from the entire system and they don't exist in the Recycle bin any more.
-
Recover deleted files!!!Hey guys :) I'm looking for open source code project in c# that will help me to understand how to recover deleted files in windows xp. I would be appreciative if anyone posts any hint related to my problem. Many thanks