Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Please translate VB directions
Message
From
19/09/2000 19:33:58
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00418306
Message ID:
00418319
Views:
30
In "I've tried just about every combination of PllrApi, PllrSrvrLib, iPllrApi, etc. that I can think of."

I forgot to say I've tried every combination of
oPillar = CREATEBOJECT("___.___")
Who can suggest what goes inside the quotes?



>Hi Cindy,
>
>I think you'll need to do something along the lines of:
oPillar = createobject("PllrSrvrLib.PllrApi")
>oPillar.delimiter = ["]
>oPillar.Open()
>etc ...
>
>Cheers,
>
>Andrew
>
>

>
>>Pillar is installed on my computer. I can open it and run it.
>>
>>I'm reading the Programmer's manual from Hyperion Pillar of how to automate Pillar. The directions for VB programmers are as follows:
>>
>>Accessing PllrApi in VB
>>Open VB. Select Project | References
>>Select the PllrSrvr 2.0 Type Library check box (This establishes a reference to PllrSrvrLib which contains PllrApi)
>>To view the methods in PllrApi select View | Object Browser
>>
>>I have added "C:\Program Files\...\PllrSrvr.tlb" to my class browser and can see PllrSrvr in the right pane with PllrApi showing as a class and iPllrApi listed as an "interface" with methods (open, save) and "tags" which look to me like properties (field delimiter, record delimiter - these are customizable in Pillar.)
>>
>>Declare PllrApi as an object in your VB code
>>
Public Pllr AS PllrSrvrLib.PllrApi
>>Sub Main()
>>    Set Pllr = New PllrSrvrLib.PllrApi
>>    frmMain.Show
>>End Sub
>>
>>I SET LIBRARY TO "C:\Program Files\...\PllrSrvr.tlb"
>>I've tried just about every combination of PllrApi, PllrSrvrLib, iPllrApi, etc. that I can think of.
>>
>>I can create a text file in the correct format and let my user click her way to adding the data (once or twice a year) but the management said "data could not be entered electronically" to this application and I can see that they don't know what they are talking about. ;-)
>>
>>Thanks for any help.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform