To the best!!

From: Augusto (augusto_at_bennersaude.com.br)
Date: 12/30/03


Date: Tue, 30 Dec 2003 13:02:18 -0300

Hello all!! I'm here testing you and helping others to improve their delphi
skills with your help.

I've created an app in which I added a Automation Object.
In the com I've put a Method pointing to a procedure that was in my app
main's form for tests purposes.
This procedure receives a parameter and set the visibility of a form
component.
I call this procedure from a msscriptcontrol and execute it normally. It
works fine.

What I want to do, is to expose all my app objects through COM so I can
change every componente property and access all their methods.

I know it's easy by creating all the properties and method in the interface
of the Automation Object.

But my wish is to do it dynamicaly. I want to read the properties and
methods from a dataset and create them at runtime.

Suppose I have a form and it's clear (No controls) I will access a
table(DefinitionsTbl) in my database and put a record like that:

Name Caption Color Hint
Class
----------------------------------------------------------------------------
----------
edit1 CustID white Set customer
identification TEditBox

Ok! When I start my app, I will read this table and create this component at
runtime, and also will expose it and all his properties (only those above)
and methods (onclick, onchange, etc..) through my COM interface. So I can
handle it through MSScript Control.

Did I make myself clear?

Any Idea, or documentation about it?

I'm creating an application generator.

Thanks in Advance

Augusto



Relevant Pages

  • Re: COM Question
    ... interface (or base class - it doesn't have to specifically be an ... Each new object will reference this same DLL to get the ... Your "consumer" app also references the original base that holds the ...
    (microsoft.public.dotnet.framework.compactframework)
  • In desperate need of COM interop help
    ... provide the other applicaiton with an interface to my classfor storing ... data, and when this other app uses COM to call my exposed methods, I will ... will get the interface I expose, and send the data over to me. ... Populate1(); ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Delphi Application Skin Ability Poll
    ... > To sale more copies to end users the beautiful interface of software is very ... you have the skill for do a BEAUTIFUL ... "Beauty" communicate us a lot of things and generate good (or bad, ... A commercial app must provide the sense of "you are a professional", ...
    (borland.public.delphi.non-technical)
  • Re: JDBC in CPYTHON
    ... I currently have an app on OSX that I wanted to migrate to NIX, ... JDBC driver that looks like it may work. ... I may not be understand your suggestion Marc, can the app and bridge ... Python database interface, for Mac OS X. ...
    (comp.lang.python)
  • Re: XPe headless user application
    ... >> interface to a headless application running on a remote, headless, XPe ... >> objects to transform the communication to simple data transfers. ... >> you can just RDP to the target box and see the app UI and ...
    (microsoft.public.windowsxp.embedded)