ONLY DO WHAT ONLY YOU CAN DO

こけたら立ちなはれ 立ったら歩きなはれ

jacob

Java で DAO

import com.jacob.com.*; import com.jacob.activeX.*; public class Lesson003 { public static void main(String[] args) { ActiveXComponent cn = new ActiveXComponent("DAO.DBEngine.36"); try { Dispatch db = Dispatch.call(cn ,"OpenDatabase", "C:\…

Java で ADO

import com.jacob.com.*; import com.jacob.activeX.*; public class Lesson002 { public static void main(String[] args) { ActiveXComponent cn = new ActiveXComponent("ADODB.Connection"); try { Dispatch.call(cn ,"Open", "xxxx", "yyyy", "zzzz"); …

Java で Excel OLE オートメーション

import com.jacob.com.*; import com.jacob.activeX.*; public class Lesson001 { public static void main(String[] args) { ActiveXComponent xl = new ActiveXComponent("Excel.Application"); Object xlo = xl.getObject(); try { xl.setProperty("Visib…