<?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'><id>tag:blogger.com,1999:blog-27808934</id><updated>2009-11-15T02:38:45.736+02:00</updated><title type='text'>Software engineering Problems and Source codes</title><subtitle type='html'>all the programming issues that i face at my development life.. i'll report the problem and the solution that i found, examples and source codes !</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default?start-index=26&amp;max-results=25'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-27808934.post-7993605526069725703</id><published>2008-08-18T11:58:00.002+03:00</published><updated>2008-08-18T12:06:58.251+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='source codes'/><category scheme='http://www.blogger.com/atom/ns#' term='api'/><category scheme='http://www.blogger.com/atom/ns#' term='facebook'/><category scheme='http://www.blogger.com/atom/ns#' term='social networks'/><category scheme='http://www.blogger.com/atom/ns#' term='functions'/><category scheme='http://www.blogger.com/atom/ns#' term='asp'/><title type='text'>Facebook programming with ASP3</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_7xjCNd-fvqU/SKk7du98SmI/AAAAAAAAAE8/6nfjIwXSj7o/s1600-h/logo-f8-150x123.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5235781423804992098" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_7xjCNd-fvqU/SKk7du98SmI/AAAAAAAAAE8/6nfjIwXSj7o/s320/logo-f8-150x123.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;Programming an application for facebook usualy done with php, java and .net! &lt;/div&gt;&lt;br /&gt;&lt;div&gt;what about asp programmers? &lt;/div&gt;&lt;br /&gt;&lt;div&gt;As i started to develop and asp application and downloaded a class that implement the api of facebook, i decided to share it here and start a project to improve this class (this is not full class and not all funciton worked).&lt;/div&gt;&lt;br /&gt;&lt;div&gt;please help me and all asp programmers to build this class so we all can use it. &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;the class will be published here: &lt;a href="http://www.byramix.com/blogForum/topic.asp?TOPIC_ID=35"&gt;http://www.byramix.com/blogForum/topic.asp?TOPIC_ID=35&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;thanks&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-7993605526069725703?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/7993605526069725703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=7993605526069725703' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/7993605526069725703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/7993605526069725703'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2008/08/facebook-programming-with-asp3.html' title='Facebook programming with ASP3'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_7xjCNd-fvqU/SKk7du98SmI/AAAAAAAAAE8/6nfjIwXSj7o/s72-c/logo-f8-150x123.gif' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-1904984742419521149</id><published>2008-03-30T09:48:00.005+03:00</published><updated>2008-06-29T12:34:11.637+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='social networks'/><title type='text'>NearConn published the beta version</title><content type='html'>&lt;a href="http://bp2.blogger.com/_7xjCNd-fvqU/R-86QRsggWI/AAAAAAAAAD8/AHHb2ouPgjs/s1600-h/mainPic.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5183425747429130594" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://bp2.blogger.com/_7xjCNd-fvqU/R-86QRsggWI/AAAAAAAAAD8/AHHb2ouPgjs/s320/mainPic.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Lately, the NearConn team &lt;a href="http://blog.nearconn.com/2008/03/beta-version-released.html"&gt;announced &lt;/a&gt;that they opened their system for a beta users.&lt;br /&gt;&lt;a href="http://www.nearconn.com/"&gt;NearConn&lt;/a&gt; is a unique cellular social network, it's a social network that enable the user to contact people around in any given time and place.&lt;br /&gt;The main idea of the NearConn creators is to make the &lt;a href="http://www.nearconn.com/"&gt;bluetooth&lt;/a&gt; name that on the cellular phone, a link to details that it's owner want to show the other,&lt;br /&gt;think about it, you can share your profile or you can share your buisness details, advertise a service you offer.&lt;br /&gt;it can be a new way to advertise things in a simple and cheap way...&lt;br /&gt;I beileve that the idea of NearConn is exelent, usefull for milions of users and will be the next thing.&lt;br /&gt;here you can watch a video of how it works : &lt;a href="http://www.nearconn.com/demo.asp"&gt;http://www.nearconn.com/demo.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;you can sign up to nearconn here: &lt;a href="http://www.nearconn.com/"&gt;http://www.nearconn.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-1904984742419521149?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/1904984742419521149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=1904984742419521149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/1904984742419521149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/1904984742419521149'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2008/03/nearconn-publish-beta-version.html' title='NearConn published the beta version'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_7xjCNd-fvqU/R-86QRsggWI/AAAAAAAAAD8/AHHb2ouPgjs/s72-c/mainPic.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-5352517880662586982</id><published>2008-03-20T16:03:00.005+02:00</published><updated>2008-03-23T00:36:21.117+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forums'/><title type='text'>Programming Discussion Forums</title><content type='html'>&lt;a href="http://bp1.blogger.com/_7xjCNd-fvqU/R-JwuRsggOI/AAAAAAAAAC4/wgu_TlP4RRs/s1600-h/forums4.gif"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_7xjCNd-fvqU/R-JwuRsggOI/AAAAAAAAAC4/wgu_TlP4RRs/s320/forums4.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5179826461755867362" /&gt;&lt;/a&gt;&lt;br /&gt;I'm happy to announce that i opened the Blog Discussion forum. &lt;br /&gt;i will add there a discussion post for all the materials on my blog. &lt;br /&gt;Please feel free to help me build a rich forum. &lt;br /&gt;if you think that you have an interesting material, source code, tips or tricks please share it with the other programmers. &lt;br /&gt;Add your post at the related category.&lt;br /&gt;thanks alot for your help and support. &lt;br /&gt;the forum address is: &lt;a href="http://www.byramix.com/blogforum"&gt;http://www.byramix.com/blogforum&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-5352517880662586982?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.byramix.com/blogforum' title='Programming Discussion Forums'/><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/5352517880662586982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=5352517880662586982' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/5352517880662586982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/5352517880662586982'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2008/03/programming-discussion-forums.html' title='Programming Discussion Forums'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_7xjCNd-fvqU/R-JwuRsggOI/AAAAAAAAAC4/wgu_TlP4RRs/s72-c/forums4.gif' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-1843558335015363300</id><published>2008-03-01T01:42:00.003+02:00</published><updated>2008-03-23T00:37:03.687+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='js'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='drag and drop'/><category scheme='http://www.blogger.com/atom/ns#' term='ajax'/><title type='text'>script.aculo.us drag and sort scrolling bug</title><content type='html'>For those who uses the script.aculo.us drag and drop js libs, this is an explain for fixing a scrolling bug.&lt;br /&gt;if your dragable element has a scrolling bar, when you try to scroll it also start dragging the element.&lt;br /&gt;i fixed this bug, do the following steps and it will work perfectly:&lt;br /&gt;open the file "dragdrop.js" for edit, after the following code:&lt;br /&gt;if((tag_name = src.tagName.toUpperCase()) &amp;amp;&amp;amp;&lt;br /&gt;( tag_name=='INPUT'&lt;br /&gt;tag_name=='SELECT'&lt;br /&gt;tag_name=='OPTION'&lt;br /&gt;tag_name=='BUTTON'&lt;br /&gt;tag_name=='TEXTAREA')) return;&lt;br /&gt;&lt;br /&gt;add the following line:&lt;br /&gt;if( src.undragable!=null) return;&lt;br /&gt;&lt;br /&gt;this line means that if there's a tag in the element that called "undragable" so it wont move the element.&lt;br /&gt;&lt;br /&gt;when you want to set an element with a scrollbar, just add the "undragable" tag to it and it will fix the problem, for example:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt; d iv height="50%" width="100%"&lt;strong&gt;undragable&lt;/strong&gt; style="height: 200px; overflow:auto;scrollbar-arrow-color: #808080; scrollbar-track-color: #FFFFFF; scrollbar-face-color: #FFFFFF; scrollbar-highlight-color: #808080; scrollbar-3dlight-color: #FFFFFF; scrollbar-darkshadow-color: #FFFFFF;scrollbar-shadow-color: #808080;"&lt;br /&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/27808934-1843558335015363300?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/1843558335015363300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=1843558335015363300' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/1843558335015363300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/1843558335015363300'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2008/03/scriptaculous-drag-and-sort-scrolling.html' title='script.aculo.us drag and sort scrolling bug'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-4082277561890999751</id><published>2008-02-10T11:30:00.000+02:00</published><updated>2008-02-10T11:34:38.605+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='source codes'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='url'/><category scheme='http://www.blogger.com/atom/ns#' term='W3C'/><category scheme='http://www.blogger.com/atom/ns#' term='functions'/><title type='text'>Url Encode function. Encode a string according to W3C standards</title><content type='html'>&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-java"&gt;&lt;span style="color:darkgreen;"&gt;this is a function that turns all the chars in a string to the W3C Standards. &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-java"&gt;&lt;span style="color:darkgreen;"&gt;/**&lt;br /&gt;  * Encode a string according to W3C standards.&lt;br /&gt;  *&lt;br /&gt;  */&lt;/span&gt;&lt;br /&gt; &lt;span style="color:navy;"&gt;&lt;b&gt;public&lt;/b&gt;&lt;/span&gt; &lt;span style="color:navy;"&gt;&lt;b&gt;static&lt;/b&gt;&lt;/span&gt; String urlEncoder(String s) &lt;span style="color:navy;"&gt;{&lt;/span&gt;&lt;br /&gt;  &lt;span style="color:navy;"&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt; (s == &lt;span style="color:navy;"&gt;&lt;b&gt;null&lt;/b&gt;&lt;/span&gt;)&lt;br /&gt;   &lt;span style="color:navy;"&gt;&lt;b&gt;return&lt;/b&gt;&lt;/span&gt; s;&lt;br /&gt;  StringBuffer sb = &lt;span style="color:navy;"&gt;&lt;b&gt;new&lt;/b&gt;&lt;/span&gt; StringBuffer(s.length() * 3);&lt;br /&gt;  &lt;span style="color:navy;"&gt;&lt;b&gt;try&lt;/b&gt;&lt;/span&gt; &lt;span style="color:navy;"&gt;{&lt;/span&gt;&lt;br /&gt;   &lt;span style="color:navy;"&gt;&lt;b&gt;char&lt;/b&gt;&lt;/span&gt; c;&lt;br /&gt;   &lt;span style="color:navy;"&gt;&lt;b&gt;for&lt;/b&gt;&lt;/span&gt; (&lt;span style="color:navy;"&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt; i = 0; i &amp;lt; s.length(); i++) &lt;span style="color:navy;"&gt;{&lt;/span&gt;&lt;br /&gt;    c = s.charAt(i);&lt;br /&gt;    &lt;span style="color:navy;"&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt; (c == &lt;span style="color:navy;"&gt;'&amp;amp;'&lt;/span&gt;) &lt;span style="color:navy;"&gt;{&lt;/span&gt;&lt;br /&gt;     sb.append(&lt;span style="color:red;"&gt;"&amp;amp;amp;"&lt;/span&gt;);&lt;br /&gt;    &lt;span style="color:navy;"&gt;}&lt;/span&gt; &lt;span style="color:navy;"&gt;&lt;b&gt;else&lt;/b&gt;&lt;/span&gt; &lt;span style="color:navy;"&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt; (c == &lt;span style="color:navy;"&gt;' '&lt;/span&gt;) &lt;span style="color:navy;"&gt;{&lt;/span&gt;&lt;br /&gt;     sb.append(&lt;span style="color:navy;"&gt;'+'&lt;/span&gt;);&lt;br /&gt;    &lt;span style="color:navy;"&gt;}&lt;/span&gt; &lt;span style="color:navy;"&gt;&lt;b&gt;else&lt;/b&gt;&lt;/span&gt; &lt;span style="color:navy;"&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt; (&lt;br /&gt;     (c &amp;gt;= &lt;span style="color:navy;"&gt;','&lt;/span&gt; &amp;amp;&amp;amp; c &amp;lt;= &lt;span style="color:navy;"&gt;';'&lt;/span&gt;)&lt;br /&gt;       (c &amp;gt;= &lt;span style="color:navy;"&gt;'A'&lt;/span&gt; &amp;amp;&amp;amp; c &amp;lt;= &lt;span style="color:navy;"&gt;'Z'&lt;/span&gt;)&lt;br /&gt;       (c &amp;gt;= &lt;span style="color:navy;"&gt;'a'&lt;/span&gt; &amp;amp;&amp;amp; c &amp;lt;= &lt;span style="color:navy;"&gt;'z'&lt;/span&gt;)&lt;br /&gt;       c == &lt;span style="color:navy;"&gt;'_'&lt;/span&gt;&lt;br /&gt;       c == &lt;span style="color:navy;"&gt;'?'&lt;/span&gt;) &lt;span style="color:navy;"&gt;{&lt;/span&gt;&lt;br /&gt;     sb.append(c);&lt;br /&gt;    &lt;span style="color:navy;"&gt;}&lt;/span&gt; &lt;span style="color:navy;"&gt;&lt;b&gt;else&lt;/b&gt;&lt;/span&gt; &lt;span style="color:navy;"&gt;{&lt;/span&gt;&lt;br /&gt;     sb.append(&lt;span style="color:navy;"&gt;'%'&lt;/span&gt;);&lt;br /&gt;     &lt;span style="color:navy;"&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt; (c &amp;gt; 15) &lt;span style="color:navy;"&gt;{&lt;/span&gt; &lt;span style="color:darkgreen;"&gt;// is it a non-control char, ie. &amp;gt;x0F so 2 chars&lt;/span&gt;&lt;br /&gt;      sb.append(Integer.toHexString((&lt;span style="color:navy;"&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;)c)); &lt;span style="color:darkgreen;"&gt;// just add % and the string&lt;/span&gt;&lt;br /&gt;     &lt;span style="color:navy;"&gt;}&lt;/span&gt; &lt;span style="color:navy;"&gt;&lt;b&gt;else&lt;/b&gt;&lt;/span&gt; &lt;span style="color:navy;"&gt;{&lt;/span&gt;&lt;br /&gt;      sb.append(&lt;span style="color:red;"&gt;"0"&lt;/span&gt; + Integer.toHexString((&lt;span style="color:navy;"&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;)c));&lt;br /&gt;      &lt;span style="color:darkgreen;"&gt;// otherwise need to add a leading 0&lt;/span&gt;&lt;br /&gt;     &lt;span style="color:navy;"&gt;}&lt;/span&gt;&lt;br /&gt;    &lt;span style="color:navy;"&gt;}&lt;/span&gt;&lt;br /&gt;   &lt;span style="color:navy;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="color:navy;"&gt;}&lt;/span&gt; &lt;span style="color:navy;"&gt;&lt;b&gt;catch&lt;/b&gt;&lt;/span&gt; (Exception ex) &lt;span style="color:navy;"&gt;{&lt;/span&gt;&lt;br /&gt;   &lt;span style="color:navy;"&gt;&lt;b&gt;return&lt;/b&gt;&lt;/span&gt; (&lt;span style="color:navy;"&gt;&lt;b&gt;null&lt;/b&gt;&lt;/span&gt;);&lt;br /&gt;  &lt;span style="color:navy;"&gt;}&lt;/span&gt;&lt;br /&gt;  &lt;span style="color:navy;"&gt;&lt;b&gt;return&lt;/b&gt;&lt;/span&gt; (sb.toString());&lt;br /&gt; &lt;span style="color:navy;"&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-java"&gt;&lt;span style="color:#000080;"&gt;&lt;/span&gt;&lt;/code&gt; &lt;/pre&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-java"&gt;&lt;span style="color:#000080;"&gt;source of this function : &lt;a href="http://forum.java.sun.com/thread.jspa?threadID=594204&amp;amp;messageID=3596899"&gt;http://forum.java.sun.com/thread.jspa?threadID=594204&amp;amp;messageID=3596899&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-4082277561890999751?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/4082277561890999751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=4082277561890999751' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/4082277561890999751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/4082277561890999751'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2008/02/url-encode-function-encode-string.html' title='Url Encode function. Encode a string according to W3C standards'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-8861651249473036604</id><published>2008-01-28T16:12:00.003+02:00</published><updated>2008-03-20T23:41:36.329+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='source codes'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='baseurl'/><category scheme='http://www.blogger.com/atom/ns#' term='url'/><category scheme='http://www.blogger.com/atom/ns#' term='j2ee'/><category scheme='http://www.blogger.com/atom/ns#' term='j2me'/><title type='text'>Replace relative links to absolute base links in HTML - Java</title><content type='html'>&lt;p&gt;this is a function that can add a base url to all urls in an html page, this code was translated from this vb function displayed here :&lt;a href="http://www.motobit.com/tips/detpg_replace-relative-links/"&gt;http://www.motobit.com/tips/detpg_replace-relative-links/&lt;/a&gt; &lt;p&gt;special thanks to the original coder... &lt;/p&gt;&lt;p&gt;the function (java) was tested and run successfully! &lt;/p&gt;&lt;p&gt;public static String ReplaceLinksToBase(String HTML, String baseURL)&lt;br /&gt;// replaces all links in an html to base url&lt;br /&gt;// By Ramik, 28/1/2008&lt;br /&gt;{&lt;br /&gt;HTML = ReplaceTagToBase(HTML, "a", "href", baseURL);&lt;br /&gt;// replace &amp;lt;img src=...&amp;gt; links&lt;br /&gt;HTML = ReplaceTagToBase(HTML, "img", "src", baseURL);&lt;br /&gt;HTML = ReplaceTagToBase(HTML, "link", "href", baseURL);&lt;br /&gt;return HTML;&lt;br /&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;public static String ReplaceTagToBase (String HTML, String TagName, String ValueName, String BaseURL)&lt;br /&gt;// replace a specific tag url to base Url&lt;br /&gt;//By Ramik, 28/01/2008&lt;br /&gt;{&lt;br /&gt;int pos1, pos2;&lt;br /&gt;String p1, p2, html;&lt;br /&gt;html= HTML;&lt;br /&gt;//Find the tag In HTML.&lt;br /&gt;String temp = "&amp;lt;"+TagName ;&lt;br /&gt;pos1 = HTML.indexOf(temp);&lt;br /&gt;while (pos1&amp;gt;0)&lt;br /&gt;{&lt;br /&gt;//The tag was found. Find closing &amp;gt; of the tag.&lt;br /&gt;pos2 = HTML.indexOf("&amp;gt;",pos1+TagName.length());&lt;br /&gt;if (pos2&amp;gt;-1)&lt;br /&gt;{&lt;br /&gt;//separate tag text from HTML&lt;br /&gt;String tag, tag1;&lt;br /&gt;tag = HTML.substring(pos1, pos2);&lt;br /&gt;//rewrite realative URL links In the one tag.&lt;br /&gt;tag1 = ReplaceParamToBase(tag, ValueName, BaseURL);&lt;br /&gt;//The tag was changed - relative links found.&lt;br /&gt;if (!tag1.equals(tag)) //there is some change In the tag.&lt;br /&gt;{&lt;br /&gt;//get parts before And after the tag&lt;br /&gt;p1 = HTML.substring(0,pos1);&lt;br /&gt;p2 = HTML.substring(pos2,HTML.length());&lt;br /&gt;//Compute new POs2 position&lt;br /&gt;pos2 = pos2 + tag1.length() - tag.length() ;&lt;br /&gt;//replace old tag with relative links with the new version&lt;br /&gt;html = p1 + tag1 + p2 ;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;if (pos2&amp;gt;0)&lt;br /&gt;pos1 = HTML.indexOf("&amp;lt;"+TagName,pos2+1);&lt;br /&gt;else&lt;br /&gt;pos1 = 0 ;&lt;br /&gt;}&lt;br /&gt;return html;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static String ReplaceParamToBase( String Tag, String ValueName,String BaseURL)&lt;br /&gt;{&lt;br /&gt;String p1, p2 , c1, URL, tag=Tag;&lt;br /&gt;int pos1, pos2, lenVal ;&lt;br /&gt;lenVal = ValueName.length() ;&lt;br /&gt;//find position of the tag value&lt;br /&gt;pos1 = Tag.indexOf(ValueName+"=");&lt;br /&gt;if (pos1&amp;gt;-1)&lt;br /&gt;{&lt;br /&gt;//get a first char after =&lt;br /&gt;c1 = Tag.substring(pos1+lenVal+1,pos1+lenVal+2);&lt;br /&gt;if (c1.equals("\""))&lt;br /&gt;{&lt;br /&gt;pos1 = pos1+lenVal+1 ;&lt;br /&gt;pos2 = Tag.indexOf("\"",pos1+1);&lt;br /&gt;}&lt;br /&gt;else if (c1.equals("'"))&lt;br /&gt;{&lt;br /&gt;pos1 = pos1+lenVal+1;&lt;br /&gt;pos2 = Tag.indexOf("'",pos1+1);&lt;br /&gt;}&lt;br /&gt;else//the value ends with Space&lt;br /&gt;{&lt;br /&gt;pos1 = pos1+lenVal;&lt;br /&gt;pos2 = Tag.indexOf(" ",pos1);&lt;br /&gt;if (pos2==-1)&lt;br /&gt;pos2 = Tag.length();&lt;br /&gt;}&lt;br /&gt;p1 = Tag.substring(0,pos1+1);&lt;br /&gt;p2 = Tag.substring(pos2,Tag.length());&lt;br /&gt;URL = Tag.substring(pos1+1,pos2);&lt;br /&gt;//is the value relative URL?&lt;br /&gt;if (URL.indexOf("://")==-1 &amp;amp;&amp;amp; URL.indexOf("&lt;a href="mailto:"&gt;mailto:")==-1&lt;/a&gt;)&lt;br /&gt;{&lt;br /&gt;//make the new absolute URL&lt;br /&gt;if (BaseURL.charAt(BaseURL.length()-1)!='/' &amp;amp;&amp;amp; BaseURL.charAt(BaseURL.length()-1)!='\\' )&lt;br /&gt;{&lt;br /&gt;BaseURL=BaseURL+'/';&lt;br /&gt;}&lt;br /&gt;URL = BaseURL+URL ;&lt;br /&gt;tag = p1+URL+p2;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;return tag;&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;public static String replaceAllTags (String HTML, String TagName, String ValueName, String BaseURL)&lt;br /&gt;//Replace all tags in html to base url&lt;br /&gt;// by ramik 30/1/2008&lt;br /&gt;{&lt;br /&gt;String html = HTML , allHtml="";&lt;br /&gt;int pos1=0, pos2 = HTML.indexOf("&amp;gt;");&lt;br /&gt;if (pos2&amp;gt;-1)&lt;br /&gt;pos2++;&lt;br /&gt;while (pos2&amp;gt;-1)&lt;br /&gt;{&lt;br /&gt;html = HTML.substring(pos1,pos2);&lt;br /&gt;allHtml = allHtml + ReplaceTagToBase(html,TagName, ValueName, BaseURL);&lt;br /&gt;pos1=pos2;&lt;br /&gt;pos2=HTML.indexOf("&amp;gt;",pos2);&lt;br /&gt;if (pos2&amp;gt;-1)&lt;br /&gt;pos2++;&lt;br /&gt;}&lt;br /&gt;allHtml = allHtml + HTML.substring(pos1);&lt;br /&gt;return allHtml;&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.byramix.com/blogforum/topic.asp?TOPIC_ID=29"&gt;Discuss this Post&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-8861651249473036604?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/8861651249473036604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=8861651249473036604' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/8861651249473036604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/8861651249473036604'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2008/01/replace-relative-links-to-absolute-base.html' title='Replace relative links to absolute base links in HTML - Java'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-7269059926554870433</id><published>2007-09-15T13:25:00.000+03:00</published><updated>2007-09-15T13:41:26.642+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='windows vista'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><title type='text'>windows vista: access: local only</title><content type='html'>Ok, this is my first post of non programming issue but it still usefull for computers users.&lt;br /&gt;Last week i got a new HP Laptop, with windows vista insite, it's cool looking, i was so happy with it untill i had the first problem, i couldn't surf the net.&lt;br /&gt;well, i will not talk alot, because i guess some of you is reading here after a few days of searching.&lt;br /&gt;well, what i had is like that:&lt;br /&gt;i could connect to the network and see other computers but could not surf the net&lt;br /&gt;that what you should do:&lt;br /&gt;go to the network connection icon on the tray - &gt; right click -&gt;network and Sharing Center -&gt; on the left press of the Manage network connection - &gt; right click on the network that you want to log in to -&gt; properties -&gt; now you have some check boxes :&lt;br /&gt;uncheck the Internet Protocol Version 6&lt;br /&gt;stand on the Internet Protocol Version 4 and press properties :&lt;br /&gt;check the Use the following IP Address :&lt;br /&gt;and on the fields fill the following:&lt;br /&gt;IP  Address : [put an IP the is fine with your router]&lt;br /&gt;Subnet mask : 255.255.255.0&lt;br /&gt;Default gateway: the ip of your router&lt;br /&gt;&lt;br /&gt;then check : use the following DNS server addresses&lt;br /&gt;Prefered DNS server: the ip of your router.&lt;br /&gt;&lt;br /&gt;press OK -&gt; OK and restart your computer.&lt;br /&gt;&lt;br /&gt;for me it worked..&lt;br /&gt;thanks to the guys here: &lt;a href="http://www.daniweb.com/forums/thread73818.html"&gt;http://www.daniweb.com/forums/thread73818.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-7269059926554870433?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.daniweb.com/forums/thread73818.html' title='windows vista: access: local only'/><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/7269059926554870433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=7269059926554870433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/7269059926554870433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/7269059926554870433'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2007/09/windows-vista-access-local-only.html' title='windows vista: access: local only'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-4228696693362218484</id><published>2007-07-04T09:16:00.001+03:00</published><updated>2008-02-10T11:34:59.792+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='source codes'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server'/><category scheme='http://www.blogger.com/atom/ns#' term='queries'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server 2005 express'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='db'/><title type='text'>sql query for getting your users email servers</title><content type='html'>this is a query that get you a list of the servers of the users emails that they registered with, for example if you have 100 people that has a hotmail account and 200 users with gmail you will get this table:&lt;br /&gt;count  server&lt;br /&gt;-----------------&lt;br /&gt;100  hotmail&lt;br /&gt;200  gmail&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;here is the query:&lt;br /&gt;&lt;br /&gt;select * from&lt;br /&gt;(SELECT Count(users.UserID) AS Count, right(users.Useremail,len(users.Useremail)-instr(users.Useremail,'@')) as server&lt;br /&gt;FROM users&lt;br /&gt;where users.useremail &lt;&gt; ''&lt;br /&gt;GROUP BY right(users.Useremail,len(users.Useremail)-instr(users.Useremail,'@')))&lt;br /&gt;order by count&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-4228696693362218484?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/4228696693362218484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=4228696693362218484' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/4228696693362218484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/4228696693362218484'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2007/07/sql-query-for-getting-your-users-email.html' title='sql query for getting your users email servers'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-1784450153634870101</id><published>2007-07-02T13:55:00.001+03:00</published><updated>2008-03-20T15:30:20.909+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual studio'/><category scheme='http://www.blogger.com/atom/ns#' term='vb6'/><category scheme='http://www.blogger.com/atom/ns#' term='word'/><category scheme='http://www.blogger.com/atom/ns#' term='source codes'/><category scheme='http://www.blogger.com/atom/ns#' term='vb'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='office'/><category scheme='http://www.blogger.com/atom/ns#' term='visual basic'/><title type='text'>Selection.Find crash</title><content type='html'>you wrote an application that works with Word object?&lt;br /&gt;the application crashes in the middle of the run, after the debug you find that it crashes on this line:&lt;br /&gt;WordObj.&lt;b&gt;Selection.Find&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;well, it's not your fault, it's a microsoft bug. now, how you resolve it??&lt;br /&gt;it's a tricky way,&lt;br /&gt;what you should do is &lt;/span&gt;&lt;span style="FONT-WEIGHT: bold"&gt;late binding&lt;br /&gt;u should dim your word object as an General object and create it manualy, not by "new word"&lt;br /&gt;here is a usefull code:&lt;br /&gt;...&lt;br /&gt;&lt;pre style="BACKGROUND-COLOR: rgb(245,245,245)"&gt;&lt;br /&gt;Dim wrdDoc As Object  ' setting the word object as a general object&lt;br /&gt;Dim IsWordRunning As Boolean&lt;br /&gt;&lt;br /&gt;IsWordRunning = ApplicationIsRunning("Word.Application")&lt;br /&gt;If IsWordRunning = True Then ' do&lt;br /&gt;   Set wrdApp = GetObject(, "Word.Application")&lt;br /&gt;Else&lt;br /&gt;   Set wrdApp = CreateObject("Word.Application")&lt;br /&gt;End If&lt;br /&gt;wrdApp.Visible = True&lt;br /&gt;Set wrdDoc = wrdApp.Documents.Open(filename)&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;&lt;/span&gt;...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and here is the applicationisrunning function:&lt;br /&gt;&lt;br /&gt;&lt;pre style="BACKGROUND-COLOR: rgb(245,245,245)"&gt;Function ApplicationIsRunning(ApplicationClassName As String) As Boolean&lt;br /&gt;' returns True if the application is running&lt;br /&gt;' example: If Not ApplicationIsRunning("Outlook.Application") Then Exit Sub&lt;br /&gt;Dim AnyApp As Object&lt;br /&gt; On Error Resume Next&lt;br /&gt; Set AnyApp = GetObject(, ApplicationClassName)&lt;br /&gt; ApplicationIsRunning = Not AnyApp Is Nothing&lt;br /&gt; Set AnyApp = Nothing&lt;br /&gt; On Error GoTo 0&lt;br /&gt;End Function&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-1784450153634870101?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/1784450153634870101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=1784450153634870101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/1784450153634870101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/1784450153634870101'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2007/07/selectionfind-crash.html' title='Selection.Find crash'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-3728414170019566412</id><published>2007-06-28T08:31:00.000+03:00</published><updated>2007-06-28T08:39:54.334+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='phpbb'/><category scheme='http://www.blogger.com/atom/ns#' term='phpbb3'/><category scheme='http://www.blogger.com/atom/ns#' term='adsense'/><category scheme='http://www.blogger.com/atom/ns#' term='forums'/><category scheme='http://www.blogger.com/atom/ns#' term='adwords'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='analytics'/><title type='text'>adding adsense to phpbb 3 forum</title><content type='html'>do you want to add adsense advertising to your forum.&lt;br /&gt;i could add adsense to the top of my forum by adding the code in the overall_header.htm file, i added it at the end of the file.&lt;br /&gt;the important thing is that when i added it to the file manulay and then uploaded the file it didn't work, i succeded only when i changed the file through the admin system.&lt;br /&gt;same i did with the google analytics code, i added it to the same file, but after the header tag.&lt;br /&gt;if someone could do that after the first post only please write it here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-3728414170019566412?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/3728414170019566412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=3728414170019566412' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/3728414170019566412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/3728414170019566412'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2007/06/adding-adsense-to-phpbb-3-forum.html' title='adding adsense to phpbb 3 forum'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-285446695414171538</id><published>2007-06-25T08:58:00.000+03:00</published><updated>2007-07-02T11:23:40.992+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='seo'/><category scheme='http://www.blogger.com/atom/ns#' term='adsense'/><category scheme='http://www.blogger.com/atom/ns#' term='Search engine'/><category scheme='http://www.blogger.com/atom/ns#' term='website'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Beta Version for arabic language Google Adsense</title><content type='html'>Lately the google adsense for content started to support arabic language websites, the &lt;a href="http://www.arabsites.co.il"&gt;www.arabsites.co.il&lt;/a&gt; website administrator said that his site is utf-8 incoded and two weeks ago he started to show ads in his site, more he said, the pay per click still low, it's about 1-2 centes per click, but i guess when the time pass, more advertisers will know about the service and they will pay beter for a click.&lt;br /&gt;the first report was on the &lt;a href="http://www.seoarabia.com/"&gt;arabic seo forum&lt;/a&gt; www.seoarabia.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-285446695414171538?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/285446695414171538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=285446695414171538' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/285446695414171538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/285446695414171538'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2007/06/beta-version-for-arabic-labguage-google.html' title='Beta Version for arabic language Google Adsense'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-6060175504965940614</id><published>2007-06-24T15:02:00.000+03:00</published><updated>2007-06-24T15:22:48.152+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dedicated servers'/><category scheme='http://www.blogger.com/atom/ns#' term='domains'/><category scheme='http://www.blogger.com/atom/ns#' term='domain register'/><category scheme='http://www.blogger.com/atom/ns#' term='hosting'/><category scheme='http://www.blogger.com/atom/ns#' term='servers'/><title type='text'>register a domain name - how to do it</title><content type='html'>if you want to build a website you need few thing for starting it successfully.&lt;br /&gt;first, you should know if you site will be visited by a lot of visitors or few, that is a very important thing, because if you expect a high number of visitors, you should get a &lt;span style="font-weight: bold;"&gt;dedicated server &lt;/span&gt;, a standart hosting plan cant hold alot of traffic.&lt;br /&gt;for good hosting plans i suggest to see what &lt;a href="http://www.brinkster.com"&gt;brinkster &lt;/a&gt;company offer, i work with them and i like it there.&lt;br /&gt;they suggest you a free domain for each hosting plan, but i don't like that, i prefer to buy the domain name by my self, it's cheap (8.99$) and easy, i do that with &lt;a href="http://www.godaddy.com"&gt;godaddy&lt;/a&gt;, they have a great control panel that make it easy to manage my domains, and i have alot of them.&lt;br /&gt;i already had on accident with a company that gave me a free domain, and after it expired the didn't renew that and i lost it with all my visitors. so watch out with that!&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;register a domain name:&lt;br /&gt;&lt;/span&gt;so how to register a domain name? it's easy step but so important, i suggest you to register your domain in the main extensions like .com, .net , .info (it's cheap 1$ only) and .mobi (if you see that there is a use to your site with mobile)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;how to choose your hosting plan&lt;br /&gt;&lt;/span&gt;basicly you can choose a professional hosting plan, but if you think that a lot of users will be visiting you site you should change your choice, i got a basic host plan and i'm hosting many websites on it, i get 5000 visitors each day, i think it's the limit of this plan, so i think if you think you'll have more than this number of visitors daily, you should take a dedicated server.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;if your websitet build with php/asp/.net/jsp&lt;br /&gt;&lt;/span&gt;you should pay attention for that also, if you take a windows server so you should use asp/.net or you should check if the server support php, brinkster server support aslo php on their windows servers.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-6060175504965940614?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/6060175504965940614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=6060175504965940614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/6060175504965940614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/6060175504965940614'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2007/06/register-domain-name-how-to-do-it.html' title='register a domain name - how to do it'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-4839858746811742364</id><published>2007-05-03T14:10:00.000+03:00</published><updated>2007-05-03T14:14:01.668+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dot net'/><category scheme='http://www.blogger.com/atom/ns#' term='dot.net'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Unrecognized attribute 'xmlns'.</title><content type='html'>this error actually means that the site is running old Framework version,&lt;br /&gt;what you need to do is the following:&lt;br /&gt;1.Open Internet Information Services and navigate to "Default Web Site" (or the site you're using as your default).&lt;br /&gt;2.Right click the Site icon (the one with the globe).&lt;br /&gt;3.Select the ASP.NET tab.  You'll see a drop-down with the available versions (if you're getting the error, odds are, you'll see 1.1).&lt;br /&gt;4.Select the proper build of ASP.NET 2.0 (or later, depends on the version you worked on in the developing stage).&lt;br /&gt;5.Restart IIS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-4839858746811742364?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/4839858746811742364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=4839858746811742364' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/4839858746811742364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/4839858746811742364'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2007/05/unrecognized-attribute-xmlns.html' title='Unrecognized attribute &apos;xmlns&apos;.'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-2431768292724209084</id><published>2007-01-28T09:46:00.000+02:00</published><updated>2007-01-28T10:03:03.314+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='interdev'/><category scheme='http://www.blogger.com/atom/ns#' term='asp'/><title type='text'>Change master web server in interdev Project</title><content type='html'>if you want to start using another web server for your asp projects which you created in interdev 6.0 then you need to change the master web that you set when you created the project.&lt;br /&gt;to do that you should do those steps:&lt;br /&gt;1. release your working copy:&lt;br /&gt;    right click on your project-&gt; release working copy&lt;br /&gt;2. on the upper toolbar (File Edit View...) choose Project -&gt; Web Project -&gt; Copy Web Application ... -&gt; set the new server name and the directory you want to creat the project in, un check the Add to existing Web Project and the press OK.&lt;br /&gt;3. now create a new project, in the 2nd stem, choose to use an existeing remote directory!&lt;br /&gt;&lt;br /&gt;have a nice programming!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-2431768292724209084?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/2431768292724209084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=2431768292724209084' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/2431768292724209084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/2431768292724209084'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2007/01/change-master-web-server-in-interdev.html' title='Change master web server in interdev Project'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-6643689981216296059</id><published>2007-01-16T10:02:00.000+02:00</published><updated>2008-02-11T15:49:54.821+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='source codes'/><category scheme='http://www.blogger.com/atom/ns#' term='scripts'/><category scheme='http://www.blogger.com/atom/ns#' term='seo'/><category scheme='http://www.blogger.com/atom/ns#' term='Search engine'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='searchengines'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='asp'/><title type='text'>How to recognize google visit</title><content type='html'>do you want to know if this visit is a google visit??&lt;br /&gt;here is a simple asp code to do that:&lt;br /&gt;&lt; % robot=request.ServerVariables("HTTP_USER_AGENT") if (Instr(robot,"Googlebot")&lt;&gt;0) then&lt;br /&gt;...&lt;br /&gt;end if&lt;br /&gt;% &gt;&lt;br /&gt;&lt;br /&gt;and this is how to do it with php script&lt;br /&gt;&lt;br /&gt;&lt; ? define("SYSTEM_FROM_NAME","Your name"); define("SYSTEM_FROM_EMAIL","Your email"); //---this script will send email to webmaster when google visit your pages. if(isset($_SERVER['HTTP_USER_AGENT']) &amp;amp;&amp;amp; eregi("googlebot",$_SERVER['HTTP_USER_AGENT'])) { if ($QUERY_STRING != "") { $url = "http://".$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF'].'?'.$QUERY_STRING; } else { $url = "http://".$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; } $today = date("F j, Y, g:i a"); $headers = "From: ".SYSTEM_FROM_NAME." &lt;".SYSTEM_FROM_EMAIL."&gt;";&lt;br /&gt;$message="";&lt;br /&gt;$message.="Googlebot is crawling your site:\n";&lt;br /&gt;$message.="Page: $url\n";&lt;br /&gt;$message.="Date: $today \n";&lt;br /&gt;$message.="IP: ".$_SERVER['REMOTE_ADDR']." \n";&lt;br /&gt;mail(SYSTEM_FROM_EMAIL, "googlebot crawle - $url", "$message",$headers);}&lt;br /&gt;? &gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-6643689981216296059?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/6643689981216296059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=6643689981216296059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/6643689981216296059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/6643689981216296059'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2007/01/how-to-recognize-google-visit.html' title='How to recognize google visit'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-8357465435221220525</id><published>2006-11-29T13:52:00.000+02:00</published><updated>2008-02-10T11:37:50.307+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='source codes'/><category scheme='http://www.blogger.com/atom/ns#' term='pervasive'/><category scheme='http://www.blogger.com/atom/ns#' term='db connection'/><category scheme='http://www.blogger.com/atom/ns#' term='btrieve'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>connecting btrieve database with vb6</title><content type='html'>you have an old version of btrieve and you want to read data from it?? well, you'r luck if you read this message in the beginning of your search... i lost 3 days of intensive searching.. and finaly found it. and here i share it with you...&lt;br /&gt;well, open vb program and bla bla bla ...&lt;br /&gt;now you should define some consts for easy work:&lt;br /&gt;i suggest you to create a separate modul for this code (that what i did)&lt;br /&gt;DefInt A-Z&lt;br /&gt;Global Const BOPEN = 0&lt;br /&gt;Global Const BCLOSE = 1&lt;br /&gt;Global Const BINSERT = 2&lt;br /&gt;Global Const BUPDATE = 3&lt;br /&gt;Global Const BDELETE = 4&lt;br /&gt;Global Const BGETEQUAL = 5&lt;br /&gt;Global Const BGETNEXT = 6&lt;br /&gt;Global Const BGETGREATEROREQUAL = 9&lt;br /&gt;Global Const BGETFIRST = 12&lt;br /&gt;Global Const BCREATE = 14&lt;br /&gt;Global Const BSTAT = 15&lt;br /&gt;Global Const BSTOP = 25&lt;br /&gt;Global Const BVERSION = 26&lt;br /&gt;Global Const BRESET = 28&lt;br /&gt;Global Const KEY_BUF_LEN = 255&lt;br /&gt;&lt;br /&gt;Rem Key FlagsGlobal Const DUP = 1&lt;br /&gt;Global Const MODIFIABLE = 2&lt;br /&gt;Global Const BIN = 4&lt;br /&gt;Global Const NUL = 8&lt;br /&gt;Global Const SEGMENT = 16&lt;br /&gt;Global Const SEQ = 32&lt;br /&gt;Global Const DEC = 64&lt;br /&gt;Global Const SUP = 128&lt;br /&gt;Rem Key Types&lt;br /&gt;Global Const EXTTYPE = 256&lt;br /&gt;Global Const MANUAL = 512&lt;br /&gt;Global Const BSTRING = 0&lt;br /&gt;Global Const BINTEGER = 1&lt;br /&gt;Global Const BFLOAT = 2&lt;br /&gt;Global Const BDATE = 3&lt;br /&gt;Global Const BTIME = 4&lt;br /&gt;Global Const BDECIMAL = 5&lt;br /&gt;Global Const BNUMERIC = 8&lt;br /&gt;Global Const BZSTRING = 11&lt;br /&gt;Global Const BAUTOINC = 15&lt;br /&gt;&lt;br /&gt;' now declare the function BTRCALL with do all the I\O with the database&lt;br /&gt;Private Declare Function BTRCALL Lib "wbtrv32.dll" (ByVal OP, ByVal Pb$, Db As Any, DL As Long, Kb As Any, ByVal Kl, ByVal Kn) As Integer&lt;br /&gt;&lt;br /&gt;' define some data types for working with the database files&lt;br /&gt;Type typ_byte4 f1(1 To 4) As ByteEnd TypeRem ***************************************************************************&lt;br /&gt;Rem Btrieve Structures&lt;br /&gt;Type KeySpec&lt;br /&gt;KeyPos As Integer&lt;br /&gt;KeyLen As Integer&lt;br /&gt;KeyFlags As Integer&lt;br /&gt;KeyTot As typ_byte4&lt;br /&gt;KeyType As String * 1&lt;br /&gt;Reserved As String * 5&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;Type FileSpec&lt;br /&gt;RecLen As Integer&lt;br /&gt;PageSize As Integer&lt;br /&gt;IndxCnt As Integer&lt;br /&gt;NotUsed As String * 4&lt;br /&gt;FileFlags As Integer&lt;br /&gt;Reserved As String * 2&lt;br /&gt;Allocation As Integer&lt;br /&gt;KeyBuf(0 To 1) As KeySpec&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;Type StatFileSpecs&lt;br /&gt;RecLen As Integer&lt;br /&gt;PageSize As Integer&lt;br /&gt;IndexTot As Integer&lt;br /&gt;RecTot As typ_byte4&lt;br /&gt;FileFlags As Integer&lt;br /&gt;Reserved As String * 2&lt;br /&gt;UnusedPages As Integer&lt;br /&gt;KeyBuf(0 To 1) As KeySpec&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;Type RecordBuffer&lt;br /&gt;' here you should define the structure of the file that you are reading.. in this example i have 3 'fields, one is an id (int) description and another float type&lt;br /&gt;'change this to your data structure&lt;br /&gt;profID As Integer&lt;br /&gt;profDesc As String * 28&lt;br /&gt;profPrice As Double&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;Type VersionBuf&lt;br /&gt;Major As Integer&lt;br /&gt;Minor As Integer&lt;br /&gt;Engine As String * 1&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;Type typ_PosBlk&lt;br /&gt;f1(1 To 128) As Byte&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;' defining variables with the types we created&lt;br /&gt;Global FileBuf As FileSpec&lt;br /&gt;Global DataBuf As RecordBuffer&lt;br /&gt;Global StatFileBuffer As StatFileSpecs&lt;br /&gt;Global BufLen As Long&lt;br /&gt;Global DBLen As Integer&lt;br /&gt;&lt;br /&gt;Rem*******Added to Open multiple files&lt;br /&gt;Public iMaxRuns As Integer&lt;br /&gt;Public bFilesCreated As Boolean&lt;br /&gt;&lt;br /&gt;Sub PrintLB(Item As String)&lt;br /&gt;' function for printing data on screen&lt;br /&gt;Dim fTxtFileName As String&lt;br /&gt;BtrFrm32.List1.AddItem Item&lt;br /&gt;Rem Added to write info to file&lt;br /&gt;fTxtFileName = App.Path &amp;amp; "\" &amp;amp; App.EXEName &amp;amp; ".log"&lt;br /&gt;Open fTxtFileName For Append As #1&lt;br /&gt;Print #1, Item Close #1&lt;br /&gt;Rem *************&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;sub readDate()&lt;br /&gt;PrintLB ("Btrieve Sample Test Started")&lt;br /&gt;PrintLB ("")&lt;br /&gt;Rem Local variables needed for conversion from byte to long.&lt;br /&gt;Dim loc_RecTot As Long&lt;br /&gt;Dim h_field1 As String&lt;br /&gt;Dim h_field2 As String&lt;br /&gt;Dim h_field3 As String&lt;br /&gt;Dim h_field4 As String&lt;br /&gt;Dim h_total As String&lt;br /&gt;'Rem **************************&lt;br /&gt;FileName$ = "XFACE.BTR"&lt;br /&gt;PosBlk$ = Space$(128)KeyBuffer$ = Space$(KEY_BUF_LEN)&lt;br /&gt;RemRem ***************** Btrieve Create *********************Rem&lt;br /&gt;Rem ************* SET UP FILE SPECS&lt;br /&gt;FileBuf.RecLen = 34&lt;br /&gt;FileBuf.PageSize = 1024&lt;br /&gt;FileBuf.IndxCnt = 2&lt;br /&gt;FileBuf.FileFlags = 0&lt;br /&gt;''Rem ************* SET UP KEY SPECS&lt;br /&gt;FileBuf.KeyBuf(0).KeyPos = 1&lt;br /&gt;FileBuf.KeyBuf(0).KeyLen = 8&lt;br /&gt;FileBuf.KeyBuf(0).KeyFlags = EXTTYPE + MODIFIABLE&lt;br /&gt;FileBuf.KeyBuf(0).KeyType = Chr$(BFLOAT)&lt;br /&gt;FileBuf.KeyBuf(1).KeyPos = 9&lt;br /&gt;FileBuf.KeyBuf(1).KeyLen = 26&lt;br /&gt;FileBuf.KeyBuf(1).KeyFlags = EXTTYPE + MODIFIABLE + DUP&lt;br /&gt;FileBuf.KeyBuf(1).KeyType = Chr$(BSTRING)&lt;br /&gt;&lt;br /&gt;'Open File&lt;br /&gt;KeyBufLen = KEY_BUF_LEN&lt;br /&gt;KeyBuffer$ = txtFileName.txt&lt;br /&gt;BufLen = Len(DataBuf)KeyNum = 0&lt;br /&gt;Status = BTRCALL(BOPEN, PosBlk$, DataBuf, BufLen, ByVal KeyBuffer$, KeyBufLen, KeyNum)&lt;br /&gt;If Status &lt;&gt; 0 Then&lt;br /&gt;Msg$ = "Error Opening file! " + Str$(Status)&lt;br /&gt;PrintLB (Msg$)&lt;br /&gt;GoTo Fini&lt;br /&gt;Else&lt;br /&gt;Msg$ = "File Opened Successfully!" PrintLB (Msg$)&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;BufLen = Len(DataBuf)&lt;br /&gt;KeyBuffer$ = Space$(255)&lt;br /&gt;KeyBufLen = KEY_BUF_LEN&lt;br /&gt;'Status = BTRCALL(BGETFIRST, PosBlk$, DataBuf, BufLen, ByVal KeyBuffer$, KeyBufLen, 0)&lt;br /&gt;If Status &lt;&gt; 0 Then&lt;br /&gt;Msg$ = "Error on BGETFIRST. " + Str$(Status)&lt;br /&gt;PrintLB (Msg$)&lt;br /&gt;Else&lt;br /&gt;Msg$ = "BGETFIRST okay for : " + DataBuf.profDesc PrintLB (Msg$)&lt;br /&gt;End If&lt;br /&gt;'Get Next Record&lt;br /&gt;BufLen = Len(DataBuf)KeyBuffer$ = Space$(KEY_BUF_LEN)&lt;br /&gt;KeyBufLen = KEY_BUF_LEN&lt;br /&gt;Status = BTRCALL(BGETNEXT, PosBlk$, DataBuf, BufLen, ByVal KeyBuffer$, KeyBufLen, 0)&lt;br /&gt;If Status &lt;&gt; 0 Then&lt;br /&gt;Msg$ = "Error on BGETNEXT. " + Str$(Status)&lt;br /&gt;PrintLB (Msg$)&lt;br /&gt;Else&lt;br /&gt;Msg$ = "BGETFIRST okay for : " + DataBuf.profDesc&lt;br /&gt;PrintLB (Msg$)&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;end sub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-8357465435221220525?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/8357465435221220525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=8357465435221220525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/8357465435221220525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/8357465435221220525'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2006/11/connecting-btrieve-database-with-vb6.html' title='connecting btrieve database with vb6'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-8005291395603890480</id><published>2006-11-23T10:29:00.000+02:00</published><updated>2008-02-10T11:38:12.828+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='source codes'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='windows programming'/><title type='text'>Using Notify Icon Object</title><content type='html'>notifyIcon1.Icon = new System.Drawing.Icon(@"c:\1.ico");&lt;br /&gt;notifyIcon1.Visible = true;&lt;br /&gt;notifyIcon1.Text = "Test Notify Icon Demo";&lt;br /&gt;notifyIcon1.BalloonTipTitle = "ByRamiX Product";&lt;br /&gt;notifyIcon1.BalloonTipText = "This Product was programmed ByRamiX";&lt;br /&gt;notifyIcon1.ShowBalloonTip(5000);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-8005291395603890480?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/8005291395603890480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=8005291395603890480' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/8005291395603890480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/8005291395603890480'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2006/11/using-notify-icon-object.html' title='Using Notify Icon Object'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-5623942079324961994</id><published>2006-10-10T09:17:00.000+02:00</published><updated>2006-10-10T09:51:14.388+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Search engine'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>using the data base class</title><content type='html'>here we built a simple search engine that uses the batabase class that we built before&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.ComponentModel;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Drawing;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.SessionState;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;br /&gt;namespace databasetest&lt;br /&gt;{&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Summary description for WebForm1.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;public class WebForm1 : System.Web.UI.Page&lt;br /&gt;{&lt;br /&gt;protected System.Web.UI.WebControls.DataGrid DG1;&lt;br /&gt;protected System.Web.UI.WebControls.Label Label1;&lt;br /&gt;protected System.Web.UI.WebControls.Button BtnSearch;&lt;br /&gt;protected System.Web.UI.WebControls.TextBox txtSearchWord;&lt;br /&gt;db db1;&lt;br /&gt;private void Page_Load(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;db1=new db("Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+Server.MapPath("database//freddydb.mdb"));&lt;br /&gt;DG1.DataSource = db1.executeSQL("select * from users");&lt;br /&gt;DG1.DataBind();&lt;br /&gt;db1.closeDBCommand();&lt;br /&gt;}&lt;br /&gt;#region Web Form Designer generated code&lt;br /&gt;override protected void OnInit(EventArgs e)&lt;br /&gt;{&lt;br /&gt;//&lt;br /&gt;// CODEGEN: This call is required by the ASP.NET Web Form Designer.&lt;br /&gt;//&lt;br /&gt;InitializeComponent();&lt;br /&gt;base.OnInit(e);&lt;br /&gt;}&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Required method for Designer support - do not modify&lt;br /&gt;/// the contents of this method with the code editor.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;private void InitializeComponent()&lt;br /&gt;{&lt;br /&gt;this.BtnSearch.Click += new System.EventHandler(this.BtnSearch_Click);&lt;br /&gt;this.Load += new System.EventHandler(this.Page_Load);&lt;br /&gt;}&lt;br /&gt;#endregion&lt;br /&gt;private void BtnSearch_Click(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;if (txtSearchWord.Text.Trim()!="" )&lt;br /&gt;{&lt;br /&gt;DG1.DataSource = db1.executeSQL("select * from users where username like '"+txtSearchWord.Text+"%' or userfirstName like '"+txtSearchWord.Text+"%' or userLastName like '"+txtSearchWord.Text+"%'");&lt;br /&gt;DG1.DataBind();&lt;br /&gt;db1.closeDBCommand();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;catch (Exception ex)&lt;br /&gt;{&lt;br /&gt;response.write (ex.Message);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-5623942079324961994?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://byramix.blogspot.com/2006/10/connecting-database-with-c-aspnet.html' title='using the data base class'/><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/5623942079324961994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=5623942079324961994' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/5623942079324961994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/5623942079324961994'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2006/10/using-data-base-class.html' title='using the data base class'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-116043285601394499</id><published>2006-10-10T00:24:00.000+02:00</published><updated>2008-02-10T11:38:54.209+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='source codes'/><category scheme='http://www.blogger.com/atom/ns#' term='ado'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server'/><category scheme='http://www.blogger.com/atom/ns#' term='db connection'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>connecting a database with c# / asp.net</title><content type='html'>this is the code of database connection and sql executing functions&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.Security;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.WebControls.WebParts;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;br /&gt;using System.Data.OleDb;&lt;br /&gt;&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// data base class&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;public class db&lt;br /&gt;{&lt;br /&gt;OleDbConnection gDbConn;&lt;br /&gt;OleDbCommand gDbCmd;&lt;br /&gt;public string error;&lt;br /&gt;public db(string connStr)&lt;br /&gt;{&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;gDbCmd = new OleDbCommand();&lt;br /&gt;gDbConn = new OleDbConnection();&lt;br /&gt;gDbConn.ConnectionString = connStr;&lt;br /&gt;error="class built successfully";&lt;br /&gt;}&lt;br /&gt;catch (Exception e)&lt;br /&gt;{&lt;br /&gt;error = "[class constructor] building class faild, error in connecting database error discribe: "+e.Message ;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;public OleDbDataReader executeSQL(String sql)&lt;br /&gt;{&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;OleDbDataReader rs ;&lt;br /&gt;gDbConn.Open();&lt;br /&gt;gDbCmd.Connection = gDbConn;&lt;br /&gt;gDbCmd.CommandText = sql;&lt;br /&gt;if (sql.Contains("select") )&lt;br /&gt;rs = gDbCmd.ExecuteReader();&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;gDbCmd.ExecuteNonQuery();&lt;br /&gt;rs = null;&lt;br /&gt;}&lt;br /&gt;error = "executeSQL executed successfully";&lt;br /&gt;return rs;&lt;br /&gt;}&lt;br /&gt;catch(Exception e)&lt;br /&gt;{&lt;br /&gt;error = "[execute sql] failed to execute sql statement error discribe:" + e.Message&lt;br /&gt;return null;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;b&gt;&lt;b&gt; &lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;b&gt;an example of using this class here: &lt;a href="http://byramix.blogspot.com/2006/10/using-data-base-class.html"&gt;http://byramix.blogspot.com/2006/10/using-data-base-class.html&lt;/a&gt;&lt;/p&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-116043285601394499?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://byramix.blogspot.com/2006/10/using-data-base-class.html' title='connecting a database with c# / asp.net'/><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/116043285601394499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=116043285601394499' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/116043285601394499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/116043285601394499'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2006/10/connecting-database-with-c-aspnet.html' title='connecting a database with c# / asp.net'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-115615801193000213</id><published>2006-08-21T13:50:00.001+03:00</published><updated>2008-03-20T16:02:44.796+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server'/><category scheme='http://www.blogger.com/atom/ns#' term='db connection'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server 2005 express'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>Cannot open database requested in login 'databaseName'. Login fails</title><content type='html'>it happened to me with sql server 2000 and 2005, after restoring the database i couldn't login from asp or asp.net script.&lt;br /&gt;this solution is for sql 2000 but i think it will work also with 2005.&lt;br /&gt;i noticed that after the restore the user that i'm tring to loggin with appears on the logins of the specifice database but the culomn of Login Name is empty. i looked at the same place in the original database and i saw something there... it was lost with the restore! i don't know if it's a bug or what, but i lost few days of fighting with it!&lt;br /&gt;anyway, you need to put the the user name... it's not so easy, i didn't find the way to do it, i had to delete it and add it again.. that also not so simple! so you can delete the login it shouldn;t own nothing... so i had to change all the objects that were owned by this login and then could do it!!&lt;br /&gt;i hope you found this blog before losing too much time on this!! the time that i spent is enough :)&lt;br /&gt;if that helped you so write a commemnt&lt;br /&gt;have a nice programming!!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.byramix.com/blogforum/topic.asp?TOPIC_ID=28"&gt;Discuss Post&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-115615801193000213?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/115615801193000213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=115615801193000213' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/115615801193000213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/115615801193000213'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2006/08/cannot-open-database-requested-in.html' title='Cannot open database requested in login &apos;databaseName&apos;. Login fails'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-115519605451898351</id><published>2006-08-10T10:30:00.000+03:00</published><updated>2007-03-05T17:10:55.327+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='server'/><category scheme='http://www.blogger.com/atom/ns#' term='smtp'/><category scheme='http://www.blogger.com/atom/ns#' term='jmail'/><category scheme='http://www.blogger.com/atom/ns#' term='mail'/><category scheme='http://www.blogger.com/atom/ns#' term='servers'/><category scheme='http://www.blogger.com/atom/ns#' term='asp'/><title type='text'>message could not be dilevered to all servers</title><content type='html'>this error recieved when the email address of the reciever is not legal email address, for example starting with number, or like this format &lt;a href="mailto:xx@hot..com"&gt;xx@hot..com&lt;/a&gt;, or start or have an illegal character like ' ! ?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-115519605451898351?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/115519605451898351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=115519605451898351' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/115519605451898351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/115519605451898351'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2006/08/message-could-not-be-dilevered-to-all.html' title='message could not be dilevered to all servers'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-115458986390023564</id><published>2006-08-03T10:17:00.000+03:00</published><updated>2007-03-05T17:12:03.683+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual studio'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Publishing .net WebApplicatuib</title><content type='html'>if you are tring to publish a .net webApplication, it doesn't matter if it's c# or VB.net you should do the following steps :&lt;br /&gt;&lt;u&gt;1. copy the files tin your projects&lt;/u&gt;&lt;br /&gt;you don't need to copy them all, only the aspx, and the congidurations files and very important is to &lt;strong&gt;copy the bin directory &lt;/strong&gt;other wise you'll get theis error message:&lt;br /&gt;&lt;strong&gt;Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'AppName.Global'.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;u&gt;2.Create Virtual Directory&lt;/u&gt;&lt;br /&gt;this is a very important step, alot of people loose aloth of time untill they knwo they should do it (at least i did :)&lt;br /&gt;go to the iis, stand on the default webSite (in the websites) and right click and the new virtual director.&lt;br /&gt;if you don;t do this step so you will get the following error message:&lt;br /&gt;&lt;strong&gt;An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-115458986390023564?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/115458986390023564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=115458986390023564' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/115458986390023564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/115458986390023564'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2006/08/publishing-net-webapplicatuib.html' title='Publishing .net WebApplicatuib'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-115289560952464927</id><published>2006-07-14T19:43:00.000+03:00</published><updated>2008-02-10T11:39:42.705+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='source codes'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='windows programming'/><category scheme='http://www.blogger.com/atom/ns#' term='asp'/><title type='text'>SELECT random records from a database</title><content type='html'>asp script:&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="color:#009900;"&gt;randomize&lt;br /&gt;sql="select max (ID) as maxid from table"rs.open sql,cn&lt;br /&gt;max=rs("maxid")&lt;br /&gt;rs.close&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="color:#009900;"&gt;for i=0 to 100&lt;br /&gt;rndNum=int(rnd()*max)+1&lt;br /&gt;idstr=idstr&amp;amp;rndNum&amp;amp;","&lt;br /&gt;next&lt;br /&gt;idstr=idstr+"0" &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="color:#009900;"&gt;sql="select top 25 ID, * from table where ID in ("+idstr+")"&lt;br /&gt;rs.open sql,cn&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;&lt;% randomize sql="select max (ID) as maxid from table" rs.open sql,cn  max=rs("maxid")  rs.close for i=0 to 100       rndNum=int(rnd()*max)+1        idstr=idstr&amp;rndNum&amp;amp;"," next idstr=idstr+"0"  sql="select top 25 ID, * from table where ID in ("+idstr+")" rs.open sql,cn %&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-115289560952464927?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/115289560952464927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=115289560952464927' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/115289560952464927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/115289560952464927'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2006/07/select-random-records-from-database.html' title='SELECT random records from a database'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-115184176619497414</id><published>2006-07-02T14:57:00.000+03:00</published><updated>2008-02-10T11:40:20.106+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='upload'/><category scheme='http://www.blogger.com/atom/ns#' term='components'/><category scheme='http://www.blogger.com/atom/ns#' term='asp'/><title type='text'>asp smartupload subscript out of range</title><content type='html'>you are using smart upload for uploading a file to the server and you get this ugly erro message &lt;strong&gt;"asp smartupload subscript out of range" &lt;/strong&gt;and i'm sure that you didn't write the uploading script.. well, i spent one whole day with this error, and a got angry when i knew that it's a stupid mistake. just look at the html form the the data sent from, you shoud set the enctype to multipart/form-data&lt;br /&gt;&lt;br /&gt;that's all!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-115184176619497414?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/115184176619497414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=115184176619497414' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/115184176619497414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/115184176619497414'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2006/07/asp-smartupload-subscript-out-of-range.html' title='asp smartupload subscript out of range'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27808934.post-114794257005971440</id><published>2006-05-18T11:48:00.000+03:00</published><updated>2007-03-05T17:15:02.036+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual studio'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='windows programming'/><title type='text'>Request for the permission of type System.Net.WebPermission</title><content type='html'>your spent too much time on tring tounderstand why your application dons'nt work?? yea tell me about it, &lt;strong&gt;security request&lt;/strong&gt; ...&lt;br /&gt;i'm looking for it two weeks ago.. no one has no idea! until i foud this blog... &lt;a href="http://blogs.conchango.com/kenibarwick/archive/2004/11/05/195.aspx"&gt;http://blogs.conchango.com/kenibarwick/archive/2004/11/05/195.aspx&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;he said it simple! don't put your aplication on shared folder.... &lt;/strong&gt;&lt;br /&gt;i stored my application on a mapped drive on my network!!&lt;br /&gt;so if you did like me just copy the folder to your C drive and it's work properly!&lt;br /&gt;http://www.byramix.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27808934-114794257005971440?l=byramix.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://byramix.blogspot.com/feeds/114794257005971440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=27808934&amp;postID=114794257005971440' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/114794257005971440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27808934/posts/default/114794257005971440'/><link rel='alternate' type='text/html' href='http://byramix.blogspot.com/2006/05/request-for-permission-of-type.html' title='Request for the permission of type System.Net.WebPermission'/><author><name>RamiX</name><uri>http://www.blogger.com/profile/12415859678042156816</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01719568528268368242'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>