Page 1 of 1

extracting user name

Posted: Mon Jul 23, 2018 7:55 pm
by amrsherif
Hi,

I was wondering if there is a way to extract a user's username (or eviews registration name) by code. I'm trying to run a uidialog that would "remember" each user's last entries or choices. For this, i ceeated a user-specific database for each user.

For now, my workaround was to create a batch file that retrieves it, stores it as a text file which opens in eviews. This of course is a problem when a user is running on a server (without permissions to execute the batch file).

Thanks

Re: extracting user name

Posted: Mon Jul 23, 2018 7:58 pm
by amrsherif
It would be much better and more efficient if there is another way of having the ui remember the previous choices with using setmaxerrs, but I can't think of any

Re: extracting user name

Posted: Mon Jul 23, 2018 9:20 pm
by EViews Gareth

Re: extracting user name

Posted: Tue Jul 24, 2018 4:11 am
by amrsherif
This is perfect. Thank you Gareth