What is the URL of
  • Renee September 2009
    the system startup folder?
  • Renee September 2009
    like c:/ProgramData/Microsoft/Windows/StartMenu/Programs/Startup ???

    Renee
  • Renee September 2009
    Let's try this....

    What is the search string for "search all directories below and this one?"
  • Omie September 2009
    what and where are you trying this ?
  • Renee September 2009
    I am trying this on my home systems which is an Extreme and a t61p lenovo notebook and they both have Windows 7 on them.

    I have a double whammy. The instant I return, they change OS's. Not only do they change OS's but they went to one that does not return statuses and is really quite a bit different from Vista. Personally, I liked Vista far better than I like Windows 7. Gates had it together, technically. His replacement does not.

    Renee
  • Renee September 2009
    Omie,

    On my list of things to write, is a VB "Dir" command that drills down through directories, returning the things its asked to.


    There is a DLL routine that will take or expand upon search strings given it. I sure wish to find the name of that file and the routine name.

    Renee
  • Omie September 2009
    you want to find that specific dll ? If its in vb then its easy to code your own routine nah.


    Imports System.IO

    Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim path As String
    Dim temp As New DirectoryInfo("InitialPathToSearch")
    path = SearchFile(temp, "filename.exe")
    MsgBox(path)
    End Sub

    Private Function SearchFile(ByVal SearchDir As DirectoryInfo, ByVal searchFileName As String) As String
    Dim temp As String = ""
    If SearchDir.GetFiles(searchFileName).Length > 0 Then
    Return SearchDir.FullName & "\" & searchFileName
    End If
    Dim Directories() As DirectoryInfo = SearchDir.GetDirectories("*")
    For Each newDir As DirectoryInfo In Directories
    temp = SearchFile(newDir, searchFileName)
    Next
    Return temp
    End Function
    End Class

    http://vb2010.wordpress.com/2009/08/29/ ... in-vb-net/
  • Renee October 2009
    Thanks!!! I saved that in my clip pickerupper.
    Renee
  • Omie October 2009
    Renee,

    Where were you ?
  • Renee October 2009
    Where was I? I must be thick because I don't know whay you mean.

    I have a feeling that .getfiles call the routine I was talking about but I haven't checked that yet.

    Renee
  • Dig-Boy November 2009
    I think he means this...

    "Renee":

    The instant I return, they change OS's.
  • Renee May 2011
    I was in the hospital for a year. I was the victim of hit and run by an illegal alien.

    Renee

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook

Sign In Apply for Membership