Posts

Showing posts from March, 2019

Advanced Image Viewer in VB.Net

Image
Advanced Image Viewer with source code:                                (Screen Shot) ***************************************** 'Code from here Public Class Form1     Dim filepath As String     Dim filename As String     Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click         stopSlideShow = True         Application.Exit()     End Sub     Private Sub btnOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click         Dim path As String         OpenFileDialog1.Filter = "Image Files (*.jpg, *.jpeg, *.png, *bmp, *.gif|*.jpg; *.jpeg; *.png; *bmp; *.gif"         If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then             For Each path In OpenFileDialog1.FileNames                 If My.Computer.FileSystem.GetFileInfo(path).Extension.ToLower = ".jpg" Or _                    My.Computer.FileSystem.GetFileInfo(path).Extension.ToLower =

Complete StopWatch in Java with source code

Image
Complete StopWatch in Java with source code :     (Screen Shot) **************************************** Code Start from Here: package stopwatch; /**  *  * @author Md. Khafi Hossain  */ public class Main extends javax.swing.JFrame {    static int milliseconds = 0; static int seconds = 0; static int minutes = 0; static int hours = 0; static boolean state = true;     /**      * Creates new form Main      */     public Main() {         initComponents();     }     /**      * This method is called from within the constructor to initialize the form.      * WARNING: Do NOT modify this code. The content of this method is always      * regenerated by the Form Editor.      */     @SuppressWarnings("unchecked")     // <editor-fold defaultstate="collapsed" desc="Generated Code">                            private void initComponents() {         jLabel1 = new javax.swing.JLabel();         jButton1 = n