<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Technology All The Way</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/" />
    <link rel="self" type="application/atom+xml" href="http://www.iodid.com/blogs/techlog/atom.xml" />
    <id>tag:www.iodid.com,2008-11-19:/blogs/techlog/2</id>
    <updated>2008-11-19T22:50:31Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.21-en</generator>

<entry>
    <title>File Renaming</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2006/01/file-renaming.html" />
    <id>tag:tmichael.sc104.info,2006:/blogs/techlog//2.21</id>

    <published>2006-01-16T23:50:58Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>If you ever need to rename a large number of files, for instance you have finally decided to organize your digital photos, check out Bulk Rename Utility - Downloads. This program seems complex at first, but that is simply because...</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>If you ever need to rename a large number of files, for instance you have finally decided to organize your digital photos, check out <a title="Bulk Rename Utility - Downloads" href="http://www.bulkrenameutility.co.uk/Download.php">Bulk Rename Utility - Downloads</a>.</p>

<p>This program seems complex at first, but that is simply because it can do almost any sort of bulk renaming you can imagine. As a computer geek, I know I could write this program. Lucky for me, I  don't have to as it has already been written.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Network Mapping made easy</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2005/06/network-mapping-made-easy.html" />
    <id>tag:tmichael.sc104.info,2005:/blogs/techlog//2.20</id>

    <published>2005-06-05T06:54:14Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>While trying to map my local network, I was pointed to this program: Network management, network discovery, SNMP, MIB and WMI browsers, NetBIOS and port scanner Seems to work very well and the price is very right....</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="Windows XP" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>While trying to map my local network, I was pointed to this program:</p>

<p><a title="Network management, network discovery, SNMP, MIB and WMI browsers, NetBIOS and port scanner" href="http://www.networkview.com/index.html">Network management, network discovery, SNMP, MIB and WMI browsers, NetBIOS and port scanner</a></p>

<p>Seems to work very well and the price is very right.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Webcam Software</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2005/02/webcam-software.html" />
    <id>tag:tmichael.sc104.info,2005:/blogs/techlog//2.19</id>

    <published>2005-02-23T17:18:27Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>I like the looks of this program: TinCam WebCam Software I guess I will have to try it out....</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>I like the looks of this program: <a title="TinCam WebCam Software" href="http://www.tincam.com/index.php">TinCam WebCam Software</a></p>

<p>I guess I will have to try it out.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Recording LP Albums</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2004/01/recording-lp-albums.html" />
    <id>tag:tmichael.sc104.info,2004:/blogs/techlog//2.18</id>

    <published>2004-01-28T15:26:10Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>The Recording LP Albums On Your Computer - Tutorials might be very useful if I ever get around to helping my father convert his many LPs to digital recordings....</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>The <a title="Recording LP Albums On Your Computer - Tutorials" href="http://www.audiocourses.com/article109.html">Recording LP Albums On Your Computer - Tutorials</a> might be very useful if I ever get around to helping my father convert his many LPs to digital recordings.</p>]]>
        
    </content>
</entry>

<entry>
    <title>CDOSYS.dll missing</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2003/10/cdosysdll-missing.html" />
    <id>tag:tmichael.sc104.info,2003:/blogs/techlog//2.17</id>

    <published>2003-10-21T21:01:52Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>As I worked to convert the c# info in my post about saving a web page as an mht file, I ran into a problem with the reference to cdosys.dll. A little research brought me to this page: 318823 -...</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="VB.Net" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>As I worked to convert the c# info in my post about saving a web page as an mht file, I ran into a problem with the reference to cdosys.dll.</p>

<p>A little research brought me to this page:</p>

<p><a title="318823 - CDO for Windows 2000 Library Reference Is Unavailable in Visual Basic Project" href="http://support.microsoft.com/?id=318823">318823 - CDO for Windows 2000 Library Reference Is Unavailable in Visual Basic Project</a></p>

<p>There I learned:</p>

<blockquote>
If you try to create or modify a project that references the Microsoft Collaboration Data Objects for Windows 2000 (CDOSYS) Library, the reference is not available. The reference for the Microsoft Collaboration Data Objects (CDO) for Exchange 2000 Library is present instead.
</blockquote> 

<p>So the quest continues.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Saveas MTH file</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2003/10/saveas-mth-file.html" />
    <id>tag:tmichael.sc104.info,2003:/blogs/techlog//2.16</id>

    <published>2003-10-21T20:44:18Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>I want to download and programatically save web pages as mht files. I was having a hard time until I went to IE SaveAS MHTML in C#, where I found the following code: Make a reference to these two COM...</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="VB.Net" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>I want to download and programatically save web pages as mht files. I was having a hard time until I went to <a title="IE SaveAS MHTML in C#" href="http://fanms.com/?ID=C6538E3B-3EC2-4A87-9D28-6FAAFAA44EF8">IE SaveAS MHTML in C#</a>, where I found the following code:<br />
<blockquote></p>

<p>Make a reference to these two COM objects: <br />
C:\WINDOWS\SYSTEM32\cdosys.dll<br />
C:\Program Files\Common Files\System\ado\msado15.dll </p>

<p>I don't think neither of these have PIAs (Primary Interop Assembly) so this will generate two typelibs for your project. </p>

<p>The Source: </p>

<p>CDO.MessageClass message = new CDO.MessageClass();<br />
message.CreateMHTMLBody("http://www.fanms.com/", CDO.CdoMHTMLFlags.cdoSuppressNone, "", "");</p>

<p>ADODB.Stream stream = message.GetStream();<br />
stream.SaveToFile("fanms.mht", ADODB.SaveOptionsEnum.adSaveCreateOverWrite);</p>

</blockquote>

<p>Now I just have to change it to VB.</p>

<p><b>Update:</b> Here is my version of this code in VB:<br />
<blockquote></p>

<p>Dim message As New CDO.MessageClass()<br />
message.CreateMHTMLBody("http://www.iodid.com", CDO.CdoMHTMLFlags.cdoSuppressNone, "", "")</p>

<p>Dim Outstream As ADODB.Stream<br />
Outstream = message.GetStream<br />
Outstream.SaveToFile("c:\test.mht", ADODB.SaveOptionsEnum.adSaveCreateOverWrite)<br />
</blockquote></p>]]>
        
    </content>
</entry>

<entry>
    <title>Very Useful Moveable Type Plug-in</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2003/08/very-useful-moveable-type-plug-in.html" />
    <id>tag:tmichael.sc104.info,2003:/blogs/techlog//2.15</id>

    <published>2003-08-24T03:59:07Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>I used the plugin that I found at Movable Type Plugins: Supplemental Calendar Tags plugin documentation to add a 3 month calendar to my index page....</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="VB.Net" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>I used the plugin that I found at <a title="Movable Type Plugins: Supplemental Calendar Tags plugin documentation" href="http://mt-plugins.org/local/mtcalx.php">Movable Type Plugins: Supplemental Calendar Tags plugin documentation</a> to add a 3 month calendar to my index page.</p>]]>
        
    </content>
</entry>

<entry>
    <title>TreeNode Level</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2003/06/treenode-level.html" />
    <id>tag:tmichael.sc104.info,2003:/blogs/techlog//2.14</id>

    <published>2003-06-22T21:55:10Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>If you spend any time working with Treeviews, I can&apos;t imagine not needing this or having to invent it yourself:Windows Forms FAQ - Windows Forms TreeView [VB.NET] Public Sub NodateLevel(ByVal node as TreeNode) As Integer Dim level as Integer =...</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="VB.Net" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>If you spend any time working with Treeviews, I can't imagine not needing this or having to invent it yourself:<blockquote><a title="Windows Forms FAQ - Windows Forms TreeView" href="http://www.syncfusion.com/FAQ/WinForms/FAQ_c91c.asp#q935q">Windows Forms FAQ - Windows Forms TreeView</a></p>

<p>[VB.NET] </p>

<p>     Public Sub NodateLevel(ByVal node as TreeNode) As Integer </p>

<p>          Dim level as Integer = 0 </p>

<p>          While Not node Is Nothing </p>

<p>               node = node.Parent </p>

<p>               level = level   1 </p>

<p>          End While </p>

<p>     End Sub </blockquote></p>

<p>I edited into this:<blockquote><br />
    Private Function NodeLevel(ByVal node As TreeNode) As Integer<br />
        Dim level As Integer = 0<br />
        While Not node Is Nothing<br />
            node = node.Parent<br />
            level = level + 1<br />
        End While<br />
    End Function<br />
</blockquote></p>]]>
        
    </content>
</entry>

<entry>
    <title>Hide Datagrid Expanders</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2003/06/hide-datagrid-expanders.html" />
    <id>tag:tmichael.sc104.info,2003:/blogs/techlog//2.13</id>

    <published>2003-06-21T23:12:49Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>In the program I am developing, I wanted to show data from a table in a datagrid. This table is related to another table. As a result, this datagrid would show an expander and the name of that other table....</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="VB.Net" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>In the program I am developing, I wanted to show data from a table in a datagrid. This table is related to another table. As a result, this datagrid would show an expander and the name of that other table. I wanted this hidden. So I asked myself, "How do I hide the expander?" I didn't know so I searched and found the following: <blockquote><a title="Microsoft Support WebCasts" href="http://support.microsoft.com/default.aspx?scid=/servicedesks/webcasts/wc090502/WCT090502.asp">Microsoft Support WebCasts</a></p>

<p>One DataGrid is designated to be the master grid and the second is designated to be the details grid. When you select an entry in the master list, all of the related child entries are shown in the details list. As you can see, there are no expanders shown on the master DataGrid. This is done by setting the AllowNavigation property of the DataGrid controls to false.</blockquote></p>

<p>So there you have it set AllowNavigation to False. If you happen to find this useful, please link to this post as there is nothing that says to do this to hide them. I think this would be very helpful to others.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Version Number</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2003/06/version-number.html" />
    <id>tag:tmichael.sc104.info,2003:/blogs/techlog//2.12</id>

    <published>2003-06-09T20:29:55Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary><![CDATA[I used information from Versioning an Assembly to be able to control the version numbers of my current project. Specifically: imports system imports system.reflection Imports System.Runtime.InteropServices &lt;Assembly: AssemblyTitle(&quot;&quot;)&gt; &lt;Assembly: AssemblyDescription(&quot;&quot;)&gt; &lt;Assembly: AssemblyCompany(&quot;&quot;)&gt; &lt;Assembly: AssemblyProduct(&quot;&quot;)&gt; &lt;Assembly: AssemblyCopyright(&quot;&quot;)&gt; &lt;Assembly: AssemblyTrademark(&quot;&quot;)&gt; &lt;Assembly: CLSCompliant(True)&gt;...]]></summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="VB.Net" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>I used information from <a title="Versioning an Assembly" href="http://www.dotnetextreme.com/articles/versioning.asp">Versioning an Assembly</a> to be able to control the version numbers of my current project. <blockquote>Specifically: </p>

<p>imports system<br />
imports system.reflection<br />
Imports System.Runtime.InteropServices</p>

<p>&lt;Assembly: AssemblyTitle(&quot;&quot;)&gt;<br><br />
&lt;Assembly: AssemblyDescription(&quot;&quot;)&gt; <br><br />
&lt;Assembly: AssemblyCompany(&quot;&quot;)&gt;<br><br />
&lt;Assembly: AssemblyProduct(&quot;&quot;)&gt;<br><br />
&lt;Assembly: AssemblyCopyright(&quot;&quot;)&gt;<br><br />
&lt;Assembly: AssemblyTrademark(&quot;&quot;)&gt;<br><br />
&lt;Assembly: CLSCompliant(True)&gt;<br></p>

<p>'The following GUID is for the ID of the typelib if this project is exposed to COM<br />
&lt;Assembly: Guid(&quot;41BD3203-06FC-4FF4-8A74-3C842C207D49&quot;)&gt; </p>

<p>' Version information for an assembly consists of the following four values:<br />
'<br />
'      Major Version<br />
'      Minor Version <br />
'      Build Number<br />
'      Revision<br />
'<br />
' You can specify all the values or you can default the Build and Revision Numbers <br />
' by using the '*' as shown below:</p>

<p>&lt;Assembly: AssemblyVersion(&quot;1.0.0.0&quot;)&gt;<br />
</blockquote></p>]]>
        
    </content>
</entry>

<entry>
    <title>Long List of How To&apos;s</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2003/06/long-list-of-how-tos.html" />
    <id>tag:tmichael.sc104.info,2003:/blogs/techlog//2.11</id>

    <published>2003-06-07T23:04:19Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>I stumbled across this list. I think it may be very helpful in the future: Microsoft QuickStart Tutorials...</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="VB.Net" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>I stumbled across this list. I think it may be very helpful in the future:<br />
<a title="Microsoft QuickStart Tutorials" href="http://samples.gotdotnet.com/quickstart/howto/">Microsoft QuickStart Tutorials</a></p>]]>
        
    </content>
</entry>

<entry>
    <title>Bringing a specific window to the top yet again</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2003/06/bringing-a-specific-window-to-the-top-yet-again.html" />
    <id>tag:tmichael.sc104.info,2003:/blogs/techlog//2.10</id>

    <published>2003-06-07T22:49:22Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>I was still having problems so I found this page: Create a Form that Cannot Be Activated From It I found this that seems to work better: Private Declare Function BringWindowToTop _ Lib &quot;user32&quot; (ByVal hwnd As Long) As Long...</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="VB.Net" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>I was still having problems so I found this page:<br />
<a title="Create a Form that Cannot Be Activated" href="http://www.freevbcode.com/ShowCode.Asp?ID=2471">Create a Form that Cannot Be Activated</a></p>

<p>From It I found this that seems to work better:<br />
<blockquote><br />
Private Declare Function BringWindowToTop _<br />
   Lib "user32" (ByVal hwnd As Long) As Long<br />
</blockquote></p>]]>
        
    </content>
</entry>

<entry>
    <title>Manipulating Word and Its SpellChecker pt. 1</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2003/06/manipulating-word-and-its-spellchecker-pt-1-1.html" />
    <id>tag:tmichael.sc104.info,2003:/blogs/techlog//2.9</id>

    <published>2003-06-07T19:33:36Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>Now that I have the handle for Word I need to make use of the Topmost function to raise it above the others. I found this page to be helpful: VB TopMost Function The most useful parts are: Public Const...</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="VB.Net" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p>Now that I have the handle for Word I need to make use of the Topmost function to  raise it above the others. I found this page to be helpful:</p>

<p><a title="VB TopMost Function" href="http://www.ilook.fsnet.co.uk/vb/vbtop.htm">VB TopMost Function</a></p>

<p>The most useful parts are:<br />
<Blockquote><br />
Public Const HWND_TOPMOST = -1<br />
Public Const HWND_NOTOPMOST = -2<br />
Public Const SWP_NOMOVE = &H2<br />
Public Const SWP_NOSIZE = &H1<br />
Public Const SWP_NOACTIVATE = &H10<br />
Public Const SWP_SHOWWINDOW = &H40<br />
Public Const TOPMOST_FLAGS = SWP_NOMOVE Or SWP_NOSIZE<br />
Public Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, y, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long</p>

<p>Public Sub MakeTopMost(Handle As Long)<br />
SetWindowPos Handle, HWND_TOPMOST, 0, 0, 0, 0, TOPMOST_FLAGS<br />
End Sub</p>

<p>Public Sub MakeNormal(Handle As Long)<br />
SetWindowPos Handle, HWND_NOTOPMOST, 0, 0, 0, 0, TOPMOST_FLAGS<br />
End Sub<br />
</Blockquote></p>]]>
        
    </content>
</entry>

<entry>
    <title>Word&apos;s Classname</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2003/06/words-classname.html" />
    <id>tag:tmichael.sc104.info,2003:/blogs/techlog//2.8</id>

    <published>2003-06-07T19:20:39Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>Particle Software :: Recall Application...</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="VB.Net" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p><a title="Particle Software :: Recall Application" href="http://www.particlesoftware.com/en/recall.html">Particle Software :: Recall Application</a></p>]]>
        
    </content>
</entry>

<entry>
    <title>Method to cause an application to show a dialog box</title>
    <link rel="alternate" type="text/html" href="http://www.iodid.com/blogs/techlog/archives/2003/06/method-to-cause-an-application-to-show-a-dialog-box.html" />
    <id>tag:tmichael.sc104.info,2003:/blogs/techlog//2.7</id>

    <published>2003-06-07T19:18:22Z</published>
    <updated>2008-11-19T22:50:31Z</updated>

    <summary>Show Method Here is how I used it: x = WordApp.Dialogs.Item(WdWordDialog.wdDialogToolsSpellingAndGrammar).Show...</summary>
    <author>
        <name>tmichael</name>
        
    </author>
    
        <category term="VB.Net" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.iodid.com/blogs/techlog/">
        <![CDATA[<p><a title="Show Method" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbagr10/html/grproAutoCorrect.asp">Show Method</a></p>

<p>Here is how I used it:<br />
 x = WordApp.Dialogs.Item(WdWordDialog.wdDialogToolsSpellingAndGrammar).Show</p>]]>
        
    </content>
</entry>

</feed>

