![]() |
| |||
| Hi All! How to hide a password used in Project macro code? I tried to hide all the code with setting "Lock project for viewing" in Project Properties, but this caused to have Run button disabled (greyed out) for users... Using global template in Project Server 2003... (though might be the same solution as for 2007) Thanks, David |
| Sponsored links |
| |
| ||||
| Quote:
__________________ Stephen Sanderlin Founder/Owner - EPMFAQ VP of Technology - MSProjectExperts Microsoft Project MVP If you found this message useful, please click the Thanks button in the post! This electronic message, along with any information, advice, and opinions it contains, are mine alone and are not representative of my employer. All information is provided in "GOOD FAITH" and on an "AS IS" basis only. I provide no presentations or warranties, express or implied, including implied warranties of fitness for a particular purpose, merchantability, title, and noninfringement. I strongly advise you to extensively test any changes, workarounds, or techniques described herein on a development system prior to implementation in a production environment, and you are hereby notified that I bear no responsibility whatsoever for any loss, harm, or otherwise negative outcomes resulting from your actions, whether or not said actions were a result of this electronic message, directly or indirectly. |
| |||
| My task is: get data from SAP via RFC call. How would you implement this with not showing the password? Maybe I shouldn't use macro? My present solution shows password: Set objBAPIControl = CreateObject("SAP.Functions") Set sapConnection = objBAPIControl.Connection With sapConnection .Destination = "SQ1" .ApplicationServer = "111.111.111.111" .Client = "100" .User = "RFC_REMOTE" .Password = "XXX" .Language = "EN" .SystemNumber = "00" |
| ||||
| Quote:
__________________ Stephen Sanderlin Founder/Owner - EPMFAQ VP of Technology - MSProjectExperts Microsoft Project MVP If you found this message useful, please click the Thanks button in the post! This electronic message, along with any information, advice, and opinions it contains, are mine alone and are not representative of my employer. All information is provided in "GOOD FAITH" and on an "AS IS" basis only. I provide no presentations or warranties, express or implied, including implied warranties of fitness for a particular purpose, merchantability, title, and noninfringement. I strongly advise you to extensively test any changes, workarounds, or techniques described herein on a development system prior to implementation in a production environment, and you are hereby notified that I bear no responsibility whatsoever for any loss, harm, or otherwise negative outcomes resulting from your actions, whether or not said actions were a result of this electronic message, directly or indirectly. |
| The Following User Says Thank You to ssanderlin For This Useful Post: | ||
david.dienes (08-14-2008) | ||
![]() |
| Thread Tools | |
| Display Modes | |
|
|