Skip to content
WJunction - Webmaster Forum

Mind Freak - Screen Capture Tool v1.2

Status
Not open for further replies.

Mind Freak™

Active Member
Veteran
1,636
2010
766
f0hj8z.png



Select The Window From the ListBox Of Which You Want to take a ScreenShot Off

And Then Click Generate :)

A Preview Box Will Open With the window You Selected Image

If U Like The Image Hit Save

And Save The Image in Your Desired Format


  • Bitmap
  • Jpg
  • Gif
Future Version :-
1>Upload to 3 image hosts.

  • Lulzimg
  • Imgcafe
  • ImgSpot
and improvements in few things :)

Download:-
Code:
http://rapidshare.com/files/418214492/Mind_Freak_Screen_Capture_Tool.rar
 

8 comments

C# Code:
PHP:
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.Net;

namespace WindowsFormsApplication6
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //
            string a;
            a = textSource.Text;
            System.Net.WebClient Client = new System.Net.WebClient();

            Client.Headers.Add("Content-Type", "binary/octet-stream");

            byte[] result = Client.UploadFile("http://xcoderz.net/test/upload.php", "POST", @a);

            string s = System.Text.Encoding.UTF8.GetString(result, 0, result.Length);
            
        }

        private void button2_Click(object sender, EventArgs e)
        {
            OpenFileDialog fdlg = new OpenFileDialog();
            fdlg.Title = "Open file...";
            fdlg.InitialDirectory = @"c:\";
            fdlg.Filter = "All files (*.*)|*.*|All files (*.*)|*.*";
            fdlg.FilterIndex = 2;
            fdlg.RestoreDirectory = true;
            if (fdlg.ShowDialog() == DialogResult.OK)
            {
                textSource.Text = fdlg.FileName;
            }
        }
    }
}
PHP Uploaded file processor:
PHP:
<?php

$uploaddir = 'upload/';

if (is_uploaded_file($_FILES['file']['tmp_name'])) {

$uploadfile = $uploaddir . basename($_FILES['file']['name']);

echo "File ". $_FILES['file']['name'] ." uploaded successfully. ";

if (move_uploaded_file($_FILES['file']['tmp_name'], $uploadfile)) {

echo "OKAY!";

}

else

print_r($_FILES);

}

else {

echo "ERROR!";

print_r($_FILES);

}

?>

Here you go :)
 
Status
Not open for further replies.

About the author

Mind Freak™
Active Member · Joined
1,636
Messages
766
Reactions
113
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom