See this link: http://msdn.microsoft.com/en-us/library/ms947579.aspx
You can't use the .Init of a COM object and pass parameters. Create a new method on your object with parameters and invoke that new method after you've created your object. Fred On Thu, Jan 28, 2010 at 8:34 AM, Allen <pro...@gatwicksoftware.com> wrote: > Hi guys and gals > > Help says you can send parameters to a createobject. I have a vfp9 dll and > in the init I have a parameter statement but it seems not to take it. Its > an > ole public. > > Any clues please > > Al the apple assassin > > An apple a day make steve jobs richer lol > > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/3392e7101001280810q2e2d33cfn48af0d00c8a8d...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.