-
Recent Posts
- 009 Postgres Command Line : psql : Altering the stated language – lets try Python
- 008 Postgres Command Line : psql : Another function example
- 007 Postgres Command Line : psql : Create a function that returns a single value
- 006 Postgres Command Line : psql : Identify definition of a Function
- 005 Postgres Command Line : psql : Create a User Defined Function and Identify its creation and then Drop it.
- 004 Postgres Command Line : psql : Create a spatially enabled table
- 003 Postgres Command Line : psql : List all databases in a Postgres Instance
- 002 Postgres Command Line : psql : Enabling extensions (PostGIS) to a database
- 001 Postgres Command Line : psql : Getting Started with Postgres
- 000 Postgres Command Line : psql : Useful RESOURCES Link to Github Cheat Sheet AND live on the web SQL excercises
Archives
- February 2019 (11)
- December 2018 (1)
- November 2018 (1)
- September 2018 (2)
- August 2018 (1)
- May 2018 (2)
- April 2018 (1)
- March 2018 (6)
- February 2018 (2)
- January 2018 (1)
- November 2017 (4)
- October 2017 (2)
- September 2017 (3)
- August 2017 (5)
- July 2017 (1)
- June 2017 (5)
- April 2017 (5)
- March 2017 (6)
- February 2017 (1)
- January 2017 (1)
- December 2016 (2)
- November 2016 (1)
- October 2016 (1)
- July 2016 (1)
- June 2016 (1)
- April 2016 (7)
- March 2016 (2)
- February 2016 (3)
- January 2016 (2)
- December 2015 (3)
- August 2015 (1)
- July 2015 (2)
- June 2015 (4)
- May 2015 (4)
- April 2015 (2)
- March 2015 (4)
- February 2015 (2)
- January 2015 (4)
- December 2014 (2)
- November 2014 (4)
- October 2014 (8)
- September 2014 (3)
- August 2014 (7)
- July 2014 (6)
- June 2014 (7)
- May 2014 (12)
- April 2014 (8)
- March 2014 (2)
- February 2014 (1)
- January 2014 (1)
- September 2000 (1)
Category Archives: VBS Scripts
Visual Basic Script that can be used to rename a file
Here I am trying to automatically load log files into a MS Access file. Log files are actually txt files which need their extension changed if like me you wish to automate their import into MS Access. The following Visual … Continue reading
Posted in All, VBS Scripts
Comments Off on Visual Basic Script that can be used to rename a file
MS Access Function – Run VBS script from within MS Access
A very simple function that will allow you to run any vbs script from within MS Access Function RunVBS() Shell “wscript c:\users\mark\vbs\RenameFile.vbs”, vbHide End Function
Posted in All, VBA Code MS Access, VBS Scripts
Comments Off on MS Access Function – Run VBS script from within MS Access
Compact Database automatically using this MS Access Function and VB Script
If like me you sometimes need to run multiple SQL statements in MS Access on a regular basis maybe at a particular time some of which are deletes, you will need to find a way to automate regular compacts. Here’s … Continue reading
Posted in All, Configuration, VBA Code MS Access, VBS Scripts
Comments Off on Compact Database automatically using this MS Access Function and VB Script
VBS – Pieces of code
Shutdown computer Option Explicit Dim oShell Set oShell = Wscript.CreateObject(“Wscript.Shell”) oShell.Run “SHUTDOWN -T 60 -S” ‘wait 60 seconds before shutting down Trigger speech Option Explicit Dim speechobject set speechobject=createobject(“sapi.spvoice”) speechobject.speak “Your system is setup and ready for your day” Delay … Continue reading
Posted in All, Configuration, VBS Scripts
Comments Off on VBS – Pieces of code
Using Task Scheduler and Visual Basic Scripts to automate pretty much anything Win 7
This is hardly ground breaking but windows Task Scheduler can be used to run VBS scripts on a variety of events to automate repetitive and boring tasks. Backups for example or refreshing caches on web browsers before users come in. … Continue reading
Posted in All, Backup, Configuration, Dev Ops, VBS Scripts
Comments Off on Using Task Scheduler and Visual Basic Scripts to automate pretty much anything Win 7
Start up VBS
OPTION EXPLICIT Dim WshShell Dim counter Dim shell Dim Outlook Dim objWord Dim objshell ‘Flash keyboard to show code is being hit Set WshShell = CreateObject( “WScript.Shell” ) counter = 0 While counter < 18 WshShell.SendKeys "{NUMLOCK}" WScript.Sleep 200 WshShell.SendKeys … Continue reading
Posted in All, Configuration, Dev Ops, VBS Scripts
Comments Off on Start up VBS
Rolling VBS save script
Want to backup files and don’t have a fancy Database Administrator or sysadmin on 40k that knows his way around SQL Server 08R2 and MS Access , windows server and fully complies with continuous backup? This might prove useful. With … Continue reading
Posted in All, Backup, VBS Scripts
Tagged Backup, VBS Scripts
Comments Off on Rolling VBS save script