<?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:blogger='http://schemas.google.com/blogger/2008' 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-3827467078358718453</id><updated>2024-10-08T15:12:13.341-07:00</updated><category term="C#"/><category term="WORDPRESS"/><category term=".NET"/><category term="Jquery/javascript"/><title type='text'>Caring Programmer</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://caringprogrammer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://caringprogrammer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Caring programmer(yeah right)</name><uri>http://www.blogger.com/profile/06710046683847055694</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3827467078358718453.post-4973677903397959235</id><published>2012-12-18T05:04:00.005-08:00</published><updated>2012-12-19T03:59:07.891-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><title type='text'>Alternative for  .NET reflector </title><content type='html'>As .Net reflector &amp;nbsp;went to commercial i was looking for an alternative for getting the .NET code out of exe or dll. Sometimes you just need it :)&lt;br /&gt;
&lt;br /&gt;
Well there is usefull free alternative named ILSpy.&lt;br /&gt;
&lt;br /&gt;
ILSpy is the open source.NET assembly browser and decompiler.&lt;br /&gt;
&lt;br /&gt;
My recomendation is to try it if you need something like that for free.&lt;br /&gt;
&lt;br /&gt;
Link to page:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ilspy.net/&quot;&gt;http://ilspy.net/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1w_TPJ5IPurUekScW-NtfjPjy1H31MMt67_hiI8TNplAgZaQljqx3SR-BjH0UURb4Hkz1OdZJ8Ulh2legzJ9KKeqFxPnyKdzeUJn-d_VSAc5nUpxV195lm8cWKVeiUQ-Obgr6nIGp9W5A/s1600/ilspy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1w_TPJ5IPurUekScW-NtfjPjy1H31MMt67_hiI8TNplAgZaQljqx3SR-BjH0UURb4Hkz1OdZJ8Ulh2legzJ9KKeqFxPnyKdzeUJn-d_VSAc5nUpxV195lm8cWKVeiUQ-Obgr6nIGp9W5A/s400/ilspy.png&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://caringprogrammer.blogspot.com/feeds/4973677903397959235/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://caringprogrammer.blogspot.com/2012/12/alternative-to-net-reflector.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/4973677903397959235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/4973677903397959235'/><link rel='alternate' type='text/html' href='http://caringprogrammer.blogspot.com/2012/12/alternative-to-net-reflector.html' title='Alternative for  .NET reflector '/><author><name>Caring programmer(yeah right)</name><uri>http://www.blogger.com/profile/06710046683847055694</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1w_TPJ5IPurUekScW-NtfjPjy1H31MMt67_hiI8TNplAgZaQljqx3SR-BjH0UURb4Hkz1OdZJ8Ulh2legzJ9KKeqFxPnyKdzeUJn-d_VSAc5nUpxV195lm8cWKVeiUQ-Obgr6nIGp9W5A/s72-c/ilspy.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3827467078358718453.post-8627951743865234473</id><published>2012-12-18T02:55:00.003-08:00</published><updated>2012-12-18T04:59:13.810-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WORDPRESS"/><title type='text'>Jquery Nggallery Cycle Wordpress plugin- rotating images</title><content type='html'>Jj-ngg-jquery-cycle wordpress plugin is plugin for linking to created nggallery in wordpress and showing it as &lt;br /&gt;
dinamically moving images.&lt;br /&gt;
&lt;br /&gt;
Shortcode for plugin to use on page is:&lt;br /&gt;
&lt;br /&gt;
[jj-ngg-jquery-cycle html_id=&quot;about-cycle&quot; gallery=&quot;1&quot; width=&quot;600&quot; height=&quot;400&quot; timeout=&quot;2000&quot; speed=&quot;1000&quot; fit=&quot;1&quot; ]&lt;br /&gt;
&lt;br /&gt;
and this assumes that you have created nggallery with id = 1 and put some images inside.&lt;br /&gt;
&lt;br /&gt;
There is also a posibility to use onBefore callback of this plugin. It lets you do something before images changes.&lt;br /&gt;
&lt;br /&gt;
If you look at your page source where you have put the plugin it will show you something like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; jQuery(&#39;div#about-cycle&#39;).jjcycle({timeout: 2000,speed: 1000,height: 400,fit: 1});&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This is the code that plugin inserts into html of your page. To use onBefore Callback you can add to your page something like this&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
jQuery(document).ready(function(){&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;jQuery(&#39;div#about-cycle&#39;).jjcycle({before:onBefore});&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
});&lt;/div&gt;
&lt;div&gt;
function onBefore() {&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;//do something here before image changes&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Simple plugin yet creative.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
You can read more about this plugin on&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://wordpress.org/extend/plugins/jj-nextgen-jquery-cycle/&quot;&gt;http://wordpress.org/extend/plugins/jj-nextgen-jquery-cycle/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://caringprogrammer.blogspot.com/feeds/8627951743865234473/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://caringprogrammer.blogspot.com/2012/12/jquery-nggallery-cycle-plugin.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/8627951743865234473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/8627951743865234473'/><link rel='alternate' type='text/html' href='http://caringprogrammer.blogspot.com/2012/12/jquery-nggallery-cycle-plugin.html' title='Jquery Nggallery Cycle Wordpress plugin- rotating images'/><author><name>Caring programmer(yeah right)</name><uri>http://www.blogger.com/profile/06710046683847055694</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3827467078358718453.post-1145118643376487296</id><published>2012-12-17T15:21:00.000-08:00</published><updated>2012-12-18T02:17:28.102-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WORDPRESS"/><title type='text'>Wordpress plugin for redirecting page review</title><content type='html'>&lt;span style=&quot;font-family: sans-serif; font-size: 12px; line-height: 16.75px; white-space: nowrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.75px; white-space: nowrap;&quot;&gt;PAGE LINK TO plugin is a wordpress plugin that allows you to as the title says link page to another page&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.75px; white-space: nowrap;&quot;&gt;(either worpress internal or external) .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: sans-serif; font-size: 12px; line-height: 16.75px; white-space: nowrap;&quot;&gt;The primary use of this pugin for me was that i have used it in navigational menus to link parent to specific sub page&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.75px; white-space: nowrap;&quot;&gt;if parent doesnt contain any relevant content.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.75px; white-space: nowrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.75px; white-space: nowrap;&quot;&gt;Simple and GREAT A++.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.75px; white-space: nowrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;b style=&quot;font-family: sans-serif; font-size: 12px; line-height: 16.766666412353516px; white-space: nowrap;&quot;&gt;&lt;a href=&quot;http://wordpress.org/extend/plugins/page-links-to/&quot;&gt;http://wordpress.org/extend/plugins/page-links-to/&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fcfcfc; display: inline !important; font-size: 12px; line-height: 16.766666412353516px; margin-bottom: 0.2em; white-space: nowrap; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fcfcfc; display: inline !important; font-size: 12px; line-height: 16.766666412353516px; margin-bottom: 0.2em; white-space: nowrap; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://caringprogrammer.blogspot.com/feeds/1145118643376487296/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://caringprogrammer.blogspot.com/2012/12/worpress-plugin-for-redirecting-page.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/1145118643376487296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/1145118643376487296'/><link rel='alternate' type='text/html' href='http://caringprogrammer.blogspot.com/2012/12/worpress-plugin-for-redirecting-page.html' title='Wordpress plugin for redirecting page review'/><author><name>Caring programmer(yeah right)</name><uri>http://www.blogger.com/profile/06710046683847055694</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3827467078358718453.post-9051779817064857366</id><published>2012-12-17T15:16:00.001-08:00</published><updated>2012-12-18T02:17:28.103-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WORDPRESS"/><title type='text'></title><content type='html'>So...&lt;br /&gt;
&lt;br /&gt;
Lately i have been orienting to wordpress and i will have couple of interesting things to share with you&lt;br /&gt;
&lt;br /&gt;
I will in some cases dive deep into wordpress and in some it will be just simple example of of using worpress plugins that i found useful</content><link rel='replies' type='application/atom+xml' href='http://caringprogrammer.blogspot.com/feeds/9051779817064857366/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://caringprogrammer.blogspot.com/2012/12/so.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/9051779817064857366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/9051779817064857366'/><link rel='alternate' type='text/html' href='http://caringprogrammer.blogspot.com/2012/12/so.html' title=''/><author><name>Caring programmer(yeah right)</name><uri>http://www.blogger.com/profile/06710046683847055694</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3827467078358718453.post-7461581730013912465</id><published>2012-02-05T17:12:00.001-08:00</published><updated>2012-12-18T02:18:05.594-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Jquery/javascript"/><title type='text'>Javascript checking HTML element type</title><content type='html'>So how to check HTML element type in Javascript.&lt;br /&gt;
&lt;br /&gt;
Where here is what i found to be the best way..at least for necessity of my project&lt;br /&gt;
&lt;br /&gt;
NOTE: tested in Mozzila Firefox&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;snipplr_embed&quot; id=&quot;snipplr_embed_63103&quot;&gt;
&lt;a href=&quot;http://snipplr.com/view/63103/javascript-checking-html-element-type/&quot;&gt;Code snippet - Javascript checking HTML element type&lt;/a&gt; on Snipplr&lt;/div&gt;
&lt;script src=&quot;http://snipplr.com/js/embed.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;script src=&quot;http://snipplr.com/json/63103&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://caringprogrammer.blogspot.com/feeds/7461581730013912465/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/javascript-checking-html-element-type.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/7461581730013912465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/7461581730013912465'/><link rel='alternate' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/javascript-checking-html-element-type.html' title='Javascript checking HTML element type'/><author><name>Caring programmer(yeah right)</name><uri>http://www.blogger.com/profile/06710046683847055694</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3827467078358718453.post-7658518004186981421</id><published>2012-02-05T07:37:00.000-08:00</published><updated>2012-12-18T02:17:38.309-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>C# convert BitmapSource to Bitmap</title><content type='html'>Also to put the code how to convert BitmapSource to Bitmap. I forgot that in previous post.&lt;br /&gt;

&lt;br /&gt;

&lt;div id=&quot;snipplr_embed_63090&quot; class=&quot;snipplr_embed&quot;&gt;&lt;a href=&quot;http://snipplr.com/view/63090/how-to-convert-bitmapsource-to-bitmap/&quot;&gt;Code snippet - How to convert BitmapSource to Bitmap&lt;/a&gt; on Snipplr&lt;/div&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://snipplr.com/js/embed.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://snipplr.com/json/63090&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://caringprogrammer.blogspot.com/feeds/7658518004186981421/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/c-convert-bitmapsource-to-bitmap.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/7658518004186981421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/7658518004186981421'/><link rel='alternate' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/c-convert-bitmapsource-to-bitmap.html' title='C# convert BitmapSource to Bitmap'/><author><name>Caring programmer(yeah right)</name><uri>http://www.blogger.com/profile/06710046683847055694</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3827467078358718453.post-5933882260954522655</id><published>2012-02-03T11:32:00.000-08:00</published><updated>2012-12-18T02:17:02.521-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>C# how to read tiff and crop it</title><content type='html'>This is very simple and it is final step of my pdf extracting garbage characters.&lt;br /&gt;
&lt;br /&gt;
I will put code here so you have example how to do it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;snipplr_embed&quot; id=&quot;snipplr_embed_63053&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;http://snipplr.com/view/63053/how-to-read--tiff-in-c-and-crop-it/&quot;&gt;Code snippet - How to read  tiff in C# and crop it&lt;/a&gt; on Snipplr&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script src=&quot;http://snipplr.com/js/embed.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;script src=&quot;http://snipplr.com/json/63053&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://caringprogrammer.blogspot.com/feeds/5933882260954522655/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/c-how-to-read-tiff-and-crop-it.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/5933882260954522655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/5933882260954522655'/><link rel='alternate' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/c-how-to-read-tiff-and-crop-it.html' title='C# how to read tiff and crop it'/><author><name>Caring programmer(yeah right)</name><uri>http://www.blogger.com/profile/06710046683847055694</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3827467078358718453.post-4063847179808141056</id><published>2012-02-03T05:06:00.000-08:00</published><updated>2012-12-18T02:18:24.638-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>.NET The specified module could not be found error project</title><content type='html'>While doing some of my projects i encountered this error.&lt;br /&gt;
&lt;br /&gt;
It happens mostly because some of dlls used in .net application are missing are or built with one configuration and your project is built with another configuration.&lt;br /&gt;
&lt;br /&gt;
One of the solution is to download&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://www.dependencywalker.com/&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://www.dependencywalker.com/&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
and to check the dll that is giving the error for dependencies..if some of the dependencies are missing add them to right path.&lt;br /&gt;
&lt;br /&gt;
Another problem is that if you are using dll that is built for ex for 32 bit system and you are building your project with Any CPU this wont work on 64 bit systems.&lt;br /&gt;
&lt;br /&gt;
You have to build your project also for X86 architecture so you can use that 32 bit dll normally in your project.&lt;br /&gt;
&lt;br /&gt;
You can set the architecture for you project for specific architecture in &lt;b&gt;VISUAL Studio .NET&lt;/b&gt; like this:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Right Click on Solution -&amp;gt; Properties -&amp;gt; Configuration Properties -&amp;gt; &amp;nbsp;Configuration Manager&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
If you dont have for ex X86 architecture go to&amp;nbsp;&lt;b&gt;&amp;nbsp;Configuration Manager , &lt;/b&gt;click on&lt;b&gt; Platform &lt;/b&gt;and select&lt;b&gt; New.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
You can then choose which platform you want to create.</content><link rel='replies' type='application/atom+xml' href='http://caringprogrammer.blogspot.com/feeds/4063847179808141056/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/net-specified-module-could-not-be-found.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/4063847179808141056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/4063847179808141056'/><link rel='alternate' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/net-specified-module-could-not-be-found.html' title='.NET The specified module could not be found error project'/><author><name>Caring programmer(yeah right)</name><uri>http://www.blogger.com/profile/06710046683847055694</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3827467078358718453.post-8169746234982491639</id><published>2012-02-03T04:37:00.000-08:00</published><updated>2012-02-03T10:23:41.582-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>C# converting pdf to image</title><content type='html'>This is continue of my post when i was extracting non standard text from pdf.&lt;br /&gt;
&lt;br /&gt;
Bassically i didnt succeded in doing that the way i wanted but i was lucky that all of the pdfs where the same format.&lt;br /&gt;
&lt;br /&gt;
So i came to idea that i transfer pdf to image and then extract the portion of &amp;nbsp;&quot;text&quot; as image ...bassicaly to crop the image in the rectangle where the text is.&lt;br /&gt;
&lt;br /&gt;
To complete this task i have used ghostscript library&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://www.ghostscript.com/download/gsdnld.html&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://www.ghostscript.com/download/gsdnld.html&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
Also good article how to implement this in C# is on CodeProject&lt;br /&gt;
&lt;a href=&quot;http://www.codeproject.com/Articles/32274/How-To-Convert-PDF-to-Image-Using-Ghostscript-API&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;http://www.codeproject.com/Articles/32274/How-To-Convert-PDF-to-Image-Using-Ghostscript-API&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
With this two i have managed to convert PDF to image. But what format?&lt;br /&gt;
&lt;br /&gt;
Well i have tested with CodeProject application from article and i have found out that the most clearest text i can get is when using &lt;b&gt;TIFF&lt;/b&gt; format which is not such a strange thing becuse it is used for printing widely.&lt;br /&gt;
&lt;br /&gt;
So the next step was to read the TIFF into C# application and crop the image.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;NOTE:&lt;/b&gt; there is also a good library for converting pdf to image named imagemagick which also has wrapper in C#&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://imagemagick.codeplex.com/&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://imagemagick.codeplex.com/&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;It has also lot of other capabilities like resizing,cropping etc.&lt;br /&gt;
But i didnt used it because after setting up the project for testing with this library and trying how it converts pdf to image i wasnt very satisfied because of the time it needs to convert so i decided to go with ghostscript.</content><link rel='replies' type='application/atom+xml' href='http://caringprogrammer.blogspot.com/feeds/8169746234982491639/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/c-converting-pdf-to-image.html#comment-form' title='4 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/8169746234982491639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/8169746234982491639'/><link rel='alternate' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/c-converting-pdf-to-image.html' title='C# converting pdf to image'/><author><name>Caring programmer(yeah right)</name><uri>http://www.blogger.com/profile/06710046683847055694</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3827467078358718453.post-2938279184184590312</id><published>2012-02-03T03:57:00.000-08:00</published><updated>2012-02-03T10:23:41.572-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>C# extracting garbage characters from PDF</title><content type='html'>This week i encountered interesting problem.&lt;br /&gt;
&lt;br /&gt;
How to extract garbage characters from PDF and use them in C#.&lt;br /&gt;
&lt;br /&gt;
What are garbage characters in pdf?&lt;br /&gt;
&lt;br /&gt;
Bassically when you select some portion of text in any kind of pdf reader (Foxit Reader, Adobe Reader, Nitro Pdf Reader) and pase them to some plain text editor like notepad that the characters are not recognized...there are some boxes, music keys etc&lt;br /&gt;
&lt;br /&gt;
So i wondered what is happening and can i solve it. Well i thought i can but i was wrong.&lt;br /&gt;
&amp;nbsp;I have investigated the PDF with lot of tools also looking inside of pdf format to figure out how to get those characters into my C# program.&lt;br /&gt;
&lt;br /&gt;
You may ask yourself how can i see those characters in the reader but i cant extract them?&lt;br /&gt;
&lt;br /&gt;
Well the thing is readers are not showing plain text..they are showing glyphs which are like small shapes defined in the font that reader uses to represent the text.&lt;br /&gt;
Glyph is normally connected to Unicode character with ToUnicode table inside PDF format. So each glyph can be represented with some Unicode character.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt; When the characters are garbage characters it means that for that font and those glyphs the Unicode table is either corrupted or is missing.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
So when you try to copy paste the text from reader it also uses the ToUnicode table to &quot;map&quot; the glyphs copied to Unicode characters. When he cant succeed he produces garbage characters.&lt;br /&gt;
&lt;br /&gt;
Ok so bassically i didnt succeed that. But what i have done next to get myself out of the problem?&lt;br /&gt;
&lt;br /&gt;
Well i was lucky that project didnt require the manipulation of text and that the coordinates of desired text were practically the same for each pdf that i encountered so i have gone into solution to convert pdf into image, extract that portion of text as an image and show it in the form.&lt;br /&gt;
&lt;br /&gt;
I will talk about this in my next posts.&lt;br /&gt;
&lt;br /&gt;
Btw...i use notepad ++ as editor for this things and i must say it is great for me.&lt;br /&gt;
&lt;br /&gt;
Here is the link:&lt;a href=&quot;http://notepad-plus-plus.org/&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;b&gt;http://notepad-plus-plus.org/&lt;/b&gt; &lt;/span&gt;&lt;/a&gt;&amp;nbsp;if you want to try it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://caringprogrammer.blogspot.com/feeds/2938279184184590312/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/c-extracting-garbage-characters-from.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/2938279184184590312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3827467078358718453/posts/default/2938279184184590312'/><link rel='alternate' type='text/html' href='http://caringprogrammer.blogspot.com/2012/02/c-extracting-garbage-characters-from.html' title='C# extracting garbage characters from PDF'/><author><name>Caring programmer(yeah right)</name><uri>http://www.blogger.com/profile/06710046683847055694</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>