|
Thread: mid
-
Nov 3rd, 2002, 05:18 PM
#1
Thread Starter
Fanatic Member
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
-
Nov 3rd, 2002, 05:30 PM
#2
Hyperactive Member
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.
-
Nov 3rd, 2002, 05:33 PM
#3
Frenzied Member
Post the entire line where MID is highlighted.
-
Nov 3rd, 2002, 05:38 PM
#4
Thread Starter
Fanatic Member
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) & "\"
-
Nov 3rd, 2002, 05:42 PM
#5
Frenzied Member
See what happens when you do this:
VB Code:
Dim strTitle as String
strTitle = pstrTempFolder.Title 'I think this is your error
BrowseForFolder = Mid(strTitle, (clngColonPosition - 1), 2) & "\"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|