**DONOTDELETE**
(Unregistered)
12/11/06 04:44 AM
creating object of desktop application in java

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



Contact us JavaWorld

Powered by UBB.threads™ 6.5.5

Featured White Papers


RESEARCH CENTERS: Java Standard Edition | Java Enterprise Edition | Java Micro Edition | Development Tools
About Us | Advertise | Contact Us | Terms of Service/Privacy
Copyright, 2006-2008 Network World, Inc. All rights reserved.