Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5 as Ole Server vs. OCX Creator
Message
De
12/03/1998 15:08:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00084084
Message ID:
00084255
Vues:
24
>>>>>>While attempting to instantiate an olepublic class based on a visual class (form or commandbutton) from a dll or exe I am able to access the classes methods and properties but I can't see a visual representation of the class. This is so when instantiating the class with CreateObject either in VFP or Visual Basic. Is this the difference between VFP5's ability to create Ole servers but it's inability to create OCXs? Is there a way to instantiate the olepublic class in the dll or exe and see a visual representation of it, that is see it if it is based upon a form class?
>>>>>
>>>>>
>>>>>VFP Automation Servers do not have UI capability.
>>>>I have an Automation Server built as an exe, that is used for an internet application. On the server, I do have a UI running. You would need to call a form from the init method of the public class definition.
>>>
>>>Hi Rick,
>>>
>>>I'm going to be putting together a small section of a website in the near future that will be 2-3 simple pages designed to collect data i.e. name, email, comments, etc. I would prefer the back end for collecting the data be a VFP table. Would an Automation Server be a good interface between the HTML page and the VFP table? Is so, could you give me a simple HTML example of adding a capture value to the VFP table? TIA
>>
>>Hi Colin,
>>
>>I don't believe that an Automation server can be launched from an HTML page. I'm using IIS 3.0 and Active Server Pages. If that is what you use, send a message to my e-mail address, and I will send some sample code.
>
>Actually, this will be my first attempt at doing anything like this and quite frankly don't know what's involved or where to begin. Do you know of any good reference material for a beginner in this type of development. I've seen a few articles in FPA but a lot of it seems to be going over my head right now. I think what I need is something that conceptually explains how this type of thing works and then look at examples based on specific products i.e. IIS. TIA


You can find some info at www.west-wind.com. Also, Rick Strahl is writting a book on doing this kind of stuff with Tahoe.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform