File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/test/com/jacob/test/events Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,18 @@ public void testExcelWithInvocationProxy() {
36
36
String excelApplicationProgramId = "Excel.Application" ;
37
37
String excelSheetProgramId = "Excel.Sheet" ;
38
38
String typeLibLocation ;
39
- // office 2003
39
+ // office 2003 32 bit
40
40
typeLibLocation = "C:\\ Program Files\\ Microsoft Office\\ OFFICE11\\ EXCEL.EXE" ;
41
- // office 2007
41
+ // office 2007 32 bit
42
42
typeLibLocation = "C:\\ Program Files\\ Microsoft Office\\ OFFICE12\\ EXCEL.EXE" ;
43
43
// office 2013 32 bit
44
44
typeLibLocation = "C:\\ Program Files (x86)\\ Microsoft Office\\ Office14\\ EXCEL.EXE" ;
45
- // Office 2013 32
45
+ // Office 2013 32 bit
46
46
typeLibLocation = "C:\\ Program Files (x86)\\ Microsoft Office\\ Office15\\ EXCEL.EXE" ;
47
- // Office 2019 32
47
+ // Office 2019 32 bit
48
48
typeLibLocation = "C:\\ Program Files (x86)\\ Microsoft Office\\ root\\ Office16\\ EXCEL.EXE" ;
49
+ // Office 2019 64 bit
50
+ typeLibLocation = "C:\\ Program Files\\ Microsoft Office\\ root\\ Office16\\ EXCEL.EXE" ;
49
51
50
52
// Grab The Component.
51
53
ActiveXComponent axc = new ActiveXComponent (excelApplicationProgramId );
You can’t perform that action at this time.
0 commit comments