Managing email signatures?
Click download Free Trial
Manage Email Signatures Centrally - For All Users
extend your brand and promote your products, services, special events and news
 
Your eMailSignaturer resource    Receive answers in my inbox    Add URL in your RSS reader    Join us on Facebook     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
LiveZilla Live Help

VBS Script to Start/Run Sign.exe and connect it to a SQL db

 
Post new topic   Reply to topic    email signatureManage Email Signatures Centrally - For All Users Forum Index -> English Support
View previous topic :: View next topic  
Author Message
lukejarden
Not too shy to talk


Joined: 27 Mar 2008
Posts: 5

Posted: Fri Mar 28, 2008 3:12 am    Post subject: VBS Script to Start/Run Sign.exe and connect it to a SQL db Reply with quote

Hello I was hoping you could help me with a simple vbs script to start sign.exe and connect it to a sql db.

location of sign.exe is in the same location as login script but i would like to keep them seperate for now during testing.

I tried below, but not to sure of the required vbs syntax

Run ("\\xxx.com.au\SysVol\xxx.com.au\Policies\{92CA0FDB-632E-4D52-9889-E582CB3D8F8F}\User\Scripts\Logon\sign.exe Provider=sqloledb;Data Source=xxxSQLSERVER;Initial Catalog=eMailSignature;User Id=id1;Password=password1;")
Back to top
View user's profile Send private message
Jesper Frier
Certified Professional
Certified Professional


Joined: 09 Sep 2006
Posts: 1940
Location: Stoevring, Denmark

Posted: Fri Mar 28, 2008 7:56 am    Post subject: VBS Script to Start/Run Sign.exe and connect it to a SQL db Reply with quote

Please see if this post helps you?
Back to top
View user's profile Send private message Visit poster's website
lukejarden
Not too shy to talk


Joined: 27 Mar 2008
Posts: 5

Posted: Mon Mar 31, 2008 6:28 am    Post subject: Need help with the syntax connecting to a SQL DB Reply with quote

Thanks for the link Jesper, But from what I can see that is only vbscript to be used as a logon script using perhaps the default Microsoft settings.mdb and doesnt show code on how to connect to an SQL DB. From the the code below:

Run ("\\xxx.com.au\SysVol\xxx.com.au\Policies\{92CA0FDB-632E-4D52-9889-E582CB3D8F8F}\User\Scripts\Logon\sign.exe Provider=sqloledb;Data Source=xxxSQLSERVER;Initial Catalog=eMailSignature;User Id=id1;Password=password1;")

Can you see anything thats looks out of the ordinary. 1st our domain is listed then the folder in which Sign.exe is located. (a share all users have access to) then provider, data source, db, and autheticaiton credentials. Can you pls supply some example code of working example where sign.exe is in the sysvol folder (emailsignatures suggestion) and connected to an slq db. Thanks
Back to top
View user's profile Send private message
Jesper Frier
Certified Professional
Certified Professional


Joined: 09 Sep 2006
Posts: 1940
Location: Stoevring, Denmark

Posted: Mon Mar 31, 2008 10:00 am    Post subject: Reply with quote

Please try this:
Code:
Run ("\\xxx.com.au\NETLOGON\sign.exe Provider=sqloledb;Data Source=xxxSQLSERVER;Initial Catalog=eMailSignature;User Id=id1;Password=password1;")


If this does not work in a simple bat-file, then your parameters are wrong:
Code:
start \\xxx.com.au\NETLOGON\sign.exe Provider=sqloledb;Data Source=xxxSQLSERVER;Initial Catalog=eMailSignature;User Id=id1;Password=password1;


Maybe other users have experience with vbscript ...
Back to top
View user's profile Send private message Visit poster's website
lukejarden
Not too shy to talk


Joined: 27 Mar 2008
Posts: 5

Posted: Wed Apr 02, 2008 12:11 am    Post subject: Reply with quote

The supplied code works a treat in a batch file, thanks for your help Jesper.

Last query now that i am happy with the process of rolling out the demo sig, In the demo version am I able to push out and test my own sig file that I have created in cockpit? Also what features are able to be tested in the demo version, Can I use the address book tool and also create disclaimers on the bottom of signatures ect...
Back to top
View user's profile Send private message
Jesper Frier
Certified Professional
Certified Professional


Joined: 09 Sep 2006
Posts: 1940
Location: Stoevring, Denmark

Posted: Wed Apr 02, 2008 5:06 am    Post subject: Reply with quote

Great

In TRIAL mode, you can deploy any signatures created in your Cockpit. The only difference from the licensed version is that a TRIAL message appear below the signature.

The features available in the TRIAL version is the same the features you end up purchasing.
Only if you have special requirements, we might need modules features (Learn more in the modules section of this forum) or here on the web site. Modules are licensed by changing your license key only - no need to change the installation.

If you only need to manage email signatures, the downloaded version will do the trick .. Cool
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Manage Email Signatures Centrally - For All Users Forum Index -> English Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Add URL in your RSS reader | About Us | Terms and conditions | © 2012 eMailSignature North America, Inc. and eMailSignature Aps.