Results 1 to 5 of 5

Thread: mid

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2002
    Posts
    586

    mid

    Greetings,

    Does anyone know which components or reference file supports the "Mid" function. I keep gettingan error saying """Can't find project or library" with Mid highlighted.

    I've been trying different components and references for a while now. any ideas?

    Thank you,
    Jim

  2. #2
    Hyperactive Member brenaaro's Avatar
    Join Date
    Sep 2001
    Location
    Montreal, Canada
    Posts
    391
    I believe it's defined in VBA..which should be msvbvm60.dll
    And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.

  3. #3
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    Post the entire line where MID is highlighted.
    Please rate my post.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2002
    Posts
    586
    Regarding the VBA file, I do have it selected in references, and it is the dll that was indicated.


    Well, here's the line itself, but the thing is, "Trim" don't work either. Maybe I need something in components, besides the reference dll which I already have?

    BrowseForFolder = Mid(pstrTempFolder.Title, (clngColonPosition - 1), 2) & "\"

  5. #5
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    See what happens when you do this:

    VB Code:
    1. Dim strTitle as String
    2. strTitle = pstrTempFolder.Title 'I think this is your error
    3. BrowseForFolder = Mid(strTitle, (clngColonPosition - 1), 2) & "\"
    Please rate my post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width