|
-
Mar 7th, 2006, 03:19 PM
#1
Thread Starter
Member
[RESOLVED] Strange debugging problem
I have a rather large project that was developed in VB5. Up until a few days ago, it worked like a champ debugging wise. Then I loaded up some software for my step-daughter. After that, my VB5 IDE wouldn't load properly, so I reinstalled VB5.
Now the following code fails under the IDE but seems to be fine when the program is compiled to a .ESE:
<vbcode>
On Error Resume Next
MkDir(DefaultPath & "Dir1")
MkDir(DefaultPath & "Dir2")
On Error GoTo 0
End Sub
</vbcode>
(This is part of the Load event for the main form.)
Running under the IDE results in an Error window, clicking on "Continue" takes me to the first MkDir() call. The Err.Number is 75. Also of note is that the IDE will not display the contents of Err.Number (I put a test after the first MkDir: If Err.Number <> 0 Then MsgBox("MkDir Error " & Err.Number) to test things.)
Any suggestions? I'm stumped!
RussCanada
Last edited by RussCanada; Mar 8th, 2006 at 11:36 AM.
Reason: Resolved!
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
|