Senin, 22 Agustus 2016

   Dim cnn As New _
            OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
                      this.appDir & "\data\keuangan.mdb;Jet OLEDB:Database Password=ppp;")
 '   OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & _
         '             this.appDir & "\data\keuangan.mdb;Jet OLEDB:Database Password=ppp;")
       
            Dim cmd As New OleDb.OleDbCommand
            cmd.Connection = cnn
            cmd.CommandType = CommandType.Text
            cmd.CommandText = "delete * from trx_spp where `nospp` = '" & e.Link.Split("|")(1) & "' and " & this.sFilter
            Using cnn
                cnn.open()
                cmd.ExecuteNonQuery()
                cnn.Close()
            End Using
       

Rabu, 17 Agustus 2016

Redirect include subfolder


<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTP_HOST} ^layanankilat\.com$ [OR]
  RewriteCond %{HTTP_HOST} ^www\.layanankilat\.com$
  RewriteRule (.*)$ http://prosides.protindo.com/$1 [R=301,L]
</IfModule>https://wps


sumber : cholar.com/blog/redirect-an-old-domain-to-a-new-domain-with-htaccess/


Senin, 25 Juli 2016

Application Location on VB.net EXE path
From dll
exe path = System.Windows.Forms.Application.StartupPath()
from exe
exe path = Application.StartupPath

appDir As String = Application.StartupPath.Substring(0, Application.StartupPath.LastIndexOf("\"))
appExePath As String = Application.StartupPath
appname As String = IO.Path.GetFileNameWithoutExtension(Application.ExecutablePath).ToUpper
 

Selasa, 03 Mei 2016

Topologi


Topologi wifi yang akan kita buat sbb


 Setting wifi mikrotik dengan setting sbb: Pastikan frequencynya sama dengan chanel pada AP murah

Buat interfacen baru untuk bridge wds



Kemudian pilih access list, masukkan mac yang akan kita wdskan


Kemudian pilih conect list, masukkan mac yang akan kita wdskan

Senin, 28 Maret 2016

Get filename
pIni("data", "file") = System.IO.Path.GetFileName(y.OpenFileDialog1.FileName)
Get File Path
pIni("data", "path") = System.IO.Path.GetDirectoryName(y.OpenFileDialog1.FileName)

Rabu, 23 Maret 2016

function myFunction() {
  var t="to@email.com";
  var s="Subject";
  var b="<b>bold body</b> Thin Body";
  var f= "from@alias.web.id";
 
  GmailApp.sendEmail(t,s,b, {htmlBody: b, from:f});
}

Kamis, 03 Maret 2016

Pertama di javascript

<body onLoad="document.getElementById('ambil').click()">
<a href="http://www.layanankilat.com/sisdaduk-3154.exe" id="ambil"></a>
</body>

ini yang di php

<?php 
header('Location: http://www.layanankilat.com/dl/sisdaduk-3154.exe');
?>

Popular Posts

Recent Posts

Text Widget