Memasukkan Gambar ke dalam Form (Insert an image into a form)

Submitted by: 
Visitors have accessed this post 17214 times.

berikut ini adalah sebuah code yang berguna untuk mengambil atau memasukkan sebuah gambar atau image ke dalam form melalui Command button. Sebenarnya ini merupakan kode dasar saja. Dibuat khusus untuk dipelajari oleh pemula :)

the following is a useful code to retrieve or insert a picture or image into a form via the Command button. Actually this is the Basic code only. Created specifically for the studied for beginner :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


thanks bgt ilmunya

Selalu siap dalam menjadi model

Bagaimana agar gambar yang besar tidak terpotong. Kalau pake component Image1 memang ada fasilitasi stretch gambar, bagaimana kalau di form

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe>
  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.