There is an existing Visual Foxpro program that our company is using and I call it Custom1. Custom1 prompts the user for their login info like their username and password.
I am currently doing a program in VB and will run on a workstation. This program will create a form and populate it with data coming from Custom1. We asked the vendor to do this for us but it is so expensive, so we decided to do it by ourselves in VB. The program needs to pull out data of the user currently log-on to Custom1 in that workstation and populate a form. In other words, I need the username so I can pull-out the data of that user only. The vendor of Custom1 told us that it is stored in a public variable, s_username. Is there any way I can get the value of this variable in VB?
Thanks for anyone who can help me with this.
I am currently doing a program in VB and will run on a workstation. This program will create a form and populate it with data coming from Custom1. We asked the vendor to do this for us but it is so expensive, so we decided to do it by ourselves in VB. The program needs to pull out data of the user currently log-on to Custom1 in that workstation and populate a form. In other words, I need the username so I can pull-out the data of that user only. The vendor of Custom1 told us that it is stored in a public variable, s_username. Is there any way I can get the value of this variable in VB?
Thanks for anyone who can help me with this.