Since it works on Win9X and not on NT, we should examine the differences between the two OSes.
NT provides major security. Does the user have access to the data files? Does the user have access to the temporary directory in order to create curTempUsuario?
Just some thoughts.
>Larry, here goes the instantiation of oUsuario object:
>
>WITH THIS.PARENT
> lcLoginName = ALLTRIM(.txtLoginName.VALUE)
> SELECT iID, cLoginName, mSenha FROM Usuarios;
> WHERE ALLTRIM(cLoginName) == lcLoginName;
> INTO CURSOR curTempUsuario
> IF _Tally > 0
> IF ALLTRIM(curTempUsuario.mSenha) == ALLTRIM(.txtSenha.VALUE)
> PUBLIC oUsuario
> oUsuario = CREATEOBJECT("cusUsuario",curTempUsuario.iID)
> .Release
>...etc..
>
>I have setup disks (generated by vfp) from which I install the application, be in a win 9x box, or on a NT box... in win 9x it works... in NT it doesn't. And the win9x boxes is not my develop machine.
>
>Any more clue?
>
>Thanks
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao