Saturday, February 21, 2026

Creat Register Form React Native to Google Spreadsheet

Create a React Native registration form that sends data to a Google Sheet by creating a Google Form, connecting it to a spreadsheet, generating a POST API URL via Apps Script, and using fetch to submit input data. This approach avoids needing a custom backend server.

Here's how to create a React Native registration form that sends data to a spreadsheet:
Set Up Google Sheet & API
  1. Create a Sheet: Create a new Google Sheet. Add headers, such as Name, Email, and Password.
  2. Create Script: Open Extensions > Apps Script.
  3. Add Code: Use the following code to handle POST requests and add rows:
    javascript
    function doPost(e) {
      const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
      const data = JSON.parse(e.postData.contents);
      sheet.appendRow([data.name, data.email, data.password, new Date()]);
      return ContentService.createTextOutput(JSON.stringify({ 'result': 'success' })).setMimeType(ContentService.MimeType.JSON);
    }
    
  4. Deploy: Click Deploy > New deployment, select Web app, set execute as Me, and Who has access to Anyone. Copy the Web app URL.

Thursday, July 17, 2025

VB 6.0 Row set is not bookmarkable

 solution :

set the CursorLocation Property of Recordset Object. 

    RS.CursorLocation=adUseClient

Hey  just copy this code line before openign ur recordset.

sample :

 Set RS = New ADODB.Recordset

 RS.CursorLocation = adUseClient

RS.Open "SELECT* FROM pelanggan WHERE nama like'%" & tpembeli.Text & "%'", CN, adOpenKeyset, adLockOptimistic

Set DataGrid1.DataSource = RS

Saturday, March 8, 2025

Cloning Laravel dari Github

 

Installation Guide

Prerequisites

  • PHP >= 8.2
  • Composer
  • Node.js
  • npm

Installation Steps

  1. Clone the repository:

    git clone "isi urlnya"
  2. Navigate into the project directory:

    cd "nama foldernya"
  3. Install PHP dependencies:

    composer install
  4. Install JavaScript dependencies:

    npm install && npm run dev
  5. Copy the .env.example file and rename it to .env:

    copy .env.example .env
  6. Generate application key:

    php artisan key:generate
  7. Run database migrations:

    php artisan migrate
  8. Start the development server:

    php artisan serve
  9. Storage link
    
    php artisan storage:link
    
    
  10. Create User
    
    php artisan make:filament-user
    

Sunday, October 29, 2023

Instalasi Vue Tempalate Hasil Download

Untuk memulai lakukan langkah-langkah berikut:

  1. Unduh projek/template 
  2. Pastikan node.js sudah terinstal
  3. Type in Command Prompt (CMD) npm install in the source folder where package.json is located
  4. Type in Command Prompt (CMD) go to project directory and runnpm run dev to start the development server

npm tasks:

  • npm run dev - starts a development server

Saturday, October 28, 2023

React-JS Web Tutorial

Creating a Vue Application

1. Download dan install Node.js

2. Jalankan CMD

Microsoft Windows [Version 10.0.17134.1304]

(c) 2018 Microsoft Corporation. All rights reserved.


C:\Users\fuad hasan>e:

E:\>mkdir vue-web

E:\>cd vue-web

E:\vue-web>npm create vue@latest


Need to install the following packages:

create-vue@3.8.0

Ok to proceed? (y) y

Friday, October 27, 2023

Laravel CORS Middleware Setting

 What is CORS?

CORS stands for Cross-origin resource sharing. The concept is related to the same origin policy which all browsers implement. In a nutshell, this policy says that a web site may not perform web requests to a different web site, or to be precise, “origin” (scheme, hostname, port number). CORS is a mechanism that can relax such restrictions. While the browser enforces restriction, CORS must be implemented on the server side to let the browser know that it may relax the restrictions.