<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7256756690100230242</id><updated>2011-11-11T11:55:06.774+01:00</updated><category term='cmd exec() php'/><category term='batch mail vbs'/><category term='GPS vaaratlas'/><category term='Windows'/><category term='google buzz webapp noonski.nl noonski'/><title type='text'>Knowledge in a Blog</title><subtitle type='html'>Here you can find all about handy things I use in my life daily, things I learn and things I create. So it's all about me!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://scinor.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://scinor.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Michael Bogaerts</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7256756690100230242.post-146076012645005634</id><published>2011-04-13T11:57:00.000+02:00</published><updated>2011-04-13T11:57:28.270+02:00</updated><title type='text'>MailMerge If field for ,- behind the currency when there are no decimals</title><content type='html'>This might be something dutch, but there where no standard solutions on this one yet on the internet.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;the problem was in word (when mailmerging a database) we have a currency field.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;This field will be filled with an ammount (ex. 10.00, 125.25 or 50.50)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;What we wanted to do is make the decimals dissapear for .00 and replace it with ,- and for .25 it would be ,25.&lt;br /&gt;&lt;br /&gt;So i tried to do this and it worked with an IF field:&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;{ IF { MERGEFIELD CURRENCY } ="{ MERGEFIELD CURRENCY \# 0 }" "{ MERGEFIELD "CURRENCY" },-""{ MERGEFIELD CURRENCY \# 0,00 }" }&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Might come in handy sometime.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7256756690100230242-146076012645005634?l=scinor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scinor.blogspot.com/feeds/146076012645005634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://scinor.blogspot.com/2011/04/mailmerge-if-field-for-behind-currency.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/146076012645005634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/146076012645005634'/><link rel='alternate' type='text/html' href='http://scinor.blogspot.com/2011/04/mailmerge-if-field-for-behind-currency.html' title='MailMerge If field for ,- behind the currency when there are no decimals'/><author><name>Michael Bogaerts</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7256756690100230242.post-1330267039308604725</id><published>2011-04-07T12:00:00.001+02:00</published><updated>2011-11-11T11:55:06.816+01:00</updated><title type='text'>DDE link to access or excel not working for DOCX (word 2007)</title><content type='html'>Hi everyone,&lt;br /&gt;&lt;br /&gt;Microsoft did it again.&lt;br /&gt;We tried to use DDE link to ACCESS from WORD (2007) and everything was working fine when you use it the first time. but after saving the documents the document gives an error message: &lt;strong&gt;"Word could not re-establish the DDE connection to Microsoft Access to complete the current task". &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This was for a project that was allready in production, so no time to waste. After a lot of research with my good friend Google I found out that there are a lot of problems with DDE but i could not find a solution for my problem.&lt;br /&gt;&lt;br /&gt;I tried everything including using older versions of word, but therefore i needed to save the documents to &lt;strong&gt;.doc instead of .docx and it worked in the older versions.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;So we tried the .doc documents in word 2007 and it worked.&lt;br /&gt;&lt;br /&gt;Please microsoft next time update error messages.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;Problem:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;With a .docx document trying to DDE link to an Acces or Excel file i get the error "Word could not re-establish the DDE connection to Microsoft Access to complete the current task". &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;Save the document as .doc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7256756690100230242-1330267039308604725?l=scinor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scinor.blogspot.com/feeds/1330267039308604725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://scinor.blogspot.com/2011/04/dde-link-to-access-or-excel-not-working.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/1330267039308604725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/1330267039308604725'/><link rel='alternate' type='text/html' href='http://scinor.blogspot.com/2011/04/dde-link-to-access-or-excel-not-working.html' title='DDE link to access or excel not working for DOCX (word 2007)'/><author><name>Michael Bogaerts</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7256756690100230242.post-2224199597645155870</id><published>2010-04-22T13:49:00.002+02:00</published><updated>2010-04-22T14:22:09.504+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cmd exec() php'/><title type='text'>exec() in PHP (unable to fork error)</title><content type='html'>Dealing with webapplications that can actually run programs in the background you will run into the exec() command in php very easily. Running commands like this on a windows server is a bit tricky as you want to be as secure as you can.&lt;br /&gt;&lt;br /&gt;I'm going to explain a bit how we got it as secure as possible.&lt;br /&gt;&lt;br /&gt;First of all we use IIS.&lt;br /&gt;Create a subdomain for IIS and only give it rights to a subdirectory with the executable you would like to run with the php script (make sure the php script is also in the same directory.&lt;br /&gt;After that give it security rights with a newly created user, creating a user is very straight forward. as long as you start the lusrmgr.msc command.&lt;br /&gt;When the user is created give it read and execute rights on the executable you wish to run. and what is easily overseen give it read and execute rights at cmd.exe.When the user has no right to cmd.exe you will get the error:&amp;nbsp; &lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;Unable to fork [executable.exe] in C:\Inetpub\wwwroot\subdomain\script.php &lt;/blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;It's simple as that.&lt;br /&gt;&lt;br /&gt;Now you can run the script by calling http:\\subdomain.domain.com\script.php and everything should work for you now.&lt;br /&gt;&lt;script language="javascript" type="text/javascript"&gt;var buzzlink = document.location;var buzztitle = document.title;var buzzdomain = window.location.hostname;document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;");document.write("&lt;img src='http://www.google.com/mobile/images/mgc3/buzz32.png' border='0' title='Buzz It' alt='Buzz It' width='16' height='16' /&gt;&lt;/a&gt;");document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;");document.write("Buzz It&lt;/a&gt;");&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7256756690100230242-2224199597645155870?l=scinor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scinor.blogspot.com/feeds/2224199597645155870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://scinor.blogspot.com/2010/04/exec-in-php-unable-to-fork-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/2224199597645155870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/2224199597645155870'/><link rel='alternate' type='text/html' href='http://scinor.blogspot.com/2010/04/exec-in-php-unable-to-fork-error.html' title='exec() in PHP (unable to fork error)'/><author><name>Michael Bogaerts</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7256756690100230242.post-8123290451340832029</id><published>2010-02-23T13:28:00.018+01:00</published><updated>2010-02-23T15:11:46.353+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google buzz webapp noonski.nl noonski'/><title type='text'>How To Make a Custom Google Buzz Button 1.4</title><content type='html'>Quote from &lt;a href="http://blog.noonski.nl/2010/20100214-Custom_Google_Buzz_Button.html"&gt;Noonski.nl&lt;/a&gt;:&lt;br /&gt;I was looking for a ready made Google Buzz Button that would dynamicly generate the correct information to post to Google Buzz through Google Reader. There where a few but they either required using a service or a hand made link. I needed a button that would stay dynamic on all pages made from the main template page. So off course i had to dust of the old Javascript brain cells and make one myself. It's pretty easy and basic.&lt;br /&gt;Eventually i needed some good help from scinor with the extra scripting.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Updated on 23.02.2010 to Version 1.4&lt;/b&gt;&lt;br /&gt;- Added detection of Emtpy Meta Description, Some Bloggers Don't Learn ;).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Updated on 23.02.2010 to Version 1.3&lt;/b&gt;&lt;br /&gt;- Image is not pulled from Google Servers anymore, but uses a 16x16 blob.&lt;br /&gt;- Button now also grabs description to post to Google Reader/Buzz.&lt;br /&gt;-Script parses and replaces single quotes ' with ' from the desciption.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Updated Version 1.1&lt;/b&gt;&lt;br /&gt;- does not need you to change anything to the script, it uses Google's own Buzz Graphic. &lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;CODE: download&lt;/span&gt; &lt;a href="http://www.noonski.nl/Buzz.js.txt"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;script src="http://www.noonski.nl/Buzz.js" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7256756690100230242-8123290451340832029?l=scinor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scinor.blogspot.com/feeds/8123290451340832029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://scinor.blogspot.com/2010/02/how-to-make-custom-google-buzz-button_23.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/8123290451340832029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/8123290451340832029'/><link rel='alternate' type='text/html' href='http://scinor.blogspot.com/2010/02/how-to-make-custom-google-buzz-button_23.html' title='How To Make a Custom Google Buzz Button 1.4'/><author><name>Michael Bogaerts</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7256756690100230242.post-5008086683751298312</id><published>2010-02-15T17:06:00.003+01:00</published><updated>2010-02-23T15:12:23.017+01:00</updated><title type='text'>How To Make a Custom Google Buzz Button version 1.1</title><content type='html'>Version 1.3 available &lt;a href="http://scinor.blogspot.com/2010/02/how-to-make-custom-google-buzz-button_23.html"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;div style="color: #cccccc;"&gt;Revision of the previous post on scinor.blogspot.com that can be found &lt;a href="http://scinor.blogspot.com/2010/02/how-to-make-custom-google-buzz-button.html"&gt;here&lt;/a&gt; but cannot be used anymore!&lt;/div&gt;&lt;div style="color: #cccccc;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #cccccc;"&gt;This is the version that can be used. I worked together with Noonski for this update. So credits to &lt;a href="http://www.noonski.nl/"&gt;www.noonski.nl&lt;/a&gt;. The code to paste on your blog/page:&lt;/div&gt;&lt;div style="color: #cccccc;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;form action="" id="form1" method="post" name="form1" style="color: #cccccc;"&gt;&lt;label&gt; &lt;textarea cols="40" id="textarea" name="textarea" rows="25"&gt;&amp;lt;br /&amp;gt; DO NOT USE THIS CODE VERSION 1.3 AVAILABLE!&amp;lt;br /&amp;gt; &amp;lt;!--Begin Noonski.nl Simple GoogleBuzz Script V 1.1 --&amp;gt; &amp;lt;script language="javascript" type="text/javascript"&amp;gt; var buzzlink = document.location; var buzztitle = document.title; var buzzdomain = window.location.hostname; document.write("&amp;lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;amp;srcUrl=http://"+buzzdomain+"&amp;amp;srcTitle="+buzzdomain+"&amp;amp;title="+buzztitle+"'&amp;gt;");  document.write("&amp;lt;img src='http://www.google.com/mobile/images/mgc3/buzz32.png' border='0' title='Buzz It' alt='Buzz It' width='16' height='16' /&amp;gt;&amp;lt;/a&amp;gt;"); document.write("&amp;lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;amp;srcUrl=http://"+buzzdomain+"&amp;amp;srcTitle="+buzzdomain+"&amp;amp;title="+buzztitle+"'&amp;gt;");  document.write("Buzz It&amp;lt;/a&amp;gt;"); &amp;lt;/script&amp;gt; &amp;lt;!--End www.Noonski.nl Simple Google Buzz Script --&amp;gt;&lt;/textarea&gt;         &lt;/label&gt;       &lt;/form&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;script language="javascript" type="text/javascript"&gt; var buzzlink = document.location; var buzztitle = document.title; var buzzdomain = window.location.hostname; document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;"); document.write("&lt;img src='http://www.google.com/mobile/images/mgc3/buzz32.png' border='0' title='Buzz It' alt='Buzz It' width='16' height='16' /&gt;&lt;/a&gt;"); document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;"); document.write("Buzz It&lt;/a&gt;");&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7256756690100230242-5008086683751298312?l=scinor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scinor.blogspot.com/feeds/5008086683751298312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://scinor.blogspot.com/2010/02/how-to-make-custom-google-buzz-button_15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/5008086683751298312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/5008086683751298312'/><link rel='alternate' type='text/html' href='http://scinor.blogspot.com/2010/02/how-to-make-custom-google-buzz-button_15.html' title='How To Make a Custom Google Buzz Button version 1.1'/><author><name>Michael Bogaerts</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7256756690100230242.post-1343898865822714499</id><published>2010-02-15T16:07:00.002+01:00</published><updated>2010-02-23T15:12:48.450+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google buzz webapp noonski.nl noonski'/><title type='text'>How To Make a Custom Google Buzz Button by Noonski</title><content type='html'>Today not a message from me but from a friend of mine Noonski (A big name in the windows mobile developers community)&amp;nbsp; about google buzz buttons:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;&lt;b&gt;Version 1.3 available click &lt;a href="http://scinor.blogspot.com/2010/02/how-to-make-custom-google-buzz-button_23.html"&gt;here&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="color: #cccccc;"&gt;Full message can be found here: &lt;a href="http://blog.noonski.nl/2010/20100214-Custom_Google_Buzz_Button.html"&gt;http://blog.noonski.nl/2010/20100214-Custom_Google_Buzz_Button.html&lt;/a&gt;&lt;/div&gt;&lt;div style="color: #cccccc;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote style="color: #cccccc;"&gt;I was looking for a ready made Google Buzz Button that would dynamicly generate the correct information to post to Google Buzz through Google Reader. There where a few but they either required using a service or a hand made link. I needed a button that would stay dynamic on all pages made from the main template page. So off course i had to dust of the old Javascript brain cells and make one myself. It's pretty easy and basic.&lt;br /&gt;You  need to edit the image source to one on your own domain&lt;br /&gt;(Leechers will be shot in the Head, I'm not a millionaire)         &lt;br /&gt;And you will need to Edit the variablesbelow:&lt;br /&gt;srcUrl=http://www.MyDomain.com&lt;br /&gt;&amp;amp;&lt;br /&gt;srcTitle=My+Domain+Title&lt;br /&gt;Be sure to use the Plus + in the srcTitle Variable instead of spaces.&lt;br /&gt;&lt;br /&gt;&lt;form action="" id="form1" method="post" name="form1"&gt;&lt;label&gt;           &lt;textarea cols="40" id="textarea" name="textarea" rows="11"&gt;&amp;lt;!--Begin www.Noonski.nl Simple Google Buzz Script --&amp;gt; &amp;lt;script language="javascript" type="text/javascript"&amp;gt; var buzzlink = document.location; var buzztitle = document.title; document.write("&amp;lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;amp;srcUrl=http://www.MyDomain.com/&amp;amp;srcTitle=My+Domain+Title&amp;amp;title="+buzztitle+"'&amp;gt;"); &amp;lt;/script&amp;gt; &amp;lt;img src="http://www.mydomain.com/images/buzz.png" border="0" title="Buzz It" alt="Buzz It" width="16" height="16" /&amp;gt; Buzz It&amp;lt;/a&amp;gt; &amp;lt;!--End www.Noonski.nl Simple Google Buzz Script --&amp;gt;&lt;/textarea&gt;         &lt;/label&gt;       &lt;/form&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;script language="javascript" type="text/javascript"&gt; var buzzlink = document.location; var buzztitle = document.title; var buzzdomain = window.location.hostname; document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;"); document.write("&lt;img src='http://www.google.com/mobile/images/mgc3/buzz32.png' border='0' title='Buzz It' alt='Buzz It' width='16' height='16' /&gt;&lt;/a&gt;"); document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;"); document.write("Buzz It&lt;/a&gt;");&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7256756690100230242-1343898865822714499?l=scinor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scinor.blogspot.com/feeds/1343898865822714499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://scinor.blogspot.com/2010/02/how-to-make-custom-google-buzz-button.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/1343898865822714499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/1343898865822714499'/><link rel='alternate' type='text/html' href='http://scinor.blogspot.com/2010/02/how-to-make-custom-google-buzz-button.html' title='How To Make a Custom Google Buzz Button by Noonski'/><author><name>Michael Bogaerts</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7256756690100230242.post-5470296106727900256</id><published>2010-02-11T11:53:00.000+01:00</published><updated>2010-02-15T17:07:52.404+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='batch mail vbs'/><title type='text'>Get files from FTP and mail them "batch" and VBS</title><content type='html'>&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: white; color: #444444;"&gt;&lt;span style="color: black;"&gt;The "why" of this script is not to be explained this time unfortunately. besides that i lost the website I got all the pieces of code from, but I did not want to keep this from the public to know.&lt;br /&gt;What does this script do?&lt;br /&gt;&lt;br /&gt;1.This script gets particular files from an FTP account.&lt;br /&gt;2.It puts them in an directory locally&lt;br /&gt;3.It mails them to multiple addresses&lt;br /&gt;4.It deletes the files form the FTP account.&lt;br /&gt;5.It creates an log file.&lt;br /&gt;&lt;br /&gt;Please feel free to copy.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: black;"&gt;FTP.bat&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;::@echo off&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;SET SERVER=ftp5.****.nl&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;SET USERNAME=*****&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;SET PASSWORD=*****&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;SET LOCALFILE=C:\New&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;SET REMOTEPATH=/bin/ls&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;SET REMOTEFILE=omzet_*.xls&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;SET LOGFILE=c:\FTP\ftplog.txt&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;SET TEMPFILE=$temp.txt&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cd %LOCALFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo open %SERVER% &amp;gt;%TEMPFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo %USERNAME%&amp;gt;&amp;gt;%TEMPFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo %PASSWORD%&amp;gt;&amp;gt;%TEMPFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo bin &amp;gt;&amp;gt;%TEMPFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo cd %REMOTEPATH% &amp;gt;&amp;gt;%TEMPFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo prompt &amp;gt;&amp;gt;%TEMPFILE% &lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo mget %REMOTEFILE% &amp;gt;&amp;gt;%TEMPFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo mdelete %REMOTEFILE% &amp;gt;&amp;gt;%TEMPFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo quit &amp;gt;&amp;gt;%TEMPFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo. &amp;gt;&amp;gt;%LOGFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo. &amp;gt;&amp;gt;%LOGFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo Transfering %REMOTEFILE% to %LOCALFILE% at %DATE% %TIME% &amp;gt;&amp;gt;%LOGFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;REM Execute FTP script&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;REM ------------------&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ftp -s:%TEMPFILE% &amp;gt;&amp;gt;%LOGFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;REM Clean up&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;REM --------&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;del %TEMPFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;c:\ftp\mail.vbs&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo Mail send &amp;gt;&amp;gt;%LOGFILE%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;for /F "tokens=2-4 delims=/- " %%A in ('date/T') do set var=%%A%%B%%C&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;md "c:\NEw\%var%"&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;move c:\NEW\*.* C:\NEW\%var%&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;:: DONE&lt;/span&gt;&lt;br style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: white; color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo files archived &amp;gt;&amp;gt;%LOGFILE%&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;mail.vbs:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;'Email the files&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;strFolder = "C:\NEW"&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;strFileExt = "xls"&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Set objFolder = objFSO.GetFolder(strFolder)&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Set objMessage = CreateObject("CDO.Message")&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.Subject = "Omzet bestanden van vandaag!"&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.From = "*******"&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.To = "*******; *******"&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.TextBody = "Hi Everyone, this is the message."&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;For Each objFile In objFolder.Files&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; strFileExt = objFSO.GetExtensionName(objFile.Path)&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objMessage.AddAttachment objFile.Path&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Next&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;'Configuration Info&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.Configuration.Fields.Item _&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;("http://schemas.Microsoft.Com/cdo/configuration/smtpauthenticate") = 1&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.Configuration.Fields.Item _&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;("http://schemas.Microsoft.Com/cdo/configuration/sendusername") = "*****"&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.Configuration.Fields.Item _&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;("http://schemas.Microsoft.Com/cdo/configuration/sendpassword") = "*****"&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.Configuration.Fields.Item _&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;'Name or IP of Remote SMTP Server&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.Configuration.Fields.Item _&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.****.com"&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;'Server port (typically 25)&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.Configuration.Fields.Item _&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.Configuration.Fields.Update&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;'==End remote SMTP server configuration section==&lt;/span&gt;&lt;br style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objMessage.Send&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;!--Begin Noonski.nl Simple GoogleBuzz Script V 1.1 --&gt;&lt;br /&gt;&lt;br /&gt;&lt;script language="javascript" type="text/javascript"&gt; var buzzlink = document.location; var buzztitle = document.title; var buzzdomain = window.location.hostname; document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;"); document.write("&lt;img src='http://www.google.com/mobile/images/mgc3/buzz32.png' border='0' title='Buzz It' alt='Buzz It' width='16' height='16' /&gt;&lt;/a&gt;"); document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;"); document.write("Buzz It&lt;/a&gt;");&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--End www.Noonski.nl Simple Google Buzz Script --&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7256756690100230242-5470296106727900256?l=scinor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scinor.blogspot.com/feeds/5470296106727900256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://scinor.blogspot.com/2010/02/get-files-from-ftp-and-mail-them-batch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/5470296106727900256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/5470296106727900256'/><link rel='alternate' type='text/html' href='http://scinor.blogspot.com/2010/02/get-files-from-ftp-and-mail-them-batch.html' title='Get files from FTP and mail them &quot;batch&quot; and VBS'/><author><name>Michael Bogaerts</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7256756690100230242.post-566669636800495621</id><published>2010-02-11T11:07:00.000+01:00</published><updated>2010-02-15T17:07:29.334+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GPS vaaratlas'/><title type='text'>Testing GPS applications without GPS</title><content type='html'>Problem:&lt;br /&gt;Being busy to create the new VaarAtlas Desktop application I faced the challenge that the bluetooth GPS device I have here for testing was not working with the GPS module of the application. So the question became: Is it 1. the bluetooth device does not work. 2. The device is not compatible with the module or 3. The module is not working.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;To test this I have tried the software "&lt;a href="http://www.avangardo.com/gps/gpsgen/"&gt;Avandardo GPS generator PRO&lt;/a&gt;" This software creates a comport where it send NMEA data to. like a virtual GPS reciever. The conclusion was that the module needed some adjustments and the device was incompatible.&lt;br /&gt;&lt;br /&gt;&lt;!--Begin Noonski.nl Simple GoogleBuzz Script V 1.1 --&gt;&lt;br /&gt;&lt;br /&gt;&lt;script language="javascript" type="text/javascript"&gt; var buzzlink = document.location; var buzztitle = document.title; var buzzdomain = window.location.hostname; document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;"); document.write("&lt;img src='http://www.google.com/mobile/images/mgc3/buzz32.png' border='0' title='Buzz It' alt='Buzz It' width='16' height='16' /&gt;&lt;/a&gt;"); document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;"); document.write("Buzz It&lt;/a&gt;");&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--End www.Noonski.nl Simple Google Buzz Script --&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7256756690100230242-566669636800495621?l=scinor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scinor.blogspot.com/feeds/566669636800495621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://scinor.blogspot.com/2010/02/testing-gps-applications-without-gps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/566669636800495621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/566669636800495621'/><link rel='alternate' type='text/html' href='http://scinor.blogspot.com/2010/02/testing-gps-applications-without-gps.html' title='Testing GPS applications without GPS'/><author><name>Michael Bogaerts</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7256756690100230242.post-1580010705362722856</id><published>2010-01-26T14:45:00.000+01:00</published><updated>2010-02-15T17:07:17.633+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Screen AND MOUSE rotator</title><content type='html'>Today one of the designers came up to me to request a tool for rotating the screen. As we all know there are loads of these programs over the internet. to give some examples: &lt;a href="http://www.entechtaiwan.com/util/irotate.shtm"&gt;irotate&lt;/a&gt; and &lt;a href="http://vk.edward.li.googlepages.com/eeerotate"&gt;eeerotate&lt;/a&gt;. What these programs do is rotate your screen orientation. If you use your mouse you will see that left is up and down is left, so you will not be able to design normally when your screen is in landscape but the rotation (software) is in portrait.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The solution: A screen and mouse rotator! it was kind of a search but i found one created by &lt;span style="color: green;"&gt;&lt;span style="color: black;"&gt;&lt;a href="http://www.math.uaa.alaska.edu/%7Eafkjm/"&gt;Kenrick Mock&lt;/a&gt; the tool can be found &lt;a href="http://www.math.uaa.alaska.edu/%7Eafkjm/techteach/?q=node/70"&gt;here&lt;/a&gt;. Kenrick even shares his code (C#) with us. Thank you Kenrick! &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;img height="24" hidden="true" id="myFxSearchImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAADsElEQVR4nK2VTW9VVRSGn33OPgWpYLARbKWhQlCHTogoSkjEkQwclEQcNJEwlfgD/AM6NBo1xjhx5LyJ0cYEDHGkJqhtBGKUpm3SFii3vb2956wPB/t+9raEgSs52fuus89613rftdcNH8/c9q9++oe/Vzb5P+3McyNcfm2CcPj9af9w6gwjTwzvethx3Bx3x8xwd1wNM8dMcTNUHTfFLPnX6nVmZpeIYwf3cWD/PhbrvlPkblAzVFurKS6GmmGqqComaS+qmBoTI0Ncu3mXuGvWnrJ+ZSxweDgnkHf8ndVTdbiT3M7cQp2Z31dRTecHAfqydp4ejhwazh6Zezfnu98E1WIQwB3crEuJ2Y45PBTAQUVR9X4At66AppoEVO1Q8sgAOKJJjw6Am6OquDmvHskZ3R87gW+vlHz98zpmiqphkkRVbQtsfPTOC30lJKFbFTgp83bWh7Zx/uX1B6w3hI3NkkZTqEpBRDBRzG2AQHcwcYwEkOGkTERREbLQ/8HxJwuW7zdYrzfZ2iopy4qqEspKaDYravVm33k1R91Q69FA1VBRzFIVvXbx5AgXT44A8MWP81yfu0utIR2aVK3vfCnGrcUNxp8a7gKYKiLCvY2SUvo/aNtnM3e49ucK9S3p0aDdaT0UAVsKi2tVi6IWwNL9JvdqTdihaz79/l+u/rHMxmaJVMLkS2OoKKLWacdeE3IsSxctc2D5Qcl6vUlVVgNt+fkPPcFFmTw1xruvT7SCd7nuVhDQvECzJH90h0azRKoKFRkAmP5lKTWAGRdefoZL554FQNUxB92WvYeA5UN4PtSqwB2phKqsqMpBgAunRhFR3j49zuU3jnX8k6fHEQKXzh1jbmGDuYU6s4t1rt6socUeLLZHhYO2AHSHmzt19ihTZ48O8Hzl/AmunD/BjTvrvPfNX3hWsNpwJCvwYm+ngug4UilSCSq6k8YPtxDwfA+WRawIWFbgscDiULcCEaWqBFOlrLazurupOSHLqGnEKJAY8TwBEHumqUirAjNm52vEPPRV4p01XXMPAQhUBjcWm9QZwijwokgAeYHlHYA06KR1cT6ZvoV56pDUJQEjw0KeaMgj1hPEY4vz2A4eW0/e1qA7KtQdsxTYAG0H3iG4xyK1Y+xm7XmEPOJZDiENzLi2WZHngeOjj2Pe+sMg4GRYyLAsx7ME4FnsyTD9pr0PEc8zPGRAwKXBkYOPEd96cZRvf11g9MDe7e3R4Z4Q+vyEnn3P4t0XzK/W+ODN5/kPfRLewAJVEQ0AAAAASUVORK5CYII%3D" style="border: medium none; display: none; opacity: 0.6; position: absolute; z-index: 2147483647;" width="24" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--Begin Noonski.nl Simple GoogleBuzz Script V 1.1 --&gt;&lt;br /&gt;&lt;br /&gt;&lt;script language="javascript" type="text/javascript"&gt; var buzzlink = document.location; var buzztitle = document.title; var buzzdomain = window.location.hostname; document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;"); document.write("&lt;img src='http://www.google.com/mobile/images/mgc3/buzz32.png' border='0' title='Buzz It' alt='Buzz It' width='16' height='16' /&gt;&lt;/a&gt;"); document.write("&lt;a href='http://www.google.com/reader/link?url="+buzzlink+"&amp;srcUrl=http://"+buzzdomain+"&amp;srcTitle="+buzzdomain+"&amp;title="+buzztitle+"'&gt;"); document.write("Buzz It&lt;/a&gt;");&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--End www.Noonski.nl Simple Google Buzz Script --&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7256756690100230242-1580010705362722856?l=scinor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scinor.blogspot.com/feeds/1580010705362722856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://scinor.blogspot.com/2010/01/screen-and-mouse-rotator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/1580010705362722856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7256756690100230242/posts/default/1580010705362722856'/><link rel='alternate' type='text/html' href='http://scinor.blogspot.com/2010/01/screen-and-mouse-rotator.html' title='Screen AND MOUSE rotator'/><author><name>Michael Bogaerts</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
