|
|
|||||||
|
I want to create application object in a project. I have to write equivalent code in java and VB code is already exsting. can it be possible? the MS code is following-- Set OPApp = GetObject("", "opp.application") success = OPApp.Login("GUEST", "") OPApp.Minimize 'Load project OPApp.FileOpen Sheet1.TextBox1.Text, "Resource", "Exclusive" 'Define project and activity object variables iCurrProj = OPApp.Resources.Count Set OPProject = OPApp.Resources(iCurrProj) 'Set OPAct = OPProject Workbooks.Open Filename:= _ "C:\Pranav_Test.xls" Sheets("Sheet1").Activate Range("A1").Select strVal = Range("A" & 1).Value |