Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pcanywhere OLE delete object problem

Status
Not open for further replies.

murphyc

Programmer
Sep 6, 2002
25
0
0
HK
I want to delete the xxxx.chf use the remotedatamanager.deleteobject, after i press the button, it can delete the xxxx.chf file. But it said "Object Required at last line. What's wrong on this code?

Thanks


Private Sub Command2_Click()

Dim RemoteDataManager As Object
Dim RemoteData As Object

Set RemoteDataManager = CreateObject("WINAWSVR.REMOTEDATAMANAGER")

RemoteDataManager.ChangeDirectory ("C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\")

Set RemoteData = RemoteDataManager.DeleteObject("Remote", 111111)




End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top