Problem with Left Function
Error: Mismatched Type
from
WinCustomize Forums
Tried using the code here:
The code keeps coming back as an error though
Type Mismatch: "Left"
Line: 135
Code: (not available)
What could be causing this error? I checked the VBScript website at Microsoft and I am using the function correctly.
Any ideas?
Code
- 134 If Len(track) > TrackChar Then
- 135 Track = Left(Track, TrackChar)
- 136 DesktopX.Object("widget_itunes_track").Text = Track
The code keeps coming back as an error though
Type Mismatch: "Left"
Line: 135
Code: (not available)
What could be causing this error? I checked the VBScript website at Microsoft and I am using the function correctly.
Any ideas?