<?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-7367582060334222750</id><updated>2011-11-28T01:48:59.166+01:00</updated><category term='System.IO'/><category term='GUID'/><category term='file in use'/><title type='text'>Vulcan.NET blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vulcandotnet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7367582060334222750/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://vulcandotnet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Matthias Korte</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>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7367582060334222750.post-3419992828293833034</id><published>2010-03-16T13:46:00.000+01:00</published><updated>2010-03-16T13:48:26.241+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GUID'/><title type='text'>Generating GUIDs in Vulcan.NET</title><content type='html'>In this small article i want to show how to generate GUIDs in an Vulcan.NET application.&lt;br /&gt;To generate the GUIDs you need the system namespace.&lt;br /&gt;&lt;br /&gt;System.Guid.NewGuid():ToString()&lt;br /&gt;&lt;br /&gt;Thats all. The NewGuid() method generate the GUID object. With the ToString() method you can get the full GUID string.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7367582060334222750-3419992828293833034?l=vulcandotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vulcandotnet.blogspot.com/feeds/3419992828293833034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vulcandotnet.blogspot.com/2010/03/generating-guids-in-vulcannet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7367582060334222750/posts/default/3419992828293833034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7367582060334222750/posts/default/3419992828293833034'/><link rel='alternate' type='text/html' href='http://vulcandotnet.blogspot.com/2010/03/generating-guids-in-vulcannet.html' title='Generating GUIDs in Vulcan.NET'/><author><name>Matthias Korte</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-7367582060334222750.post-6589576303329681601</id><published>2009-11-29T13:43:00.000+01:00</published><updated>2009-12-01T09:55:58.992+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System.IO'/><category scheme='http://www.blogger.com/atom/ns#' term='file in use'/><title type='text'>Check if a file is in use</title><content type='html'>For a project i need a method to check wether a file is open. The way i do it is very simple. I try to open the file with FileStream. See the code below:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;#using System.IO&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;CLASS FileAccessCheck&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;STATIC METHOD CanOpenFile( cFile AS STRING ) AS LOGIC&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOCAL lCanOpen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS LOGIC&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOCAL oStream&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS FileStream&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; oStream := System.IO.File.Open( cFile, FileMode.Open, FileAccess.Read, FileShare.None )&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; oStream:Close() &lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; lCanOpen := TRUE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CATCH e AS System.IO.IOException&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; lCanOpen := FALSE&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END TRY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN ( lCanOpen )&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;END CLASS &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7367582060334222750-6589576303329681601?l=vulcandotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vulcandotnet.blogspot.com/feeds/6589576303329681601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vulcandotnet.blogspot.com/2009/11/check-if-file-is-in-use.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7367582060334222750/posts/default/6589576303329681601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7367582060334222750/posts/default/6589576303329681601'/><link rel='alternate' type='text/html' href='http://vulcandotnet.blogspot.com/2009/11/check-if-file-is-in-use.html' title='Check if a file is in use'/><author><name>Matthias Korte</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-7367582060334222750.post-8386185977480567833</id><published>2009-11-22T12:17:00.000+01:00</published><updated>2009-11-22T12:17:06.629+01:00</updated><title type='text'>Hello World</title><content type='html'>Welcome to my very first post on my new vulcan.net blog. On this blog i want to give you tipps and tricks for vulcan.net. I will release weakly new snippets, articles and links to related vulcan.net stuff and other .NET technologies. I hope you enjoy my new blog, when you have suggestions, please let me know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7367582060334222750-8386185977480567833?l=vulcandotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vulcandotnet.blogspot.com/feeds/8386185977480567833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vulcandotnet.blogspot.com/2009/11/hello-world.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7367582060334222750/posts/default/8386185977480567833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7367582060334222750/posts/default/8386185977480567833'/><link rel='alternate' type='text/html' href='http://vulcandotnet.blogspot.com/2009/11/hello-world.html' title='Hello World'/><author><name>Matthias Korte</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>
