Programming, Music, Games. Creation.

Bermuda MultiQuick Tools v1

***DOWNLOAD LINK BELOW***

yupp… i dunno y i named it ‘tool’ but

its actually extracting information in a *.txt file in a chosen directory

(right now, netsat, ip and services in the computer can be extracted)

Netstat – netstat.txt

IP – ipconfig.txt

Services – services.txt

im sure its kinda straight forward.. so no explanation! ;D

Code for form1.cs

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Drawing;

namespace Bermuda_MultiQuickTools
{
    public partial class Form1 : Form
    {
        int yn = 0;
        public Form1()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            if(yn==0)
            {
                this.ClientSize = new Size(372, 320);
                yn++;
            }
            else
            {
                this.ClientSize = new Size(168, 320);
                yn–;
            }
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            this.ClientSize = new Size(168, 320);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            progressBar1.Value = 0;
            if (pause.Checked)
            {
                if (netstat.Checked)
                {
                    Process.Start(“cmd.exe”, “/c netstat > ” + textBox1.Text + “:/netstat.txt && pause”);
                    progressBar1.Value =+ 30;
                }

                if (ipconfig.Checked)
                {
                    Process.Start(“cmd.exe”, “/c ipconfig > ” + textBox1.Text + “:/ipconfig.txt && pause”);
                    progressBar1.Value =+ 30;
                }

                if (sc.Checked)
                {
                    Process.Start(“cmd.exe”, “/c sc query > ” + textBox1.Text + “:/services.txt && pause”);
                    progressBar1.Value =+ 30;
                }
            }

            if (pause.Checked==false)
            {
                if (netstat.Checked)
                {
                    Process.Start(“cmd.exe”, “/c netstat > ” + textBox1.Text + “:/netstat.txt”);
                    progressBar1.Value = +30;
                }

                if (ipconfig.Checked)
                {
                    Process.Start(“cmd.exe”, “/c ipconfig > ” + textBox1.Text + “:/ipconfig.txt”);
                    progressBar1.Value = +30;
                }

                if (sc.Checked)
                {
                    Process.Start(“cmd.exe”, “/c sc query > ” + textBox1.Text + “:/services.txt”);
                    progressBar1.Value = +30;
                }
            }

            progressBar1.Value = 100;

            if (closer.Checked)
            {
                this.Close();
            }
        }

        private void textBox1_Click(object sender, EventArgs e)
        {
            textBox1.Text = “”;
        }

    }
}

Download : Skydrive(open new tab)

File name : Bermuda_MultiQuick_Tools

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s