Friday, September 13, 2019

Login Timer in Visual Basic 6

Here is a simple login time in Visual Basic 6 written by my close friend, business partner, and fellow software engineer Sir Larry Emol. A login timer that can be used to protect your application from intruders.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com





Sample Program Output


Program Listing


Private Sub Command1_Click()
On Error Resume Next

 Set rstUserAcct = New ADODB.Recordset
    If rstUserAcct.State = 1 Then rstUserAcct.Close
    rstUserAcct.Open "Select * from tblInfo where Username = '" & Text1.Text & "'", MyConn, adOpenDynamic, adLockBatchOptimistic
    
    
    If Me.Text1.Text = "" Then
    MsgBox "Enter Username", vbInformation, "Username"
    Me.Text1.SetFocus
    Exit Sub
    End If
    
    If Me.Text2.Text = "" Then
    MsgBox "Enter Password", vbInformation, "Password"
    Me.Text2.SetFocus
    Exit Sub
    End If
    
    If rstUserAcct.RecordCount = 0 Then
    MsgBox "Username not found", vbInformation, "Password"
    Exit Sub
    End If
           
            
If rstUserAcct.Fields("Password") = Text2.Text Then
            
                Unload Me
                Mainform.Show
                
Else
MsgBox "Invalid Password!", vbExclamation, "Sample App"
End If
End Sub

Private Sub Timer1_Timer()
 Label1.Caption = Label1.Caption - 1
    If Label1.Caption = 0 Then
        MsgBox "Login timeout!", vbInformation, "Login"
        End
    End If
End Sub




US Dollar To Philippine Peso Currency Using Structures Using Golang


Write a program that will ask the user to give currency values in US Dollars and Philippine Peso. The program will convert the US Dollars into its Philippine Peso equivalent using structures using Golang.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com.


Sample Program Output



Program Listing

/* dollar_peso.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     :August 7, 2019  Wednesday  5:45 AM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   Emails   : jakerpomperada@gmail.com and jake_pomperada@tup.edu.ph
 */

package main

import "fmt"

type money_val struct {
peso float64
us_dollar float64
}

func main() {

var num money_val

fmt.Print("\n")
fmt.Print("\tUS Dollar To Philippine Peso Currency Using Structures")
fmt.Print("\n\n")
fmt.Print("\tEnter value is US Dollar : ")
fmt.Scanf("%f",&num.us_dollar)
fmt.Print("\tEnter the rate of Philippines Peso Today : ")
fmt.Scanf("%f",&num.peso)
convert := (num.us_dollar * num.peso)
fmt.Print("\n")
fmt.Printf("\t$%0.2f US Dollar To Phil. Peso is PHP %0.2f",num.us_dollar,convert)
fmt.Print("\n\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}





Reading a Text File in C++

Here is a sample program that I wrote before in learning how to store text file in C++.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com



Program Listing

text.cpp

#include <fstream>
#include <iostream>
#include <string>

using namespace std;

int main()
{
  string str1,str2,str3;
  char c1;
  ifstream in_file;
  
  cout << "Reading a Text File in C++";
  
  in_file.open( "demo.txt" );   
  
  in_file>> str1;                 
  in_file>> str2;                     
  in_file>> c1;                     
  in_file>> str3;
  cout<<"str1 = "<< str1 <<"\n";
  cout<<"str2 = "<< str2 <<"\n";
  cout<<"str3 = "<< str3 <<"\n";
  cout<<"c1 = "<< c1 <<"\n";
  
  in_file.close();                 
  system("pause");
  return 0;
}



Remove Vowels in a String in C


Write a program that will ask the user to give a string or a sentence and then program will remove vowels from the string or a sentence and display the result on the screen using C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com\



Sample Program Output


Program Listing

remove_vowels.c

#include<stdio.h>
#include<string.h>

int main() {
    char arr1[100], temp[100], c;
    char *ptr;
    int count=0, j = 0;
    printf("\n\n");
    printf("\tRemove Vowels in a String");
    printf("\n\n");
    printf("\tEnter A String : ");
    gets(arr1);
    ptr = arr1;
    for(count = 0;count < strlen(ptr);count++) {
        c = ptr[count];
        if(c != 'a' && c != 'e' && c != 'i' && c != 'o' && c != 'u' && c != 'A' && c != 'E' && c != 'I' && c != 'O' && c != 'U') {
            temp[j] = c;
            j++;
        }
    }
    printf("\n\n");
    printf("\tOriginal String:");
    printf("\n\n");
    printf("\t%s",arr1);
    printf("\n\n");
    printf("\tAfter Eliminating Vowels From String:");
    printf("\n\n\n");
    printf("\t");
    for(count = 0;count < j;count++) {
         printf("%c",temp[count]);
    }
printf("\n\n");
    printf("\tEnd of Program");
    printf("\n\n");
}



Thursday, September 12, 2019

Hello World in JavaScript

In this article, I would like to share with you a sample program in JavaScript to display a Hello World and my name using Alert Dialog box.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com



Sample Program Output


Program Listing

<html>
  <title> 
    Hello World in JavaScript
  </title>
 <body>
  <script>
  alert("Hello World in JavaScript\nBy Mr. Jake Rodriguez Pomperada,MAED-IT");
  </script>
 </body>
 </html>


Friday, September 6, 2019

Leap Year Checker Using Structures Using Golang


Write a program that will ask the user to give a year and then the program will determine if the given year is a leap year or not a leap year using structures using Golang.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com



Sample Program Output


Program Listing

/* leap_year.a.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     : August 1, 2019  Thursday  9:00 PM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   Emails   : jakerpomperada@gmail.com and jake_pomperada@tup.edu.ph
 */


package main

import "fmt"

type check_leap_year struct {
a int
}


func main(){
var year check_leap_year

fmt.Print("\n")
fmt.Print("\tLeap Year Checker Using Structures")
fmt.Print("\n\n")
fmt.Print("\tGive a Year : ")
fmt.Scanln(&year.a)
if(((year.a % 4 == 0) && (year.a % 100 !=0)) || (year.a % 400==0)) {
fmt.Print("\n")
fmt.Print("\tThe given year ")
fmt.Printf("%d",year.a)
fmt.Print(" is a LEAP year.")
} else {
fmt.Print("\n")
fmt.Print("\tThe given year ")
fmt.Printf("%d",year.a)
fmt.Print(" is NOT a LEAP year.")
}
fmt.Print("\n\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}




Legal Age Checker Using Structures Using Golang

Write a program that will ask the user to give its age and then the program will check and determine if the given age of the user is already an adult or still a minor using structures using Golang.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com


Sample Program Output


Program Listing

/* legal_age__structures.go
   Author   : Mr. Jake Rodriguez Pomperada,MAED-IT
   Date     : August 6, 2019    Tuesday  4:23 PM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   Emails   : jakerpomperada@gmail.com and jake_pomperada@tup.edu.ph
 */

package main

import "fmt"

type check_age struct {
age int
}

func main() {
var legal check_age
fmt.Print("\n")
fmt.Print("\tLegal Age Checker Using Structures")
fmt.Print("\n\n")
fmt.Print("\tWhat is your Age? ")
fmt.Scanln(&legal.age)
if legal.age >= 18 {
fmt.Print("\n")
fmt.Print("\tAt the age of ")
fmt.Printf("%d ",legal.age)
fmt.Print(" years old. You are already an Adult.")
} else {
fmt.Print("\n")
fmt.Print("\tAt the age of ")
fmt.Printf("%d ",legal.age)
fmt.Print(" years old. You are still a Minor.")
}
fmt.Print("\n\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")

}





Positive and Number Number Checker Using Structures Using Golang


Write a program that will ask the user to give a number and then the program will check if the given number is a positive or negative number and then display the results on the screen using structures using Golang.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com



Sample Program Output


Program Listing

/* positive_negative.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     : August 6, 2019  Tuesday  4:29 PM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   Emails   : jakerpomperada@gmail.com and jake_pomperada@tup.edu.ph
 */


package main

import "fmt"

type check_it struct {
a int32
}


func main(){

var num_value check_it

fmt.Print("\n")
fmt.Print("\tPositive and Number Number Checker Using Structures")
fmt.Print("\n\n")
fmt.Print("\tKindly give a number? ")
fmt.Scanln(&num_value.a)
if num_value.a <0 {
fmt.Print("\n")
fmt.Print("\tThe given number ")
fmt.Printf("%d",num_value.a)
fmt.Print(" is a Negative Number.")
} else {
fmt.Print("\n")
fmt.Print("\tThe given number ")
fmt.Printf("%d",num_value.a)
fmt.Print(" is a Positive Number.")
}
fmt.Print("\n\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}




Odd and Even Number Checker Using Structures Using Golang


Write a program that will ask the user to give a number and then the program will check if the given number is an even or odd number and then display the results on the screen using structures using Golang programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com\


Sample Program Output


Program Listing


/* odd_even.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     : August 6, 2019  Thursday  4:37 PM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   Emails   : jakerpomperada@gmail.com and jake_pomperada@tup.edu.ph
 */

package main

import "fmt"

type check_even_odd struct {
a int32
}


func main(){
var num_value check_even_odd
fmt.Print("\n")
fmt.Print("\tOdd and Even Number Checker Using Structures")
fmt.Print("\n\n")
fmt.Print("\tKindly give a number? ")
fmt.Scanln(&num_value.a)
if num_value.a % 2 ==0 {
fmt.Print("\n")
fmt.Print("\tThe given number ")
fmt.Printf("%d",num_value.a)
fmt.Print(" is an Even Number.")
} else {
fmt.Print("\n")
fmt.Print("\tThe given number ")
fmt.Printf("%d",num_value.a)
fmt.Print(" is an Odd Number.")
}
fmt.Print("\n\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}