Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Please translate VB directions
Message
 
À
19/09/2000 18:45:29
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00418306
Message ID:
00418309
Vues:
20
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.


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform