Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Please translate VB directions
Message
From
19/09/2000 18:45:29
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Please translate VB directions
Miscellaneous
Thread ID:
00418306
Message ID:
00418306
Views:
60
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.
Next
Reply
Map
View

Click here to load this message in the networking platform