|
-
Nov 16th, 2001, 04:29 PM
#1
Thread Starter
Fanatic Member
Termanate.. NOW
I am closing a program, the deleting it and its Dir.
Problem is its still lingering around and I am getting an Access Violation..
How do I END a program
I am ..... unload me
end
What am I doing wrong?
Seahag
-
Nov 16th, 2001, 04:33 PM
#2
Frenzied Member
Are you trying to Kill the same program that is killing the program after the unload, end, whatever?
seoptimizer2001
VB 6.0, VC++, VI, ASP, JavaScript, HTML,
Perl, XML, SQL Server 2000
If God had intended us to drink beer, He would have given us stomachs.
Please use the [code] and [vbcode] tags in your posts!
If you don't know how to use them please go HERE!

-
Nov 16th, 2001, 04:40 PM
#3
Thread Starter
Fanatic Member
Good question..
I made sure it wasn't and its still happening..
Do you know what I am going through>?
-
Nov 16th, 2001, 04:54 PM
#4
Frenzied Member
I know there was a thread recently about finding out what programs are currently running. Maybe you can find that thread and use it to your advantage here to make sure the program is not running when you try to kill it. Or just do an on error resume so that it keeps trying to kill the file until it finally can.
seoptimizer2001
VB 6.0, VC++, VI, ASP, JavaScript, HTML,
Perl, XML, SQL Server 2000
If God had intended us to drink beer, He would have given us stomachs.
Please use the [code] and [vbcode] tags in your posts!
If you don't know how to use them please go HERE!

-
Nov 16th, 2001, 05:01 PM
#5
Thread Starter
Fanatic Member
Sheesh.. on error resum next doesn't work!@!
Yikes...
Really starting to bother me.. I hate when I get stumped..
-
Nov 16th, 2001, 05:11 PM
#6
Frenzied Member
Don't use On Error Resume Next use On Error Resume.
seoptimizer2001
VB 6.0, VC++, VI, ASP, JavaScript, HTML,
Perl, XML, SQL Server 2000
If God had intended us to drink beer, He would have given us stomachs.
Please use the [code] and [vbcode] tags in your posts!
If you don't know how to use them please go HERE!

-
Nov 16th, 2001, 05:26 PM
#7
Member
One question, is the "Access Violation" coming from memory violation, or file violation?
If you were running a program from c:\Root\Parent\Child, you wouldn't be able to delete the Child directory until you'd changed to maybe the Parent directory would you???
Boring signature included.
VB6 SP3.
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
|