Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel automation
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Excel automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01467113
Message ID:
01467113
Vues:
125
Hi,

Using Excel 2007 Automation from VFP I have connected a SQL database and created a Pivot Table from a huge dataset. The connection string is supplied in the automation program. Using SQL authentication, the connection string must contain user and password. It is quite important to hide these credentials from the users that will use the program for reporting. But in the Data-tab in Excel 2007 there is Connections->Properties->Definition->ConnectionString displaying the connection in clear text. I know I can add a password to the worksheet using .ActiveWorkbook.Protect(.T.,.T.), but the connectionstring will only be disabled. Is there a way to disable the menuitem?
Répondre
Fil
Voir

Click here to load this message in the networking platform