Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
| Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 2nd, 2004, 10:45 AM
Registered User
 
Join Date: Apr 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error 70: Permission denied

Hey guys! I was programming a remote administration programme that copies itself to the windows dir on the system, "C:\WINNT\" on Win NT and 2000, "C:\WINDOWS\" on Windows 95, 98 and ME. As I run Win200Pro, it copies itself to the windows dir "WINNT", and modifies the registry that it starts up when windows starts. It then goes listening as a daemon for incoming connections and commands. When I run it from another location, but not the windows dir, it works fine, but when I try to run it from "C:\WINNT\", it gives this :(lovely:( error: "Error 70 : Permission Denied". I've tried some things but they don't work. Does anyone know how to make this work?

  #2 (permalink)  
Old April 2nd, 2004, 03:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You sure that is an 'administration' program? Looks like a virus to me :-)))
Marco
  #3 (permalink)  
Old April 3rd, 2004, 03:42 AM
Registered User
 
Join Date: Apr 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, t'is a daemon, and they need to do this, and of course, it can be used maliciously, but I'm certainly not planning to. I don't even WANT to spread virusses, because they are a danger to many systems, including public services!



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting a permission denied error in IE 7 disto Javascript 1 September 20th, 2007 08:26 AM
Error no 70 Permission Denied rupakroy5 Pro VB 6 5 October 7th, 2006 01:26 AM
Permission Denied Error interrupt Javascript How-To 6 October 15th, 2004 05:26 AM
"70 Permission Denied" error in Windows 98 benoyraj VB How-To 0 May 3rd, 2004 12:53 PM
Permission Denied Error in VBA ebalch24 Access VBA 3 April 12th, 2004 06:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.