Why isn’t there are good and simple command line doc2pdf application? I just can’t find any good command line programs that can faithfully produce a PDF document given a Word document. There are a lot of commercial and some open source applications that can create a PDF document but I can’t find a simple command [...]
Also posted in Java, TechKnow |
It is that time of year where we reflect on the accomplishments of the passing year and look forward to the one to come. Here is a window of the past year in technology through past posts. TechknowZenze: First Post – How it all started. Import Script/CSS/PHP Page Redirect – PHP, HTML, and JavaScript code [...]
Here is some Visual Basic script code which allows you to terminate a process given a process id number. ‘ Kills a program given its process id. Function ProgKill(strProcessId) ‘ Declare used variables Dim strWQL Dim objProcess Dim objResult Dim intReturnCode Dim wmi Set wmi = GetObject("winmgmts:") ‘ Get Process by WMI strWQL = _ [...]
Also posted in DotNET, TechKnow |
I’ve might have mentioned before that I am not well versed in Visual Basic. Here is a small Visual Basic script snippet that took me an afternoon to figure out. You can use this code to print an HTML file using Internet Explorer. After the HTML file has been printed Internet Explorer will close. Sub [...]
“Learn something new every day.” That is my personal motto and I really feel that everyday I learn something new. Well, the other day I learned about MS Word’s Mail Merge capabilities. Word’s Mail Merge feature allows you to define a Word document template to be used for every row in a data source file. [...]
Also posted in DotNET, TechKnow |
There is more than one way to say it. A rose in any other name is still a rose, or better yet a comment in any other language is still a comment. Every C++ and Java programmer will tell you that end of line comments start with two forward slashes such as: // This is [...]