Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958325


Unregistered




creating object of desktop application in java
      12/11/06 04:44 AM

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

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* creating object of desktop application in java 12/11/06 04:44 AM

Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 3337

Rate this thread

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5