Hi!
I have no idea. I did not really tried the code there, just read the article and noticed a few very useful things there. Try to read MSDN help for these objects.
>Hi, Vlad and everybody
>
>I'm trying to use the code on the article mentioned below, but it generates an error on the following code:
>
>FOR i = 1 TO lnServers
> laProgIds[m.i,1] = oProject.servers[m.i].progID
> laProgIds[m.i,2] = oProject.servers[m.i].CLSID
> laProgIds[m.i,3] = THIS.GetLocalServer(laProgIds[m.i,2]) && error comes here
>ENDFOR
>
>It tells me that it had an invalid subscript reference... laProdIds[m.1,2] is correct with the server's ID...
>
>Does anybody knows what's happening?
>
>Thanks for all
>
>
>
>>Look to following excellent article:
>
>>
http://msdn.microsoft.com/library/techart/MTSVFP.htm>
>>Hi, everybody!
>>
>>Is there some way to shut down within a programa a VFP component that is on a package in MTS, and then refresh it?
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.