<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Samuel Haddad &#187; Programming</title> <atom:link href="http://samuelhaddad.com/category/programming/feed/" rel="self" type="application/rss+xml" /><link>http://samuelhaddad.com</link> <description></description> <lastBuildDate>Thu, 03 Nov 2011 16:32:38 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Unhide VeryHidden Excel Worksheets</title><link>http://samuelhaddad.com/2011/11/03/unhide-veryhidden-excel-worksheets/</link> <comments>http://samuelhaddad.com/2011/11/03/unhide-veryhidden-excel-worksheets/#comments</comments> <pubDate>Thu, 03 Nov 2011 16:32:38 +0000</pubDate> <dc:creator>Samuel Haddad</dc:creator> <category><![CDATA[Excel]]></category> <category><![CDATA[Programming]]></category> <guid
isPermaLink="false">http://samuelhaddad.com/?p=653</guid> <description><![CDATA[Here is the macro I use to unhide very hidden worksheets. Sub Unhide() Dim ws As Worksheet For Each ws In Sheets ws.Visible = True Next End Sub]]></description> <content:encoded><![CDATA[<p>Here is the macro I use to unhide very hidden worksheets.</p><p><code>Sub Unhide()<br
/> Dim ws As Worksheet<br
/> For Each ws In Sheets<br
/> ws.Visible = True<br
/> Next<br
/> End Sub</code></p> ]]></content:encoded> <wfw:commentRss>http://samuelhaddad.com/2011/11/03/unhide-veryhidden-excel-worksheets/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Cannot import the following key file fix</title><link>http://samuelhaddad.com/2011/07/27/cannot-import-the-following-key-file-fix/</link> <comments>http://samuelhaddad.com/2011/07/27/cannot-import-the-following-key-file-fix/#comments</comments> <pubDate>Thu, 28 Jul 2011 03:10:47 +0000</pubDate> <dc:creator>Samuel Haddad</dc:creator> <category><![CDATA[.NET]]></category> <category><![CDATA[Development]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[C#]]></category> <category><![CDATA[CSP]]></category> <category><![CDATA[PFX]]></category> <category><![CDATA[Strong Name]]></category> <category><![CDATA[Visual Studio]]></category> <guid
isPermaLink="false">http://samuelhaddad.com/?p=633</guid> <description><![CDATA[This one has caused me a few hours of pain….a couple of time.  It is about time I document how I fixed it. The Error: Cannot import the following key file: &#60;filename&#62;.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the [...]]]></description> <content:encoded><![CDATA[<p>This one has caused me a few hours of pain….a couple of time.  It is about time I document how I fixed it.</p><h2>The Error:</h2><p>Cannot import the following key file: &lt;filename&gt;.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the following key container name: VS_KEY_ E2AEBF22AB52DD08    &lt;Application Name&gt;</p><h2>The Fix:</h2><ol><li>Open Visual Studio Command Prompt (It can be found in the Windows Start menu)</li><li>Type sn -i &#8220;c:\Pathtofile\&lt;filename&gt;.pfx&#8221; TVS_KEY_ E2AEBF22AB52DD08</li><li>Reimport the pfx file into Visual Studio</li></ol><p>The <a
href="http://msdn.microsoft.com/en-us/library/k5b5tt23(v=vs.71).aspx">sn.exe</a> with the –i parameter, installs a key pair from &lt;infile&gt; into a key container named &lt;container&gt;.</p> ]]></content:encoded> <wfw:commentRss>http://samuelhaddad.com/2011/07/27/cannot-import-the-following-key-file-fix/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>.NET High Quality Thumbnail Generation</title><link>http://samuelhaddad.com/2011/01/26/net-high-quality-thumbnail-generation/</link> <comments>http://samuelhaddad.com/2011/01/26/net-high-quality-thumbnail-generation/#comments</comments> <pubDate>Wed, 26 Jan 2011 05:41:27 +0000</pubDate> <dc:creator>Samuel Haddad</dc:creator> <category><![CDATA[.NET]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[ASP.NET]]></category> <category><![CDATA[Bitmap]]></category> <category><![CDATA[Thumbnails]]></category> <guid
isPermaLink="false">http://samuelhaddad.com/?p=614</guid> <description><![CDATA[This method is a modified version of Mike Borozdin method which I happen to enjoy very much. The biggest changes I made where to add using statements around the disposable objects such as the Bitmap and the Graphics object to avoid memory leaks, as well as a few minor changes.]]></description> <content:encoded><![CDATA[<p>This method is a modified version of <a
href="http://www.mikeborozdin.com/post/High-Quality-Image-Resizing-with-NET.aspx">Mike Borozdin</a> method which I happen to enjoy very much. The biggest changes I made where to add using statements around the disposable objects such as the Bitmap and the Graphics object to avoid memory leaks, as well as a few minor changes.</p><pre class="brush: csharp; title: ; notranslate">
//Image Resize Helper Method
private static Bitmap ResizeImage(String filename, int maxWidth, int maxHeight)
{
    using (Image originalImage = Image.FromFile(filename))
    {
        //Caluate new Size
        int newWidth = originalImage.Width;
        int newHeight = originalImage.Height;
        double aspectRatio = (double)originalImage.Width / (double)originalImage.Height;
        if (aspectRatio &lt;= 1 &amp;&amp; originalImage.Width &gt; maxWidth)
        {
            newWidth = maxWidth;
            newHeight = (int)Math.Round(newWidth / aspectRatio);
        }
        else if (aspectRatio &gt; 1 &amp;&amp; originalImage.Height &gt; maxHeight)
        {
            newHeight = maxHeight;
            newWidth = (int)Math.Round(newHeight * aspectRatio);
        }
        Bitmap newImage = new Bitmap(newWidth, newHeight);
        using (Graphics g = Graphics.FromImage(newImage))
        {
            //--Quality Settings Adjust to fit your application
            g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBilinear;
            g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            g.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.HighQuality;
            g.CompositingQuality = System.Drawing.Drawing2D.CompositingQuality.HighQuality;
            g.DrawImage(originalImage, 0, 0, newImage.Width, newImage.Height);
            return newImage;
        }
    }
}
</pre>]]></content:encoded> <wfw:commentRss>http://samuelhaddad.com/2011/01/26/net-high-quality-thumbnail-generation/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>FMyScript Disappearing Voting Links</title><link>http://samuelhaddad.com/2010/11/20/fmyscript-disappearing-voting-links/</link> <comments>http://samuelhaddad.com/2010/11/20/fmyscript-disappearing-voting-links/#comments</comments> <pubDate>Sat, 20 Nov 2010 06:14:46 +0000</pubDate> <dc:creator>Samuel Haddad</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Web Design]]></category> <category><![CDATA[FML]]></category> <category><![CDATA[FMyScript]]></category> <category><![CDATA[Voting]]></category> <guid
isPermaLink="false">http://samuelhaddad.com/?p=580</guid> <description><![CDATA[I was recently asked to work on a site running FMyScript. The problem was this every time a voting link was clicked the link would just disappear and the votes were not updated. The solution was two fold: Part 1: The first problem was the voting links has a &#8216; in the string such as [...]]]></description> <content:encoded><![CDATA[<p>I was recently asked to work on a site running FMyScript. The problem was this every time a voting link was clicked the link would just disappear and the votes were not updated.</p><p>The solution was two fold:</p><p><strong>Part 1:<br
/> </strong>The first problem was the voting links has a &#8216; in the string such as &#8220;I&#8217;m really sad to hear that&#8221; So I just changed the string instead of finding all the places I might have to escape it. I figured I am is better grammar anyways.</p><p><strong>Part 2:<br
/> </strong>The domain must the config file. That means if you set up your site with the www in the url and someone goes to your site without the www in the url the voting system will not work.</p><p>I modified the .htaccess files to force www by adding the following lines:</p><p><code>RewriteEngine on<br
/> RewriteCond %{HTTP_HOST} !^www.your_domain.com$<br
/> RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]</code></p><p>I hope this helps someone.</p> ]]></content:encoded> <wfw:commentRss>http://samuelhaddad.com/2010/11/20/fmyscript-disappearing-voting-links/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>SoftArtisans OfficeWriter</title><link>http://samuelhaddad.com/2010/10/24/softartisans-officewriter/</link> <comments>http://samuelhaddad.com/2010/10/24/softartisans-officewriter/#comments</comments> <pubDate>Sun, 24 Oct 2010 23:15:35 +0000</pubDate> <dc:creator>Samuel Haddad</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Office Writer]]></category> <category><![CDATA[SoftArtisans]]></category> <guid
isPermaLink="false">http://samuelhaddad.com/?p=560</guid> <description><![CDATA[Disclaimer: While this article was written before I started working at SoftArtisans, I do work at SoftArtisans now.  Support for SoftArtisans products can be found at http://support.softartisans.com/ So today I tried out a product from SoftArtisans called OfficeWriter specifically the WordWriter feature. You can find a Demo here. I set out to create an application [...]]]></description> <content:encoded><![CDATA[<p>Disclaimer: While this article was written before I started working at SoftArtisans, I do work at SoftArtisans now.  Support for SoftArtisans products can be found at <a
href="http://support.softartisans.com/">http://support.softartisans.com/</a></p><p>So today I tried out a product from SoftArtisans called OfficeWriter specifically the WordWriter feature. You can find a Demo <a
href="http://support.softartisans.com/Login.aspx?SiteReturnUrl=eval">here</a>. I set out to create an application that would allow me to fill in a form and generate mailing labels to be printed. I found out that with SoftArtisans product this was extremely easy.</p><p>First I created a Mail Merge template in Microsoft office. You can download a copy of my <a
href="http://samuelhaddad.com/wp-content/uploads/2010/10/labels.doc">Label Template</a> if you would like.</p><p>Then I wrote the following code:</p><pre class="brush: csharp; title: ; notranslate">
  protected void generateBtn_Click(object sender, EventArgs e)
        {
            // Variables
            object[] arrValues = { firstNameTxt.Text, lastNameTxt.Text, addressTxt.Text, cityTxt.Text, stateTxt.Text, zipCodeTxt.Text };
            generateLabels(arrValues);
        }
        private void generateLabels(object[] arrValues)
        {
            WordTemplate wt = new WordTemplate();
            wt.Open(&quot;C:/labels.doc&quot;);
            string[] arrNameFields = { &quot;First_Name&quot;, &quot;Last_Name&quot;, &quot;Address_Line_1&quot;, &quot;City&quot;, &quot;State&quot;, &quot;ZIP_Code&quot; };
            //Bind Mail Merge Fields with Data
            wt.SetDataSource(arrValues, arrNameFields);
            wt.Process();
            //Save to browser
            wt.Save(Page.Response, &quot;Labels.doc&quot;, false);
        }
</pre><p>with the following front end:<br
/> <img
class="size-full wp-image-566" title="Generate Labels" src="http://samuelhaddad.com/wp-content/uploads/2010/10/form2.jpg" alt="" width="481" height="644" /></p><p>When opening the generate document I had the following output:</p><p><a
href="http://samuelhaddad.com/wp-content/uploads/2010/10/output.doc"><img
class="size-full wp-image-568" title="Output" src="http://samuelhaddad.com/wp-content/uploads/2010/10/output.jpg" alt="" width="519" height="199" /></a></p><p>You can download my solution <a
href="http://samuelhaddad.com/wp-content/uploads/2010/10/LabelGenerator.zip">here</a>, but remember that you need an Office Writer license or you must be using the demo license.</p> ]]></content:encoded> <wfw:commentRss>http://samuelhaddad.com/2010/10/24/softartisans-officewriter/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>AnkhSVN and Google Code</title><link>http://samuelhaddad.com/2010/10/14/ankhsvn-and-google-code/</link> <comments>http://samuelhaddad.com/2010/10/14/ankhsvn-and-google-code/#comments</comments> <pubDate>Thu, 14 Oct 2010 05:00:11 +0000</pubDate> <dc:creator>Samuel Haddad</dc:creator> <category><![CDATA[Desktop Enginnering]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[405 Method Not Allowed]]></category> <category><![CDATA[Ankhsvn]]></category> <category><![CDATA[Google Code]]></category> <category><![CDATA[MKACTIVITY]]></category> <guid
isPermaLink="false">http://samuelhaddad.com/?p=512</guid> <description><![CDATA[Recently I was trying to commit to my Jango Desktop project hosted on Google code. I was using AnkhSVN and I kept getting an error similar to: SharpSvn.SvnRepositoryIOException: Commit failed (details follow): ---> SharpSvn.SvnRepositoryIOException: Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for If anyone else runs into this [...]]]></description> <content:encoded><![CDATA[<p>Recently I was trying to commit to my <a
href="http://jangodesktop.com">Jango Desktop</a> project hosted on Google code. I was using AnkhSVN and I kept getting an error similar to:</p><p><code>SharpSvn.SvnRepositoryIOException: Commit failed (details follow): ---> SharpSvn.SvnRepositoryIOException: Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for</code></p><p>If anyone else runs into this issue I was trying to commit to the read only repository. An easy way to tell if this is your issue is to look at the repository url. Google’s commit repository starts with https: // not http://</p><p>If this is your issue log into Google code to obtain the correct repository url.</p> ]]></content:encoded> <wfw:commentRss>http://samuelhaddad.com/2010/10/14/ankhsvn-and-google-code/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>VBscript Permission Denied 800A0046 Solution</title><link>http://samuelhaddad.com/2009/06/26/vbscript-permission-denied-800a0046-solution/</link> <comments>http://samuelhaddad.com/2009/06/26/vbscript-permission-denied-800a0046-solution/#comments</comments> <pubDate>Fri, 26 Jun 2009 18:58:10 +0000</pubDate> <dc:creator>Samuel Haddad</dc:creator> <category><![CDATA[Desktop Enginnering]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[800A0046]]></category> <category><![CDATA[Copy and Paste]]></category> <category><![CDATA[Error]]></category> <category><![CDATA[File System Object]]></category> <category><![CDATA[FileSystemObject]]></category> <category><![CDATA[Permission]]></category> <category><![CDATA[Permission Denied]]></category> <category><![CDATA[VBScript]]></category> <guid
isPermaLink="false">http://samuelhaddad.com/?p=412</guid> <description><![CDATA[I was helping a friend write some VBscript the other day. I was trying to write a simple copy function and I kept getting permission denied. However I was logged in locally as the administrator so that could not be it. My code looked something like: The Solution is: add &#8220;\&#8221; add the end of [...]]]></description> <content:encoded><![CDATA[<p>I was helping a friend write some VBscript the other day. I was trying to write a simple copy function and I kept getting permission denied. However I was logged in locally as the administrator so that could not be it.</p><p>My code looked something like:</p><pre class="brush: vb; title: ; notranslate">
Sub CopyFile(source, destination)
	set filesys=CreateObject(&quot;Scripting.FileSystemObject&quot;)
	If filesys.FileExists(source) Then
	   filesys.CopyFile source, destination
	End If
End Sub
</pre><p><strong>The Solution is:</strong> add  &#8220;\&#8221; add the end of any of your path names like<br
/> Dim destinationpath<br
/> destinationpath = &#8220;C:\&#8221; &#038; myfolder &#038; &#8220;\&#8221;</p><p>Hope this helps someone else.</p> ]]></content:encoded> <wfw:commentRss>http://samuelhaddad.com/2009/06/26/vbscript-permission-denied-800a0046-solution/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Creating a Single Instance C# Application</title><link>http://samuelhaddad.com/2009/05/19/creating-a-single-instance-c-application/</link> <comments>http://samuelhaddad.com/2009/05/19/creating-a-single-instance-c-application/#comments</comments> <pubDate>Wed, 20 May 2009 00:51:13 +0000</pubDate> <dc:creator>Samuel Haddad</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[C#]]></category> <category><![CDATA[Mutex]]></category> <category><![CDATA[Single Instance]]></category> <category><![CDATA[Visual Studio]]></category> <guid
isPermaLink="false">http://samuelhaddad.com/?p=385</guid> <description><![CDATA[This is something I find myself looking up alot so I decided to put it into a post for easy access, and for anyone else who might be looking for a solution. Download Single Instance Application Source Code I still don&#8217;t get why in Visual Studio in VB.NET one could click make single instance application, [...]]]></description> <content:encoded><![CDATA[<p>This is something I find myself looking up alot so I decided to put it into a post for easy access, and for anyone else who might be looking for a solution.</p><pre class="brush: csharp; title: ; notranslate">using System.Threading;</pre><pre class="brush: csharp; title: ; notranslate">
    static class Program
    {
        /// &lt;summary&gt;
        /// The main entry point for the application.
        /// &lt;/summary&gt;
        [STAThread]
        static void Main()
        { 
            bool createdNew = true;
            using (Mutex mutex = new Mutex(true, &quot;SignleInstance&quot;, out createdNew))
            {
                if (createdNew)
                {
                    Application.EnableVisualStyles();
                    Application.SetCompatibleTextRenderingDefault(false);
                    Application.Run(new Form1());
                }
            }
        }
    }
</pre><p><a
href='http://samuelhaddad.com/wp-content/uploads/2009/05/singleinstance.zip'>Download Single Instance Application Source Code</a></p><p>I still don&#8217;t get why in Visual Studio in VB.NET one could click make single instance application, but that same feature doesn&#8217;t exist in C#? Don&#8217;t all .NET languages just get compiled to the CIL in the end?</p> ]]></content:encoded> <wfw:commentRss>http://samuelhaddad.com/2009/05/19/creating-a-single-instance-c-application/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Custom Free Silent LogMeIn Installer.</title><link>http://samuelhaddad.com/2009/05/17/custom-free-silent-logmein-installer/</link> <comments>http://samuelhaddad.com/2009/05/17/custom-free-silent-logmein-installer/#comments</comments> <pubDate>Mon, 18 May 2009 00:46:20 +0000</pubDate> <dc:creator>Samuel Haddad</dc:creator> <category><![CDATA[Desktop Enginnering]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Tech Support]]></category> <category><![CDATA[Custom LogMein Installer]]></category> <category><![CDATA[LogMeIn]]></category> <category><![CDATA[LogMeIn Silent Installer]]></category> <category><![CDATA[Silent Installer]]></category> <category><![CDATA[Single Click LogMeIn Installer]]></category> <guid
isPermaLink="false">http://samuelhaddad.com/?p=149</guid> <description><![CDATA[So there are already a few guides out there on how to make a Silent(In the sense that it don&#8217;t ask you for your username and password) LogMeIn installer. I am going to show you the way I do it with step by step instructions so that anyone can follow.  This tutorial will be broken into two [...]]]></description> <content:encoded><![CDATA[<p>So there are already a few guides out there on how to make a Silent(In the sense that it don&#8217;t ask you for your username and password) LogMeIn installer. I am going to show you the way I do it with step by step instructions so that anyone can follow.  This tutorial will be broken into two parts. Part 1 is for customizing the LogMeIn installer. The second part is for making your own.<span
style="color: #ff0000;"> Disclaimer this tutorial is for educational purposes only.</span></p><h1>Part 1 - Customizing the Installer:</h1><p><span
style="color: #ff0000;">Last updatede on September 17, 2009 to reflect the newest version of LogMeIn version 4.0.0.966 (Sep 5 2009)</span></p><p>Get the tools that you will need to complete this job:</p><p><a
href="http://www.technipages.com/wp-content/uploads/2007/11/orca.Msi" target="_self">Download Orca</a> &#8211; Orca is a MSI editor. It allows you to change the title and text of any MSI installer.<br
/> <a
href="http://www.logmein.com">LogMeIn.com</a> &#8211; Log into your LogMeIn account and download the installer. </p><p>Download me in installer to a folder on your desktop. Make a copy and name it LogMeInClean.msi incase you corrupt your installer and have to restart.</p><p><strong>Step 1: Edit the OnInstallExecuteSequence Table:</strong></p><p>Find the installer you just downloaded and right click on it and select <strong>&#8220;Edit with Orca&#8221;</strong></p><p>Find <strong>InstallExecuteSequence</strong> under the table list on the left hand side, then do the following: </p><ol><li>Select <strong>GetDeployInfo</strong> under the action list. <br
/> Change: <strong>UILevel=2 AND UPGRADEPRODUCT&lt;&gt;1 AND InstallMode&lt;&gt;&#8221;Remove&#8221;</strong><br
/> into: <strong>UPGRADEPRODUCT&lt;&gt;1 AND InstallMode&lt;&gt;&#8221;Remove&#8221;         </p><p></strong></li><li>Right click on the right panel and select &#8220;Add Row&#8221;:<br
/> ACTION: <strong>GetLMIRegistrationCookie<br
/> </strong>CONDITION: <strong>NOT Installed</strong><br
/> SEQUENCE: <strong>3710         </p><p></strong></li><li>Right click on the right panel and select &#8220;Add Row&#8221;:<br
/> ACTION: <strong>LMIGetLicense </strong><br
/> CONDITION: <strong>NOT Installed</strong><br
/> SEQUENCE: <strong>3730         </p><p></strong></li><li>Select <strong>CreateUser </strong>under the action list. <br
/> Change: <strong>CANCREATEUSER AND PASSWORDSOK=&#8221;true&#8221; AND VersionNT AND REMOVE&lt;&gt;&#8221;ALL&#8221;<br
/> </strong>into: <strong>VersionNT AND REMOVE&lt;&gt;&#8221;ALL&#8221;         </p><p></strong></li><li>Select <strong>CreateUserSetProperty</strong> under the action list. <br
/> Change: <strong>CANCREATEUSER AND PASSWORDSOK=&#8221;true&#8221; AND VersionNT AND REMOVE&lt;&gt;&#8221;ALL&#8221;<br
/> </strong>into: <strong>VersionNT AND REMOVE&lt;&gt;&#8221;ALL&#8221;         </p><p></strong></li><li>Right click on <strong>SetX64Path </strong>and select &#8220;Drop Row&#8221;<br
/> Right click on <strong>SetX86Path </strong>and select &#8220;Drop Row&#8221;</li></ol><p>Find <strong>Property </strong>under the table list on the left hand side, then do the following: under the table list on the left hand side, then do the following: </p><ol><li>Select <strong>LICENSETYPE</strong> under the action list.&#8221;<br
/> Change: <strong>5<br
/> </strong>into: <strong>0      </strong><strong> </strong></li><li><strong> </strong>Right click on <strong>DEPLOYID </strong>and select &#8220;Drop Row&#8221;<strong><span
style="color: #ff0000;"> </span></strong><span
style="color: #ff0000;">Important note, since installers can be reversed make a LogMeIn account which only has the ability to add computers, then move them out of that user&#8217;s name.  Once they are installed. Use this account for the following steps.  To make an account login to your LogMeIn account and click <strong>users</strong> on the left hand side. Then add a new <strong>Administrator</strong>, and give that account the ability to<strong> Deploy Computers. </strong>When a new computer is added you will want to edit that user and remove rights to that computer if you choose to do it this way.</span><br
/>  </li><li>Right click on the right panel and select &#8220;Add Row&#8221;:<br
/> property: <strong>USEREMAIL</strong><br
/> value: Y<strong>our account&#8217;s email address  </p><p></strong></li><li><span
style="color: #ff0000;"><span
style="color: #000000;">Right click o n the right panel and select &#8220;Add Row&#8221;:<br
/> property:<strong>USERWEBPASSWORD<br
/> </strong>value: <strong>Your account&#8217;s web login password</strong></span></span><span
style="color: #ff0000;"><strong>     </p><p></strong></span></li><li>Right click on the right panel and select &#8220;Add Row&#8221;:<br
/> property<strong>USERPASSWORD</strong><br
/> value: P<strong>assword if no windows password present         </p><p></strong></li><li>Right click on the right panel and select &#8220;Add Row&#8221;:<br
/> property: <strong>USERVERIFYPWD<br
/> </strong>value: P<strong>assword if no windows password present<span
style="color: #ff0000;"> If you need to configure LogMeIn for a proxy look for the proxy settings in the action list.       </p><p> </p><p></span></strong></li></ol><p><span
style="color: #000000;">Then in Orca click<strong> File </strong>then <strong>Save. </strong>Make sure you do save and not save as, this is because Orca only saves the different changes, if you notice you have a tiny file like .5mb then you did it wrong.</span> </p><p><strong> </strong> </p><h1>Part 2 &#8211; Making the Installer:</h1><p>Get the tools that you will need to complete this job:</p><p><a
href="http://www.jrsoftware.org/isinfo.php">Download Inno Setup</a> &#8211; <span
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 13px verdana; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: #000000; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0">Inno Setup is a free installer for Windows programs.</span> </p><p><a
href="http://samuelhaddad.com/wp-content/uploads/2009/05/setupkit.zip">Download the Setup Kit</a> &#8211; A simple kit I have put together for you to create a custom installer. Change the images to meet your needs.<br
/> That is it, make sure you leave your comments.</p><p> </p><p>Most of this information came from <a
title="www.msfn.org" href="http://www.msfn.org/board/index.php?showtopic=101432&amp;st=100">http://www.msfn.org/</a> by writting this post I hope to save you from digging through 8 pages of post, and give you the most relavent information for the newest version of LogMeIn.</p><p><strong> <br
/> Edit:</strong> 08/02/09:<br
/> Thank you Dale for pointing out a spelling mistake and an error.</p> ]]></content:encoded> <wfw:commentRss>http://samuelhaddad.com/2009/05/17/custom-free-silent-logmein-installer/feed/</wfw:commentRss> <slash:comments>60</slash:comments> </item> <item><title>Visual Studio Tips and Tricks</title><link>http://samuelhaddad.com/2009/05/06/visual-studio-tips-and-tricks/</link> <comments>http://samuelhaddad.com/2009/05/06/visual-studio-tips-and-tricks/#comments</comments> <pubDate>Thu, 07 May 2009 02:30:55 +0000</pubDate> <dc:creator>Samuel Haddad</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web Design]]></category> <category><![CDATA[Visual Studio]]></category> <guid
isPermaLink="false">http://samuelhaddad.com/?p=311</guid> <description><![CDATA[Alternate Case/Format selection: Have you ever been asked to update some code from a long time ago only to find that almost every tag is in capital letters?  AGHH! Highlight all that code and press CTRL + K then CTRL + F and you will format all the code. It would then look something like this [...]]]></description> <content:encoded><![CDATA[<h3>Alternate Case/Format selection:</h3><p>Have you ever been asked to update some code from a long time ago only to find that almost every tag is in capital letters?  AGHH!</p><pre class="brush: xml; title: ; notranslate">
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;TITLE&gt;My Really Old Site&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;P&gt; Lots of body test &lt;/P&gt;
&lt;P&gt; Lots of body test &lt;/P&gt;
&lt;P&gt; Lots of body test &lt;/P&gt;
&lt;IMG SRC=&quot;mypic.jpg&quot; width=351 height=113&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;
</pre><p>Highlight all that code and press CTRL + K then CTRL + F and you will format all the code. It would then look something like this</p><pre class="brush: xml; title: ; notranslate">
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;My Really Old Site&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;
Lots of body test
&lt;/p&gt;
&lt;p&gt;
Lots of body test
&lt;/p&gt;
&lt;p&gt;
Lots of body test
&lt;/p&gt;
&lt;img src=&quot;mypic.jpg&quot; width=&quot;351&quot; height=&quot;113&quot;&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre><p>Granted your code may still be far from perfect, but it is definitely a huge help.</p><h2>Key Launcher (Like Alt + Tab on Windows)</h2><p>Are you someone that lives by keyboard shortcuts? I know I am.  Are you familar with Windows Alt + Tab keyboard shortcut and toggling through all active programs? Well a similar feature exists within Visual Studio press <strong>Ctrl + Tab </strong>and toggle through your active Windows and Files.</p><p><img
class="alignnone size-full wp-image-331" title="Visual Studio Ctrl + Tab" src="http://samuelhaddad.com/wp-content/uploads/2009/05/controltab.png" alt="Visual Studio Ctrl + Tab" width="600" height="326" /></p><h2>Intellisense</h2><p><strong>Control + Spacebar </strong>will bring up intellisense if you are in code view. Great if you click out by accident or you just want to see what is available in the scope of the code.</p><p><img
class="alignnone size-full wp-image-332" title="Visual Studio Intellisense" src="http://samuelhaddad.com/wp-content/uploads/2009/05/intellisense.png" alt="Visual Studio Intellisense" width="334" height="191" /></p><h2>Break Points</h2><p>Have a bunch of break points scattered over a couple of files in a solution. Just want to delete them all and start fresh. <strong>Ctrl + Shift + F9 </strong>will delete all current break points in a solution. Don&#8217;t worry Visual Studio will prompt you with a confirmation first.</p><h2>Get Visual Studio Professional for free!</h2><p>Well maybe. If you are a student like myself you can head over to <a
href="https://www.dreamspark.com/" target="_blank">https://www.dreamspark.com/</a>which is run by Microsoft. They offer full versions of some of the newest Microsoft products, like Visual Studio. Why? Because they know we are the future and they think we are an investment. Take them up on the opportunity and get ahead of the competition.</p><h2>Shortcut key posters:</h2><p>Microsoft Visual Studio has a bunch of keyboard combinations that can be very helpful, to get a more complete list check out some of the resources Microsoft offers:</p><h2><img
class="alignnone size-full wp-image-336" title="Visual Studio Key Reference Posters" src="http://samuelhaddad.com/wp-content/uploads/2009/05/posters.png" alt="Visual Studio Key Reference Posters" width="524" height="282" /></h2><p><a
href="http://www.microsoft.com/downloads/details.aspx?familyid=E5F902A8-5BB5-4CC6-907E-472809749973&amp;displaylang=en" target="_blank">Visual C# 2008 Keybinding Reference Poster</a></p><p><a
href="http://www.microsoft.com/downloads/details.aspx?familyid=255b8cf1-f6bd-4b55-bb42-dd1a69315833&amp;displaylang=en" target="_blank">Visual Basic 2008 Keybinding Reference Poster</a></p><p><a
href="http://www.microsoft.com/downloads/details.aspx?FamilyID=4411bbfc-0e3c-42b3-bd05-af1d292c986f&amp;displaylang=en" target="_blank">Visual C++ 2008 Keybinding Reference Poster</a></p><p><a
href="http://www.microsoft.com/downloads/details.aspx?familyid=C15D210D-A926-46A8-A586-31F8A2E576FE&amp;displaylang=en" target="_blank">Visual C# 2005 Keyboard Shortcut Reference Poster</a></p><p><a
href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6bb41456-9378-4746-b502-b4c5f7182203&amp;DisplayLang=en" target="_blank">Visual Basic 2005 Keyboard Shortcut Reference Poster</a></p><p><a
href="http://www.microsoft.com/downloads/details.aspx?FamilyID=bccf84f4-4136-48b2-b4ec-83eaa484da20&amp;DisplayLang=en" target="_blank">Visual C++ 2005 Keyboard Shortcut Reference Poster</a></p> ]]></content:encoded> <wfw:commentRss>http://samuelhaddad.com/2009/05/06/visual-studio-tips-and-tricks/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
