Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.
Unregistered
|
|
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
|
|
0 registered and 1 anonymous users are browsing this forum.
Moderator:
Print Topic
|
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is disabled
UBBCode is enabled
|
Rating:
Topic views: 3328
|
|
|
|
|
|
Powered by UBB.threads™ 6.5.5