| OLE ソスノゑソスソスAccessソスfソス[ソス^ソスxソス[ソスXソスヨのアソスNソスZソスX |
|
- OLEソスソスソスWソスソスソス[ソスソスソスソスソスgソスpソスソスソスソスホ、ソスナゑソスソスネ単ソスソスAccessソスフデソス[ソス^ソスxソス[ソスX(*.mdb)ソス操作すソス驍アソスがソスナゑソスソスワゑソスソスB
ソスワゑソスソスAVBソスソスVC ソスソスMicrosoft Jet ソスソスソスgソスpソスソスソスソスソスoソスソスソスフ有ソスソスソスソスヘ、
ソスルとゑソスヌのプソスソスソスpソスeソスBソスAソスソスソス\ソスbソスhソスソスソスgソスpソスナゑソスソスワゑソスソスフで、ソスソス闕ゑソスxソスネ托ソスソスがソスネ単ソスノ行ソスソスソスワゑソスソスB
Accessソスフデソス[ソス^ソスxソス[ソスXソスノゑソスソスソスソスレ接托ソスソスソスソスワゑソスソスフで、ODBCソスフようソスノ前ソスソスソスソスソスソスソスKソスvソスネゑソスソスA
ソスソスソスソスソスソスソスソスソスソスナゑソスソスBWindowsソスTソス[ソスoソスフサソス[ソスoソス\ソスtソスgソスニ、VBソスAVC ソスノゑソスソスNソスソスソスCソスAソスソスソスgソス\ソスtソスgソスソスソスJソスソスソスソスソスソス鼾ソスヘゑソスソスEソス゚でゑソスソスB
|
| Perl OLEソスソスソスWソスソスソス[ソスソスソスフイソスソスソスXソスgソス[ソスソス |
|
- ソスノ端ソスノ古ゑソスActivePerlソスナなゑソスソスソスソスソスAOLEソスソスソスWソスソスソス[ソスソスソスヘ標ソスソスソスナイソスソスソスXソスgソス[ソスソスソスソスソスソストゑソスソスワゑソスソスフで、
ソスソスソス゚てイソスソスソスXソスgソス[ソスソスソスソスソスソスKソスvソスヘゑソスソスソスワゑソスソスソスB
#!/user/local/bin/perl
use Win32::OLE;
print "Content-type: text/plain\n\n";
exit;
|
|
ソスソスソス黷セソスソスソスフコソス[ソスhソスソスCGIソスソスソスソスソスsソスソスソストエソスソスソス[ソスソスソスoソスヘゑソスソスソスネゑソスソスソスOLEソスヘイソスソスソスXソスgソス[ソスソスソスマみと鯉ソスソスソスソスソスソスニになゑソスワゑソスソスフで、
ソスネ会ソスソスフソスソスWソスソスソス[ソスソスソスCソスソスソスXソスgソス[ソスソスソスヘ費ソスホゑソスソストゑソスソスソスソスソスソスソスソスB
- ソスGソスソスソス[ソスフ出ソスヘゑソスソス黷スソスソスソスソスOLEソスソスソスCソスソスソスXソスgソス[ソスソスソスソスソスワゑソスソスB
[ソスXソス^ソス[ソスg]ソスソスソスjソスソスソス[ソスフ「ソスtソス@ソスCソスソスソスソスソスソスソスwソス閧オソスト趣ソスソスsソスvソスナ、
ソスニタソスCソスvソスソスソスソスDOSソスVソスFソスソスソスソスソスNソスソスソスソスソスワゑソスソスB
C:\> ppm
PPM interractive shell (2.2.0) - type 'help' for available command
PPM> search OLE
PPM> install Win32::OLE
Install package 'Win32::OLE?' (y/N): y
|
ppm ソスニタソスCソスvソスソスソスト、PPM ソスRソス}ソスソスソスhソスソスソスNソスソスソスソスソスワゑソスソスB
search OLE ソスナ鯉ソスソスソスソスソスソスAWin32::OLE ソスソスソス\ソスソスソスソスソスソスソスホ、
install Win32:OLE ソスナイソスソスソスXソスgソス[ソスソスソスソスソストゑソスソスソスソスソスソスソスソスB
ソスソスソスソスナデソス[ソス^ソスxソス[ソスXソスヨのアソスNソスZソスXソスフ擾ソスソスソスソスヘ奇ソスソスソスソスナゑソスソスB
ソスソスソスニは趣ソスソスロにイソスソスソス^ソス[ソスtソスFソス[ソスXソスソスソス成ソスソスソストアソスNソスZソスXソスソスソス驍セソスソスソスナゑソスソスB
|
| Access(*.mdb)ソスノ接托ソスソスCソスソスソス^ソス[ソスtソスFソス[ソスXソスフ作成 |
|
- OLEソスノゑソスソスAccessソスfソス[ソス^ソスxソス[ソスXソスフ托ソスソスソスヘ最ゑソスソスネ単ソスナ、ソスナゑソスソスソスソスソスソスノ難ソスソスしソスワゑソスソスソスソスA
Accessソスニ趣ソスソスフプソスソスソスpソスeソスBソス[ソスAソスソスソス\ソスbソスhソスソスソスgソスpソスソスソスワゑソスソスフでコソス[ソスhソスフ互奇ソスソスソスソスヘ全ソスソスソスソスソスソスワゑソスソスソスB
#!/usr/local/bin/perl
# OLEソスソスソスWソスソスソス[ソスソスソスソスヌ搾ソスソスソス
use Win32::OLE;
print "Content-type: text/html\n\n";
print "<html>"
print "<body>"
# ソスvソスソスソスoソスCソス_ソスニ、ソスレ托ソスソスソスソスソスfソス[ソス^ソスxソス[ソスXソスソスソスソスン抵ソス
$conn = "Provider=Microsoft.Jet.OLEDB.4.0;";
$conn .= "Data Source=zip.mdb;";
# ソスfソス[ソス^ソスxソス[ソスXソスフオソスuソスWソスFソスNソスgソスソスソス成ソスソスソスト接托ソス
$db = Win32::OLE->new("ADODB.Connection");
$db->Open($conn);
# ソスソスソスソスソスフクソスGソスソスソス[QueryZipソスソスソス迯ゑソスmソスソスソスソスXソスヨ番搾ソスソスソスソスノ取得
$rs = $db->Execute("SELECT * FROM QueryZip WHERE pre = 39 ORDER BY code");
# ソス謫セソスソスソスソスソスソスソスRソス[ソスhソスZソスbソスgソスフ撰ソスソスソスソスソスソスソスソス[ソスvソスソスソスト表ソスソス
while (!$rs->EOF) {
print $rs->Fields('code')->Value, $rs->Fields('name')->Value, $rs->Fields('citys')->Value," \n";
$rs->MoveNext;
}
# ソスソスソスRソス[ソスhソスZソスbソスgソスソスツゑソスソスソス
$rs->Close();
# ソスfソス[ソス^ソスxソス[ソスXソスソスツゑソスソスソス
$db->Close();
print "</body></html>";
exit;
|
|
OLEソスレ托ソスソスナは、JetソスソスソスLソスフソスソス\ソスbソスhMoveソスAMoveFirstソスAMoveNextソスAMoveLastソスAMovePreviousソスソス
ソスソスソスRソス[ソスhソスZソスbソスgソスソスソスソスソスソスソスRソスノ移難ソスソスソスソス骼厄ソスソスソスツ能ソスナゑソスソスB
|