Mark

…comments about software and other things
RSS icon Email icon Home icon
  • Can’t find Telnet in Vista?

    Posted on March 10th, 2009 admin No comments

    See this URL:  http://richmercer.com/blog/can-t-find-telnet-in-vista/

  • Backup Files To A USB Drive

    Posted on February 27th, 2009 admin No comments

    I use my following BAT script to backup my essential files to my USB hard drive.  It uses the free Microsoft tool called RoboCopy as part of the Microsoft Windows Resource Kit Tools. The Windows Resource Kit Tools help administrators streamline management tasks such as troubleshooting operating system issues, managing Active Directory, configuring networking and security features, and automating application deployment.

    See http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    :: Simple Backup sync of vital areas
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    SET RC=c:\windows\system32\robocopy.exe /mir /r:3 /w:10
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    :: Add your list of vital areas under here
    :: Using the same format. J:=USB Drive Letter
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    %RC% "c:\My Data" "J:\Backups\My Data"
    pause
    
  • Simualte AppName in VB.NET

    Posted on February 27th, 2009 admin No comments

    Here’s a little function I use to return the AppName (I use a global variable) with the current version string.

      
    Public Function GetAppTitle(Optional ByVal WithVersion As Boolean = True) As String
          Dim Major As Integer = System.Reflection.Assembly.GetExecutingAssembly.GetName().Version.Major.ToString
          Dim Minor As Integer = System.Reflection.Assembly.GetExecutingAssembly.GetName().Version.Minor.ToString
          Dim Revision As Integer = System.Reflection.Assembly.GetExecutingAssembly.GetName().Version.Revision.ToString
    
         If WithVersion = True Then
             Return AppName & " v" & Major.ToString & "." & Minor.ToString & "." & Revision.ToString
          Else
             Return AppName
          End If
    End Function
  • Tokenize Strings Easily

    Posted on February 27th, 2009 admin No comments

    These four functions are some of the ones I use the most!  They break a string up by tokens.   tokLeftRight, for instance, finds the first occurence of a token from the Left of the string  and returns everything after that token to the Right.  These have proven to be a great time saver for me.

    #Region "String Functions"
    
    Public Function tokLeftLeft(ByVal Source As String, ByVal token As String) As String
          Dim I As Integer
          tokLeftLeft = Source
          For I = 1 To Len(Source)
             If Mid(Source, I, 1) = token Then
                tokLeftLeft = Left(Source, I - 1)
                Exit Function
             End If
          Next I
    End Function
    
    Public Function tokLeftRight(ByVal Source As String, ByVal token As String) As String
          Dim I As Integer
          tokLeftRight = ""
          For I = 1 To Len(Source)
             If Mid(Source, I, 1) = token Then
                tokLeftRight = Right(Source, Len(Source) - I)
                Exit Function
             End If
          Next I
    End Function
    
    Public Function tokRightLeft(ByVal Source As String, ByVal token As String) As String
          Dim I As Integer
         tokRightLeft = ""
          For I = Len(Source) To 1 Step -1
             If Mid(Source, I, 1) = token Then
                tokRightLeft = Left(Source, I - 1)
                Exit Function
             End If
          Next I
    End Function
    
    Public Function tokRightRight(ByVal Source As String, ByVal token As String) As String
          Dim I As Integer
          tokRightRight = ""
          For I = Len(Source) To 1 Step -1
             If Mid(Source, I, 1) = token Then
                tokRightRight = Right(Source, Len(Source) - I)
                Exit Function
             End If
          Next I
    End Function
    
  • search 990 filings
  • bangles eternal flame mp3bengals forum
  • c span shelby foote
  • dennis
  • hp support 530
  • connecticut football
  • connecticut 104.1
  • replicas
  • yorker
  • chicago bears 61
  • hp support number united states
  • bonded
  • vince young 10 11
  • 4pm cspancspan area 51cspan 90.1
  • search engines and flash
  • vince young endorsementsvince young foundation
  • mtv live
  • tea party hobbits
  • cspan journal
  • playbook
  • vince young usc
  • bengals usa
  • mtv 2 schedule
  • rinse
  • purchased
  • glow
  • zara phillips baby
  • c span yesterdayc span zelaya
  • battleship ipad
  • zara phillips and the queen
  • randy moss college
  • search jail inmates
  • insomnia
  • bengals 08 schedule
  • chad ochocinco parents
  • luna
  • la ink ink
  • tea party texas
  • dictation
  • pathfinder
  • dis systems
  • search vim
  • ambient
  • la ink season 6
  • layout
  • la ink 105
  • legs
  • la ink bam margera
  • vince young injury
  • zara phillips wedding date
  • connecticut sun
  • randy moss 98 vikings
  • search google cache
  • bengals 80's
  • mtv youtube channel
  • search comcast net
  • bengals kids jersey
  • search engines compared
  • span
  • search 32
  • new england patriots espn blog
  • beau coup
  • chad ochocinco free agent
  • greg olsen vancouver
  • wage
  • zara phillips yachtzara phillips zimbio
  • shear
  • chad ochocinco age
  • saphire
  • toes
  • mtv cartoons
  • chicago bears schedule 2011
  • search engines for jobs
  • tea party young people
  • prep
  • trench
  • capture
  • chad ochocinco wedding date
  • connecticut transit
  • bea 0b0 105
  • hp support quick test pro
  • new england patriots rumors
  • chicago bears 2009 roster
  • chicago bears 08 record
  • c span yesterdayc span zelaya
  • carriage
  • la ink 2011 season 5
  • la ink bob tyrrell
  • zara phillips baby
  • vince young depression
  • messiah
  • gregg olsen books
  • battleship excel
  • la ink tattoos
  • freida pinto green dress
  • la ink 3rd season
  • search engines before google
  • battleship vittorio veneto
  • la ink map
  • vince young dadvince young eagles
  • battleship aurora
  • sonny
  • cspan question timecspan radio
  • search engines images
  • battleship kirishima
  • mtv oddities
  • chicago bears rumors 2011
  • search 78search 800 numbers
  • expanding
  • zara phillips and the queen
  • vince young yahoo stats
  • disloyaldis magazine
  • realestate
  • opinions
  • reactor
  • romanian
  • chad ochocinco quits football
  • search protocol host
  • search engines no follow
  • search engines us
  • dis 0 0.9
  • chicago bears 09 draft
  • bea karp
  • behind
  • hp support driver downloads
  • vince young 6
  • stroker
  • hairstyles
  • dockside
  • freida pinto glamour 2011
  • soma
  • vince young quiz
  • new england patriots 98.5
  • hp support repair
  • hp support center
  • search and seizure
  • battleship 3d game
  • new england patriots needs
  • millenia
  • nickelback
  • dist 95
  • search engines non tracking
  • ballast
  • connecticut 97.7connecticut attorney general
  • nacht
  • cspan facebook
  • chad ochocinco vs skip bayless
  • tea party manifesto
  • contestants
  • search cfisd.net
  • tea party table settings
  • imax
  • search engines cookiessearch engines definition
  • webcast
  • search engines 9
  • dis 2012 conference
  • containers
  • zara phillips engagement ring
  • chad ochocinco to patriots
  • greg olsen boulder
  • greg olsen combine
  • bengals tryouts
  • skipper
  • bea luna
  • competition
  • bengals new uniforms 2012
  • search tumblr
  • randy moss university
  • montel
  • bea rims
  • battleship hacked
  • convertible
  • cspan ap government review
  • randy moss wallpaper
  • connecticut 100 club
  • randy moss 07 08 highlights
  • zara phillips husband
  • hp support chat
  • randy moss autograph
  • search in vi
  • randy moss future
  • crimp
  • chicago bears tattoos
  • randy moss combine results
  • discjuggler
  • bengals andy dalton