Just to be brief, I usually add some files using the file sharing option (PDF reader, movie, etc). Problem is, for one of application I can't see the files when I'm open the application. Is there anyway to remove the files via iTunes when I connect my Ipad to laptop/PC?? (I attach the screencap). I know it probably will do any harm if I just left them be, but having a little OCD makes me really really want to delete them anyway.
Hello,I'm working on an automatic update program for one of my apps. It needs to replace files in the app's folder with updated versions. This works great if the computer is standalone - it closes any apps that might be using the files, deletes the old file and replaces it with the new version.However, several clients have the program running in a networked environment, where the app's files might be running on multiple networked computers. This seems to cause the files to be locked (in use) on the main computer, and therefore they cannot be deleted.I'm wondering if there's some way to force the operating system to delete a file, even though it's being used by another user over the network.Alternately, if that's not possible, is there a way to disconnect sharing for just that file so it can be deleted normally? I suppose unsharing the app's folder would work as well, but the whole drive is shared and I don't want to disconnect any other programs or files users might be working on.Either way, I'm stumped. Anyone done something like this before?Thanks,mwdelta
How to create a directory in samba share in which user can write read files but neither can create more directories tree nor delete any directory. suppose [Share] comment = NRshare path = /home/share browseable = yes [Code]..... I know user cannot delete share directory here. But user can create any number of directories of files in share. I would like to create directories in share which cannot be added or deleted.
I have iTunes 9.1.1 and under the Apps tab for my iPad it shows that File Sharing is available for Air Sharing HD and Pages. It doesn't work, though. Nothing shows up as being shared (although I have shared files from Pages on the iPad) and when I try to add compatible files using the "Add..." button dialog, they never show up.
Here are the release notes for the newest version of Goodreader: What's New in Version 2.7.4 ● added support for inter-app Document Sharing: other apps (including stock Mail app) can open their files in GoodReader; GoodReader can open its files in other apps which support Document Sharing ● minor user interface improvements Looks like some sort of cross App file sharing is possible but it's not clear to me how.
When I go to iTunes/iPad/Apps and then choose Pages under "File Sharing" and move a few files over, where are those files stored? Does iTunes make another copy and store it somewhere or does it just reference the location I copied from? Also, if I move a file over and then delete that file, does it delete from the File Sharing section as well the next time I sync? Information: Mac Pro 2.8 Dual Quad Mac OS X (10.6.3)
I'm trying to burn a DVD using k3b, and would like to access files from a shared network drive from a Windows machine. I can see the files in Nautilus from "Network Servers" and drilling down to the right directory, I can open the files no problem, but I can't get k3b to recognise them. Firstly I can't navigate to the network drive from the file tree on the left in K3b. If I drag and drop the files from Nautilus into k3b, it says "Problems while adding files to the project: No non-local files supported". If I use Project -> Add Files I can then get to the network drives, but when I select and add the files it says "Remote files not accepted - You can only select local files". In the end I had to copy all the files using Nautilus from the network share onto a USB stick, burn the DVD and then delete the files again. (I used the USB stick just to see if that counted as more "local" than a network share). Was there an easier / more efficient way to do this that I missed?
I've created a Class Library using vb.net, the thing is that several applications should use this file. I'm using Inno setup, and I'm declaring the dll file to be shared. in the client app i've added refrence to the dll and set "Copy Local" to false. Now if i put the exe file (the client app) in the same folder with the dll everything works correctly, but once I move the exe or use another application that should use the so called shared dll the assembly cannot be loaded because the system cannot find him ("IOFileNotFoundException")
Hi, I am trying to checked if a file is deleted on a share drive. The user is always connected to this share drive. For some reason even though the file is not deleted the msgbox comes up and says it is deleted. Below is the code I have. Any help will be appreciated. ThanksCode:If Len(Dir("O:Files")) = 0 Then msgbox "This file has been deleted."End if
I downloaded an avi file directly from RapidShare on my iPad using an app and opened it with AVPlayerHD but now I want to transfer it to my mac. Is there a way?I tried going to iTunes -> Apps -> File Sharing -> AVPlayerHD but there is an option to add files but my current files on the app are not being shown. If they were I would just directly use the save to button. Before upgrading to iOS 5 these current files (on the app) would be displayed.
I recently discovered that I am not able to send pictures using BBM to my husband. I am able to send pictures via BBM to ALL my other contacts.I have removed him as a contact and re-added him.I have deleted BBM entirely and re-downloaded it using APP world and re added contacts.None of these seem to work. And my husband is the only person I can't share photo's with...and is the person whom I share photo's with the most of our child.
I have the File Manager App on my iPad2 and iPad Mini. I enter the documents on the iPad2 but want to transfer them to the iPad Mini. I have tried the File Sharing feature on iTunes. I have the files from the app backed up on my computer, but when I try the file sharing process where you can copy files on your computer to the File Manager app on my Mini, I cannot duplicate the process described by Apple. It says you can drag and drop from your computer files to the documents list or click on "Add" and then select the files you want transferred, then select "choose" and they will be transferred. However in this instance I cannot see where the "choose" option is located. And when I tried to drag and drop, nothing happened. Success using File Sharing where you have been able to transfer(copy) files on your computer to your device using the process described by Apple?
I shared a directory on my PC via Motocast, but files I've deleted are still showing up in the Droid Bionic when I connect to Motocast and browse that shared directory. If I add new files into the PC directory, they show up immediately on the Droid Bionic, but deleting them does not make it disappear on the Bionic when I browse that shared directory.
I am trying to find a app, or apps that will allow me to create, modify, and browse files from my network.I have VPN software, which will allow me to get to the network. I have downloaded FileBrowser, and I can view and edit files using another app in conjuction.However, I cannot seem to create a document and save it to the share using FileBrowser.So I need a application out there that can allow me to create a document and save to a network share.
can anyone please tell me why an app i am writing is adding text to the end of an already existing line in a file??the original file:AAAAAAABBBBBBBCCCCCCCand after running my app:AAAAAAABBBBBBBCCCCCCCDDDDDDDDi have appended to loads of files using many different apps, i am not using anything unusual to add the text to the file, but its doing it anyway! I am aware that you dont need to manually put VBCRLF at the end of the PRINT statement. Hellllllllppppp! ------------------Wossname,Email me: firstname.lastname@example.org
I made a work group between 1 window seven PC and 2 window XP PC.In Window7 PC I shared folders and can see them in the 2 window XP all files and subfolders that are already in the folders before were shared. But all the files and subfolders that add after were shared I can't see.I found the subfolders that add after the shared folder was created were not shared and if I shared the subfolder I can see; but with the files nothing.How can I see all files and subfolders added to the shared folder after created?
It was there until I just now added skype to the messaging menu. I did this by typing "gksu gedit /usr/share/indicators/messages/applications/skype" in terminal and adding /usr/share/applications/skype.desktop to the file. After i done that i checked the applet and evolution was gone. It now shows "chat" on top, then "broadcast", then skype. The evolution file is still there containing "/usr/share/applications/evolution.desktop" I did notice there being two the same evolution icons in "/usr/share/applications" + the evolution mail and email settings icons. This probably isn't of importance but the only other thing i ever changed earlier in the application applet was adding emesene. I deleted emesene and since i diddnt quite know how do delete text file made for it so I just removed the "/usr/share/applications/emesene.desktop" text from the file. Also when i had emesene installed and the icon in the indicator applet it showed on top is it possible for me to get the skype icon on top as well?
I need some help in making a program which would open a directory and open a specific document and add something to it and making a program which would delete a file and rename a file...Thank youDi3P.S ((: I am not using these programs for illegal purposes i am just using them to block popups and ads in a specific chat program and the method to do that is deleted a file and renaming another and adding some lines to a file hope you all get the image))
Windows sever 2008 has done something different to their file sharing. This is not an issue with 2003 server, xp, or any linux samba share Issue: Cannot copy file to windows server 2008 share I can however, delete files, rename files, etc... which will indicate that there is not an issue with write permissions. I am accessing the file via dolphin KDE
Hi all,I'm currently using VSI to install a program, which is working well. The problem is that at runtime the program adds files to the app directory and on uninstall these files are not deleted, leaving the files and the directory on the hard drive. This is a problem in that if the program is re-installed these files interfere with the running program. So my question is, can these files (whose name are not known at install), be deleted during uninstall using VSI.thanksPhill
I bought the new PDF expert app, and both have dropbox synced to them. I want to delete the dropbox folder synced to my old PDF expert app, but I am afraid that if I do it, I will end up deleting all my files when I open up the dropbox app. How can I delete the dropbox folder in my old PDF expert file without deleting any files in dropbox or the new PDF expert? Having duplicate files is taking up a lot of space...
VWD 2010 Express. We have shared CSharp classes put into a shared folders for re-use. Now I want to add those classes into my project by creating a new folder: 1) Right click the solution, Add -> New Folder Give it a new, eg. SharedClasses 2) Right click the new folder "SharedClasses" Add- > Existing Item... Browse to the "Shared Folder", include those shared classes. But those files are added physically into the folder "SharedClasses" rather than a reference. How do I just add a link to those shared files? Since these files might be modified from time to time, I don't want to delete and add those file frequently.
I am used to Ubuntus simple sharing with samba. Just install it, reboot and then share the files.Then do I klick on network folder and see all the shared files on the computers in the network. How do I install it so I only need to go into network folder and see the other computers shared files.Then, how do I share files? I hope it's not so difficult and that I have to change i config-files. I am new to Fedora.
Every time I try to empty the waste bin I get dolphin error - 'The file or folder /.local/share/Trash/files/IMGP1676.DNG does not exist'I tried to recreate the file 'IMGP1676.DNG' , deleted it i.e. sent i to the waste bin and then tried the empty waste bin again, although this time it was there and deleted it still reported the same error.du -h .local/share/Trash/files/ 12K .local/share/Trash/files
I am developing a WinForms app that stores media files (video/audio) on a file server.All the file attributes are indexed on a SQL server. Currently, I am accessing the files in my client app for playback and export to file by impersonating the authorized user for the file share, caching a local copy, then doing what I need to do with the cached file (playback, export etc.)If a viewer wants to view a file (using the AXWindowsMediaPlayer control), I have to first cache the file completely (using the process I just mentioned) before the user can play it back. Any way I can get around this - perhaps someway I can avoid the cache step and play directly from the UNC source?I tried impersonating the authorized user then passing the UNC path for the file to AXWindowsMediaPlayer,but I got an error. It seems like the impersonation does not work with the control.Different threads? Also, is there a better way to do all this? Mounting a share does not seem to be an options since I want to control access to the media files through the app.
Hi, I am trying to use the kill statement to delete files under a "Temp" directory. But it fails since if there are any locked files or if a file shared by a program it brings up an error saying "Permissions Denied".When I use my explorer it does delete these files.I want as many files to deleted from this folder but the moment it encounters this error for the first file in the folder the program fails. Any help would be appreciated.ThanksHere's my code:Dim retval As IntegerDim fname On Error GoTo errnum: fname = Dir("c:windows emp*.*", sAttr) Do While (fname <> " ") Kill "c:windows emp" & fname Loop
I setup file sharing on my mac to access files over ftp or afp. However, after deleting these shares from my system preferences sharing panel, I can still access these shares if I connect. Please note that I am accessing the share from the computer itself. ie afp://192.168.1.65 I'm not sure if this has any significance. System Preferences Accessing Shares Successfully Connecting Does anybody know what's going on?
I am using RHEL 5 on my server. The client machines are windows XP.File sharing is through samba server which is working okay. On this file server there is a shared directory for users. This directory contains files which are used by various users through oracle APP. and DB server. At present the folders under the "shared" folder are having all permissions i.e. 777. To restrict certain things, I want that users may read and modify the files but may not be in a position to move or delete the files. How to set the permissions on the folders/files in this scenario?
I've written an Android app wich various abstract classes that perform useful functions. These functions could be leveraged in other apps. I want to share a class module with another programmer, but I don't want to share the source code. I would like to share a .class file but I'm not sure how to do the following: Compile an Android .java file into .class What does the receiver of the .class file have to do to use that .class in their project? (using Eclipse environment)
I am getting the access denied error while trying to delete file using the file.delete() method even though i have set permitted full control to NETWORK SERVICES user and IUSER_(user_name) and ASP.NET Machine Account users on the folder that contains the file to be deleted. My page also allows files to be uploaded(to the same folder) and that part works perfectly fine but I get this UnauthorisedAccessException when I try to delete it at app runtime...pls do help me out folks..cant believe this error has taken my whole day..
I have created a project where I can attach files and I am displaying the name of the file, example: Mytestfile.doc mytestfile.txt Mytestfile.pdf I have the names being displayed on a listbox, so far everything is working just the way I expected to work.When a file is selected from my opendialogbox, the file gets saved into a folder under my local disk, so far so good.The problem that I am having is deleting the file from the folder.I have added a delete button and I would like to when I click or highlight one of the file names to go into where the file was saved previously and deleted This is the code that I have for the delete funtion: [CODE Dim sFileName As String = "C:program filesSupport DeskAttachments" & ListBox1.Text System.IO.File.Delete(sFileName)][/code] The problem is that if I add the code to the clcik event under the listbox, it works great, but if I add the code to the click event under my delete button, it doesn't work, what I found is that under the path, if I am under the click event from the listbox when it gets to the lisxtbox.text it displays the file name, which is what I whant, but when i tried the code under the click event under my delete button the listbox.text is blank.
Since i upgrade to Maverick, i can't copy file to a W2003 share using Nautilus via gvfs. I can delete and create files, but I can't copy. But it works in command line with cp. I tried on a samba share, on a XP Pro share, it works. It works on W2003 share only for small files (less than 16 ko)
i am working on a app. and i need to know how can i share floders that the app will use to save flies over the net. i was thinking about crearting a data base that would save all the files on to it , and then share the data base with fellow co workers, but i do not know how to add a excel file or word doc. in the database. i am pretty new to all of this so any help would be great. the app is writen in visual studio 2010. basical it will let the user access the file he needs to compelte his work off shore. the files are created and saved as he needs them. once he is finished, i need the app to send the floder to some type of server ( dont have a server yet) so that the office and other co workers can see the files when they run the app.
The AFP and SMB shares provided by my machine (OSX 10.6.5) seem to be messed up. Specifically: 1) There are shares which are visible from other machines which do not exist in System Preferences -> Sharing -> File Sharing 2) There are share listed in System Preferences -> Sharing -> File Sharing which cannot be deleted How can this be cleaned up? What drives the set of shares? /var/db/samba/smb.shares is clearly a generated file. What generates it?
ok i have a home network set up on 2 pcs with win 7 64bit i have set up shared drives on both pcs ,, i have set the permisions on the shared drives so that everyone can do whatever they want change files delete files ect so i expect to be able from one pc to cut files and paste to the other but i cant ,,, i cant even copy from one pc to the other unless i do it from the pc that is going to have the file added
We have a web farm and are writing temp files for reports. We set up a file share and are using impersonation to write the temporary report files to that share. We gave the account doing the impersonation full control to the share and the folder itself.The files are writing correctly but are not being deleted.Is there something we're missing with this setup?
i am able to set up samba server with adc it is working properly. also i set the GID and stikki bit permission in sharing so i can set only crater can delete the files. But i want some users have ability to delete permission for all files and folders in that sharing I am not able to set that
Hi,I was able to get the Date / time of a file in the local machine.I used the following (slightly modified - by removing the common dialogbox & copy-delete stuff)>>http://www.answers.com/topic/filesI was able to find the version of a file which is in a shared machine, only if the file folder is shared. What I want isIf I know the user / pswd of a folder in a remote machine where i access as"\MyRemoteMcC$Program FilesMy Program"I want to find the date / time of that file.Note : I can get the version info of the same files using a similar way, but not the Date/Time
I am working on several different web applications and I am using class libraries to share code across the different apps. Is there a way to add a reference to a folder of aspx pages they I am using to help manage the web site so that would be common in all of my apps? This way if I upgrade an administrative feature in one application it would in turn add that feature to all of my shared applications when I rebuild them.
Going back to iMovie 6.0.4 was definitely the right thing to do. Adding Flip4Mac Pro solved all my file importing problems. Now, can I delete 8.0? Or does 6.0 share some files with it and will I have a problem if 8.0 is deleted? I also have to say that, the more I use my iMac, the better I like it. There are so many standard features in OSX Leopard that I am finding new tricks every day.
I am using the P&DW to create distribution disks. One of the files my project uses is the RegObj.dll that I downloaded from Microsoft. The P&DW puts a line in the Setup.dll file that looks like this:File17email@example.com,$(WinSysPath),,$(Shared),6/25/97 3:24:16 PM,40448,0.0.0.0I have to edit the file every time to add the "$(DLLSelfRegister)" so it looks like this:File17firstname.lastname@example.org,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/25/97 3:24:16 PM,40448,0.0.0.0How can I make this happen automatically, so the P&DW does it?Thanks,William
From a comboBox - some file names were listed (excel files) and once i press a button (DELETE) should delete that file... I am receiving an error "Permission denied" ... i wonder why here's my code:Code:If cmbExcel.Text <> "" Then anz = MsgBox("Are you sure you want to delete " & cmbExcel.Text & "?", vbYesNo) If anz = vbYes Then 'Delete the Excel File Kill (App.Path & "BOM" & cmbExcel.Text) MsgBox cmbExcel.Text & " Successfully Deleted!", vbInformation Else: MsgBox "Operation Cancelled!", vbInformation End IfEnd If ' cmbExcel <> NULLEdited by - pasaway on 11/10/2004 4:36:25 AM
how i can add, delete, edit, update data of ms access file using visual basic 2008
Can some please send me a vb6 code for deleting all files in a folderwithout specifying file path for each file. I have been using the code: Kill (filepath) to delete speific files. i haverealised that when a new file is added then i have to amend my codeaccordingly which is cumbersome. I am looking for a code that deletes allfiles in a folder. Thanks in advance, Farai
Ok i want to copy a file to a certain directory then kill (delete) the original file. I am ok with copying the file,Code:If Right$(App.Path, 1) = "" Then my_app_path = App.PathElse my_app_path = App.Path & "" End IfIf Dir("c:app.exe", vbNormal) <> vbNullString ThenGoTo endElse FileCopy my_app_path & "app.exe", "C:ackupapp.exe" Kill my_app_path & "app.exe"end:end sub problem is that it wont kill a running file, which the original file is ?Is this line correct for killing the file in its original place , i.e c: ,Kill my_app_path & "app.exe" ?Thanks again
I am now using SuSE 11.1 with KMail 1.9.10 (KDE 3.5.10 "release 21.13.1" open SUSE). My intention is to do a clean install of 11.4 from purchased DVD and then migrate (import) all of my personal files from a backup. I have not yet seen either SuSE 11.4 or KDE4, so I am unfamiliar with any changes to the folders and files, how they may have been named, where they're located in 11.4, etc. Inoder to copy my backed up KDE 3.5 KMail into the newly installed SuSE 11.4/KDE4 KMail, will the following folders and files go into folders and files named the same in 11.4/KDE4, or will the folders and files for the new KMail be named differently and/or be located differently? /home/<my name>/.kde/share/apps/kmail (my e-mails) /home/<my name>/.kde/share/apps/kabc/ (address book) /home/<my name>/.kde/share/config/kaddressbookrc (address book settings) /home/<my name>/.kde/share/config/kmailrc (kmail settings) Are there any issues I need to be aware of in migrating the KDE 3.5 Kmail materials into 11.4/KDE4? Or will this be as simple as when I upgraded from 11.0 to 11.1?
I use an app called Filebrowser to browse my PC and Media player from the iPad and yesterday I tried streaming a video file. The file has been downloaded to the iPad but it wouldn't actually play through the Filebrowser app and I actually want to delete it but there is no option to do so via the app.Where would the files have downloaded to? I have the iFile app but couldn't find the video anywhere although I didn't know where to look.The file must be there somewhere as it has used up memory so I need to delete.
I am using VB.Net 2008. I am using a 3rd party dll in my app that requires xp visual styles to be turned off, or that a manifest file be added to my app to re-direct comctl32.dll (link to 3rd party workaround:[URL] I tried creating the manifest according to: [URL] This did not change the issue. Perhaps I did not add the manifest properly? Here are the steps I tried: 1. Add xml file to app and name it MyApp.exe.manifest 2. Add the xml file to my resources. The above did nothing so I removed it and then: 3. Add xml file to app and name it Comctl32.dll.manifiest 4. Add the xml file to my resources. That did nothing either. Here is the manifiest I tried adding:<?xml version="1.0" encoding="UTF-8" standalone="yes"?><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"><assemblyIdentity [CODE]...
I'm trying to add a line to fstab to mount a share on every boot. I can mount the share manually using sudo mount -t nfs 192.168.2.1:/x_machine /mnt/test I've added the line 192.168.2.1:/x_machine /mnt/test nfs rw,hard,intr 0 0 to my /etc/fstab file, but it doesn't seem to mount on boot. What am I missing. I tried looking in the log files for an error, but couldn't find anything. Ubuntu 10.04 x64 desktop edition.
Hi, I am in a situation where i need to let the user delete entries from within a file. I have a combobox that is populated with some entries (one per line) in a file called list.ini. the code for that is: Code:Dim Filename As String'Dim file As StringDim get_line As StringFilename = App.Path & "list.ini" Open Filename For Input As #1 Do While Not (EOF(1)) Input #1, get_line combo4.AddItem get_line Loop Close 1Now, adding an item to that is easy like : Code:Dim fname As Stringfname = App.Path & "list.ini" Open fname For Append As #1 Print #1, Text2.Text Close #1but now i wish to delete an entry, say for example i provide a textbox and a "delete" button where the user could enter the entry of text to delete like if the combobox listed:text1text2text3----------------the user wishes to delete "text2" from the file, so he/she enters "text2" into the textbox and hits delete, i wish for that to be deleted from the list.ini file.can anyone provide me with help on that?
I need some help with file deletion.I am using the SHFileOperation FO_MOVE to move files from a directory, one at a time, so that I can get file sizes, delete unneccesary files, etc. Once this is complete, I need to delete the old directory tree.The problem I am having is that after moving or deleting all of the files, when I go back to delete the empty directory tree I am getting the following error:Cannot remove folder xxxxxxx. There has been a sharing violation.If I try to use Windows Explorer I get the same message. Once I quit VB though and then restart, I can delete the tree with both SHFileOperation and with Windows Explorer. Obviously, SHFileOperation has a lock on something.Does anyone know how to get SHFileOperation to release these file resources?Thanks.Sam
Hi,During testing period, I compiled a standardard.exe on the shared driveto allow a few users to test it out.Somehow I couldn't delete the program even when no one is using theprogram.I will get "Error Deleting File or Folder" message: Make sure the diskis not full or write-protected and that the file is not currently inuse.I am very sure that on one was using it because I made a log procedureif anyone opened the program, it will log it.How could this happen?
Is there a way to detect if a file is being deleted, 1) Using the Del key 2) Using the Shift+Del keys 3) Using the above keys from a remote computer through a shared folder And instead of deleting move it to another folder in the same computer. Basically when a user tries to delete a file or folder it should move it to a specified folder instead of deleting it.
I set up a Linux (suse 11.3)server, and able to share files with other users using MAC and Window machines within and outside the network.The Window machines are on a domain.Now I want to add printers to my Linux server and share it with the computers that are able to access the files (mac and window workstations).Is it necessary to add my Linux box to the domain to be able to share the printers? Because the MAC computers can see/add the printers on the Linux server but the Windows pc cannot.
I want to remove a registry item, then add it again within the same REG file. The purpose, to make sure the key was not previously added to the registry.so if my REg File has this:REGEDIT4[-HKEY_CURRENT_USERSoftwareMicrosoftOfficeOutlookAddinsMyApp[HKEY_CURRENT_USERSoftwareMicrosoftOfficeOutlookAddinsMyApp"FriendlyName"..................etc.Questions:1) If the key was NOT previously added, would this REG file cause any harm?2) The way I have formatted the deletion of the key - will it only delete MyAPP? I do not want Office, or Outlook, or Addins to be delete, only the app itself.Thanks for any help,CJ
Hi,How can I prevent the user deleting certain files while my app is running? I am making a parental control program where screenshots are taken at certain intervals, but if the user could just press delete on the screenshots it would defeat the purpose of the app.I can use this to stop it:VB Code:Open App.Path & "screenshots" & Number & ".jpg" For Binary Access Read Lock Write As #Number Incrementing Number each time. This works for up to 512 files, but there are around 5000 files in the directory, so of course only the first 512 files are protected.Any advice?Thanks.
Hi,Is it possible to delete a file over http?I am working on a module where I need to view a file over http, add a file over http (upload files) and delete files on the remote machine.Add and view are fine. I dont know of the delete part.Any help will be appreciatedSatish
OK,I am using the following code to check if a file is greater than 8 days old and if it is delete it. Well when the file gets to be > 8 days old it does delete the file but the new file it creates has the old files createddate on it, so the file is always > 8 days. Can anyone help and tell me if I am doing anything wrong.Thanks. If FSO.FileExists(App.Path & "DLforALL.log") then set AFile = FSO.GetFile(App.Path & "DLforALL.log") If date >= AFile.DateCreated + 8 then AFile.Delete (true) DoEvents DoEvents DoEvents set Ts = FSO.CreateTextFile(App.Path & "DLforALL.log", true) Ts.Close else 'donothing End If else set Ts = FSO.CreateTextFile(App.Path & "DLforALL.log", true) Ts.Close End If
It happens all the time even if nokia map is the only app running I think the reason is my phone memory is almost full there is less than 1 mb left and I cant find any thing to delete via phone manager in the phone memory either empty folders or folders which have only hundreds of bytes, when I check the phone memory it says 85 mb used 36 mb sis apps and 48 mb other files and I cant find any of them. Btw I am afraid to delete some of these files cause they may be system apps
How would I detect and show if a file copy failed? I am using the following to do a file delete: System.IO.File.Delete("C:TestTreeTestLaunch.xml") The problem is that I do not get any error if the delete fails. My main worry is if the file I am trying to delete is marked read only and the app can not delete it then the user will not know that the delete failed Also - Any way to see if a copy failed? - I am using the following to do a file copy: System.IO.File.Copy(C: emplate.xml", "C:TestLaunch.xml") put detect and put a message if this fails?
I am trying to made a script that will show all the files in a Directory….. Also I want to add the option to delete the files from the directory. I can view the files on the directory the problem is when I add this line that add the option to delete the files in the directory LINE--->27 echo "<a href="browserdir2.php/?k='.$link.'&ko=1">'.$file.'</a><br>"; The error message that I get is : Parse error: syntax error, unexpected T_STRING, expecting ',' or '' in c:diphpwebrootrowserdir2.php on line 27 Code:
There are three sample movies sitting in the system folder (BMW M3, Speedracer trailer and a Delta Goodrem music video) which take up about 85MB of memory. I have tried using maxmem from Berrycoder to remove the files, but it won't delete these videos from the memory.Using FileScout, I try to delete the files and the response is "cannot delete the file, it is an OS5.0 read only system file". Is there any way of deleting these files on the Bold 9000? I have read up on Crackberry on optimising the memory and trying to use BBSAK (BB Swiss Army Knife) but have had zero success on getting rid of these files. Another question while I am asking. Would deleting these files make any difference to the available free memory as reported through the Status. I am hovering around 27MB and want to increase it without deleting the apps I have loaded into the Bold.
Has anyone noticed an "open in" maximum of 10 apps? I suppose there's no workaround. I had to delete an app to open a file in my usual storage location (Readdle) but I didn't want to delete any. The problem is not that I need to be able to open files with 10 different apps, but many apps get added to the "open in" list automatically, pushing out others.
I am using VB.net sockets to send a music file from one instance to another. It currently saves the file, but I do not want to be caught up in file-sharing, so I want to "save" it to a buffer, and when it gets to a particular percentage transferred, I want another thread to play the music file, deleting it from the buffer as it plays. I have the code to send it over the network, but I need to know how to keep it in a buffer and not save it as a file.
I am developing a small application using file operations. when ever application lunches I am writing some information about the app user in the location of "/data/anr/". While deleting the application i want to remove those files in that location. Can any one suggest me how to do this? Is there any permission needs to be added?
If i have a dual-boot system (XP and Ubuntu) with a shared data partition to store the database files in, is it possible to get both XP's and Linux's MySQL using the same database file when each one boots? Would it be as simple as changing the datadir setting in each configuration file and ensuring all other settings match? Would I need to add any data to the MySQL relation continuously or just when a table or database is created or deleted?
I apologize for I know this must be in countless threads but I just didn't know what to serach for exactly. When I load a data file into my app I then write a copy of the file name string in a list of the last 4 used files that is kept in an ini file, and I delete from it the oldest entry.Now, after I've read the 4 file names from the ini file, how can I add them at the bottom of the File menu?
I have an app where a user enters information on a ticket and that ticket is saved off to a file on a share.Later on, when the ticket is closed or resolved, the file is deleted.Pretty straightforward.The below code is used to achieve this but, and this is the odd part, I'm finding that sometimes the app does not write the file and other times it will not delete it.I've confirmed that the user is running the latest version, that the tool isn't in off line mode, that all the appropriate criteria are set to true before entering the routines. It works 99% of the time but every so often it doesn't create/delete the file and there are no errors thrown or anything.Going into this section of code, chkOffline is not checked, "GoNoGo" is set to "Go", "Type" is set to "Live" and all fields have been filled out on the form(and vetted).What's more, there are other actions earlier in the app/sub that rely on these same conditions and those actions are getting carried out.[code]
I am concatinating a couple of text files and then deleting the individual files. (Not the output file) The only problem is that I am getting a permission error "Exception from HRESULT: 0x800A0046 (CTL_E_PERMISSIONDENIED)" when I try to delete the files. I can delete the files using the code below if I do not concatinate the files but as soon as I do I cannot delete them. To concatinate: Public Sub MeltText() Dim SW As New IO.StreamWriter(OutPutFile) Dim Files As String() = IO.Directory.GetFiles(StartDirectory, "*.txt") Dim File As String SW.WriteLine("Sw
i have removed some apps but there is still some of the files on the sd card.should i either delete the files with the pc or download the apps again then clear the app cache before removeing again? will just deleteing the files with my pc when it hooks up to the htc cause any problems or fail to remove hidden files elswhere for the apps? also could somebody list what the default files would be from a new phone and what the file names mean/corespond to please so i dont delete important files.
I have two desktop computers on the same home network and I am unable to share files between the two. Both have access to the network. One is able to file and printer share using SAMBA and a windows 7 laptop. The other machine is unable to either do file sharing via Samba or SSL file sharing between the two Ubuntu machines.
Hello,The following routine populates a LISTVIEW control with a list of files that are contained in a text file. I would like to modify this so that the .EXE and .BAT files that are in a specific directory are loaded, for example, app.pathIs there any way to do this without doing a DIR *.EXE > FILES.LST, then loading the file, the deleting the file ?Open App.Path & "FILES.LST" For Input As #1 Do While Not EOF(1) Line Input #1, STemp Set liEntry = ListView1.ListItems.Add(, , STemp, 0, 0)LoopClose #1Thanks,
I have a shared folder on Lion Server. The permissions for the folder are set to everyone can read & write. When I add files from another computer to the shared folder the file permissions are not set to read & write for everyone. Is there a setting I am missing on the server to make all files added over the network to have the same permissions as the folder? Info: Mac mini, Mac OS X (10.7.3)
I�ve recently downloaded and installed the IM app that was recently made available for Verizon PPCs on my 4GB SD card. The app works perfectly, however I noticed afterwards that I cannot delete or change files on my PPC or SD card! I can add files, but I cannot delete them once they have been downloaded to my PPC! Also, I noticed that none of my installed programs are appearing under Remove Programs in the Settings (all of my installed apps were installed on my SD card). In addition, I can access my PPC's (onboard memory & SD card) from my PC, but I cannot add or delete files from my PC just the same! I receive an error message indicating: "Cannot delete 'file name': Access is Denied.Be certain that the file is not write-protected (which it is not) and is currently not in use (which it is not)." Has anyone experienced this or have any idea on how to correct this???? Help! S.O.S! All other functionality appears to be intact and unaffected.
I am developing an app that checks a shared folder on the network for two specific files. If a file is present, the app compares file versions. If new_file_version > installed_file_version then copy file over to proper place regester file if appropriate else continue on with startup of app2 questions 1. How do you check file versions 2. Do you have a better idea for auto-updates.
In iBooks, I have several books and PDF files. When synchronizing with iTunes, books from the bookstore and PDFs are saved and transferred into iTunes. But I cannot do the same for manually added ePub books that I added using USB transfer (I think I used Downloader lite). Anyway, since I am using generally Ubuntu, I use the iTunes sharing folder from an app to copy stuff in my iPad from Ubuntu. Then I just open the app, select the file and do a "Open in..." to put the file in the proper native app. I have three books that I got a long time ago, put them on my iPad using Ubuntu. My problem is that I cannot find the originals on my computer, and I would like to copy those 3 books in my iPhone. If only I could find my cd from where I rediscovered this books, that would solve my issue...
I have written a routine that copies files from a cd to a destination location on your PC. if the destination directory doesnt exist, it creates it for you and copies the files into it.The problem is this: After copying the files....sometimes you may want to delete the directory and files within (maybe you chose the wrong files to copy for example). When i try and delete this newly created directory it tells me there has been a sharing violation. I know this can happen if you have the directory open in Explorer and try and delete the same directory from your app but nothing else is using that directory so why am i getting this error??? How do i unlock the directory when copying to it has finished? Ive tried a CHDIR to the root directory but that still didnt close it.Anyone have any ideas?Regards
I recently started building out a new network rack to provide a production web site. The new equipment stack includes a disk array providing a CIFS file share to store images to be served up by Apache. I have had zero luck in getting Apache to properly access the imagestore from the network share. I've read more Google pages on this subject today than I can count, but I am still not having any success getting this working right. I'll do my best to explain the configuration. I have an ESXi host running several virtual machines. Each machine needs to be able to access the shares. Each host has multiple network interfaces, each connected to a separate subnet. The virtual machines are running Windows Server 2012 Datacenter edition. The disk array is file mode access, with NFS and CIFS shares. It has interfaces on both subnets that each VM can reach. I have established a stand alone CIFS server, with the shares configured. They are accessible from the VMs. I have mapped the share to a drive letter on the VM client, and it works properly from the logged in account. I have full control over files on the file system (create, modify, delete). The VM has Apache 2.4.9 installed. Things I've tried with no success: -created a symlink to the CIFS mounted drive into the webroot directory -added an alias to the CIFS mounted drive -added the aliased directory using the <Directory> directive -added the alias and directory directives using UNC references I am seeing errors like "path is invalid" mostly, but when I try to add the mapped drive (f or the UNC referenced directory, the Apache service won't start. I added a separate user for the Apache service, and added it to the group that has privileges to talk to the share, still didn't work.
I am using an ASP.NET FileUpload to upload files to the server.How to upload it to the rootfolder of my project. I want to add the files to a collection or list of files to be shown on the webpage in the form of gridview.Each file should have a link to itself in the list So that it could be downloaded by the click-if desired.The gridview will also have a delete column so that I can delete any of the corresponding file-as desired.
I am using the WebBrowser control in a VB6 application. All the pages that users visit get saved in a temporary folder named Temp Files (not in IE's Temporray Internet Files folder). I want that when a user clicks a Delete Files CommandButton, all the files existing in the temporary folder should get deleted. This is how I have tried it:VB Code:Private Sub [b]cmdDeleteFiles_Click()[/b] If (vbYes = MsgBox("Are you sure you want to delete all files?", vbYesNo + vbInformation + vbDefaultButton2, "Delete Files?")) Then On Error Resume Next Dim TempFiles TempFiles = Dir(App.Path & "Temp Files*.*") Do While TempFiles <> "" TempFiles = Dir() If (TempFiles <> "") Then Debug.Print TempFiles Kill TempFiles End If Loop Else Exit Sub End IfEnd Sub But the above code doesn't delete any of the files existing in the temporary folder though the Debug.Print line lists all the files existing in the temporary folder in the Immediate Window! If I comment the On Error Resume Next line, then VB generates the File not found error. Why so? How do I delete all the files?Thanks,Arpan
Hello,am helping my mother with a VB application that she is going to use with disabled children.However, in our app we use OLE with .wav-files, and that's where the problems start.The exe-file works fine on the computers where VB is installed, but not on others, why?When we started the app it asked for VBRUN300.DLL, so we installed it, and then i asked for MSOLE2.VBX, so we installed that file too.Now when we start the app it says we've run out of memory. Microsoft says that's a bug in VB 3 - we haven't really run out of memory, instead this error message shows when SHARE.EXE isn't loaded in memory and that "the MSOLE2.VBX requires that SHARE.EXE is loaded in memory before you use the MSOLE2.VBX control".Does that mean SHARE.EXE must be loaded in memory while we are working with the OLEs in VB - or - when we start the exe?I have tested to start SHARE.EXE, both in DOS and Windows, but it doesn't worka and the error message "you've run out of memory" still shows.I've tested my app on a whole bunch of computers that haven't got VB, but it doesn't work on neither of them.Please help me how do I load SHARE.EXE?Thanks by forehand,Simon in Sweden.
I am new in android development. i was wondering if i could share some data between two applications in android. One way is to place the text file on SD Card but i dont want to do this.Second way is to place in data folder, and i dont know how to.3rd way is to place the data in shared memory so both applications can see it.also i dont want the user to see or delete this file,only my two applications can change this file or data.Please help me.I've been wondering on this for 2 days.
I have given up on getting home sharing to work properly amongst all my various computers at home on 10.5 and thought I would use an old style brute force method of simply setting up a file share to share my iTunes library. I set up file sharing to use the Guest account and it works fine for all of my other content. I have tried to create shares of the following directories and can only connect as a registered user (Guest user cannot even see these shares): /Users/<name>/Music /Users/<name>/Music/iTunes I have gone into the terminal and looked at the ACLs on the Music directory (e.g ls -alte) and I can't see anything that would block access, but I am not an expert with this type of ACL. The ACL on the Music directory is this: 0: group:com.apple.sharepoint.group.2 allow search 1: group:everyone deny delete I have an ACL called 0: group:everyone deny delete on one of my other shares that works fine so this can't be the culprit (more importantly the ACL looks like it is just preventing users from deleting anything).
I am still on a long learning curve operating my PC. After refreshing my Aspire E1-570. Windows to remove malware, I had to reinstall all my new apps & software which deleted . After doing that I received a message to create a recovery file to factory default file on a USB. When I tried to do there was message that new apps & software would be deleted. Can I create a recovery file without having to re-install all new apps & software again.
i am creating a console app that will delete pictures from a directory every 30 minutes. Problem is that its being populated by files every minute or so. So if i go and delete files in that directory then it may cause an error trying to delete a file thats being created just then or opened. I currently have this code to copy the files to another directory and then delete them from the source directory.Dim f() As String = Directory.GetFiles(sourceDir) [Code]...
When I plug-in my iPod it gets detected by gtkpod and all the files load fine. I am able to delete files, add photos. But I am not able to add new songs. I get the following errors:1. If I drag and drop files it says "Drag and drop failed"2. If I add files through the "Add files" button,it either says "The following track could not be processes (unknown filetype)"
Recently, whenever I open a PDF file with Preview, the file opens fine, but the app itself is unresponsive. I can use shortcuts (to close the program or window, or to open other files), but when I use a mouse or trackpad I am unable to click anything in the app, even the menu bar. I can scroll through the PDF documents, but I am unable to highlight text. I have all updates, and Preview is working fine if I switch to another user. I have tried to Repair Permissions, to add my user account to the Sharing and Permissions category under the finder, and I have tried deleting the preferences file in Library to no avail. Info: MacBook Pro, Mac OS X (10.7.4)
I have iMac 2.4GHz with rEFIT installed. I installed Unity on one of the partition. Kernel is still 220.127.116.11. I am getting error message when I run the command sudo gedit /etc/x11/xorg.conf The error message is (gedit:2139): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.AC7YXV': No such file or directory (gedit:2139): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
I am fairly new to programming and I am trying to create a MS Word add-in to add an xml file into the WordprocessingML package of docx files.I am currently having trouble with Microsoft.Office.Interop.Word.Application.ActiveDocument", used:Dim currentDoc As Document = Microsoft.Office.Interop.Word.Application.ActiveDocumentbut I keep getting the error: "Reference to a non-shared member requires an object reference" there.
I have download an app while i have not got enough space in my phone memory to install, thought that i will move it to sd card, the app didn't installed in my phone neither got deleted, its stuck in my phone memory now, and i am not finding a way to delete it manually. Also I would like to know how to access the phone memory folders and files like we access the MC. So, that I can deleted the broken downloaded files. I have already tried with the cleaner apps from market.
My internet is provided by a 3g modem usb. I am sharing the internet connection through my desktop into a router and then to the rest of my Ubunut machines. Currently if I want to file share I have to go into the network manager and change the eth0 settings from shared to dchp automatic and then unplug the cable from the internet port on the router to one of the network ports. Is it possible to add another network card to the main machine and use that exclusively for either internet or file sharing.
i use Linux centOS5 for server in which a drive is shared on windows users by which they can create,delete and modify the folder and files, means they have full access. i want that a drive is share in which they will create files and folder on them but not delete and modify them how to set permission and share that drive on windows users so that my problem will solved
I have Suse 11.3 KDE and every time I opened an mp3 file, Amarok opened and closed immediately reporting a new bug everytime. So I followed this thread Amarok Not Launching I have uninstalled Amarok through Install/ Remove software. But I am not able to find this folder to delete, as mentioned in above post: Delete the directory ~/.kde/share/apps/amarok