In the help I see following sample calls:
Application.Run "Normal.Module1.MAIN"
Application.Run "MyProject.MyModule.MyProcedure"
Application.Run "'My Document.doc'!ThisModule.ThisProcedure"
Try to use somthing before 'Module1'. See also help on Run command.
>I have a template that is loaded when some documents are opened.
>In this template are several procedures. This template is "protected" to stop users from changing them.
>
>How can I call a procedure from VFP?
>
>I've tried:
>
>oWord.run("module1.TestMe")
>
>and I get an ole error; even tho in module1 I have:
>
>sub Testme()
>msgbox("Testing")
>end sub
>
>any ideas?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.