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)
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'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")
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 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 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 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?
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 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.
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.
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
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
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 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...
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.
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 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))
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
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)
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
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)
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
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.
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 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.
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..
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
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
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
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?
how i can add, delete, edit, update data of ms access file using visual basic 2008
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 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
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'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.
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.
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?
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
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,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
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 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).
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?
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
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.
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
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:
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.
After deployment and clicking 'setup.exe' the error message: 'Cannot Start Application - You cannot start application ... from this location because it is already installed from a different location.'details: cannot start it from d:/... (local path) because it is already installed from ... shared directory on different pc.on the shared dir: I tried to install it there some days ago, but cancelled the installation process, because the .net framework wasn't there. So I do not have a clean application that i can uninstall. The shared folder is now deleted, but if I try to deploy locally, the error is thereI installed the app on a third PC in a shared folder and uninstalled it afterwards. I can deploy and start the app on this third PC (but at the moment it is uninstalled there) .What file / entry in a file can I delete that I can install my application locally again (it runs in the debugger of the IDE)?
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 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.
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.
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 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 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 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?
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 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.
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 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 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.
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 run an iMac (2008) Maverick OS and an iPad2.I use one Apple ID and carry out the normal adding, deleting and updating apps for the iPad.My wife will soon have an iPad Mini so how do I manage adding, deleting and updating apps?We will have to share the iMac for updates etc. I assume get her an Apple ID.
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 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
I am presently writing a "Napster" type file sharing application. I have the client and server working well but I need the user to enable file sharing in order for the user to share their files with all the other users. Is there a way I can enable file sharing "read only" from with in my VB application? I have considered ACL and API's such as SetFileSecurity but they are geared to windows NT. Is there a registry entry I can modify to enable folder/file sharing? Any help would be appreciated.Thanks
I've used Visual Studio 1.1 and the Package and Deployment wizard to create an install that references COMCT332.OCX. Our systme administrator has installed both on Windows 2000 systems. When the local user logs in they get an error that the COMCT332.OCX is not correctly regestered. I've manually added the merge file to Visual Studio 1.1 and the COMCT332.OCX is in the Script file. My question is could it be something that my system admin is doing with privilages, or am I screwing it up?Thanks/Da_Wiz[Setup1 Files]File1=@MDAC_TYP.EXE,$(AppPath),,$(Shared),1/19/00 11:00:00 PM,7856352,25.0.4403.12File2=@COMCTL32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),4/15/05 6:58:18 PM,1351392,184.108.40.206File3email@example.com,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 3:45:42 PM,662288,220.127.116.11File4=@COMCT232.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/23/98 11:00:00 PM,164144,18.104.22.168File5=@COMCT332.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/8/04 11:00:00 PM,416528,22.214.171.12482File6=@Mscomctl.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/8/04 11:00:00 PM,1081616,126.96.36.199File7firstname.lastname@example.org,$(WinSysPath),$(DLLSelfRegister),$(Shared),10/6/05 2:11:14 PM,28672,188.8.131.52File8=@Falcon Diagnositc.exe,$(AppPath),,,11/3/05 9:26:02 AM,53248,184.108.40.206
I just set up a FreeNAS server and have a shared drive set up that I can currently access from Linux, Windows and OSX. I'm having a problem getting the trash folder to work for files deleted from my Linux machines though. I know this may be more of a FreeNAS forums question, but I've tried asking there and haven't gotten a response. And the recycle bin is working when a file is deleted from a Windows machine on my network so it is an issue specific to Linux. So my question is, what services, protocol, etc... has to be used (on the server and/or on my Linux machine) to have a functional recycle bin on the FreeNAS shared drive? If I delete a file on the shared drive from my Linux machine, I would expect it to go to a trash folder and still be on the shared drive. It's working from Windows but not Linux.
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 currently using a BB Curve 8520. I am experiencing an issue with sharing birthday entries with my BBM Groups. When I add a birthday entry to my phonebook contacts, the phone will prompt you whether or not you will share this date with the BBM Groups Calendar. If I select NO, the birthday entry will still BE SHARED to your BBM Groups. So I have to go to the BBM Groups calendar to manually delete the entry created.
I have installed OpenSUSE 11.4 on my PC. Want to share my files with Win7 system. So far so good, I can access my files on Linux computer from my Windows PC. My problem starts when I want full access to my files, as you see on image it says directory is Public and Writable but still I can't delete or add files to that directory what did I missed ?
I have a backup database task that runs at 4 am. I added a maintenance CleanUp task pointing to the right folder I checked the include first-level subfolder box, and delete files based on the age of the file at task run time I specified "delete files older than " 1 day But the cleanup task is� not working, I have to manually go a delete the files myself. Am I missing something? should I run the maintenance task first? and then the backup task?
I have a program that I have written using 2005 and .Net Framework 2 SP2. I went ahead and created the snk file placed it in a shared folder on the same server that I will be running the app from. In my AssemblyInfo file I added point to where the snk file is located as follows.
Hello, I am experiencing an issue with SQL Server 2000 Maintenance Plan. DB Backup job fails to delete old backup files from the file server (I am backing up to the network share - actually, a DFS). Backup part of the maintenance plan/job succeeds, but then cleanup part fails. I made sure that service account under which SQL Server Agent is running, has sufficient privileges over the network share by logging in and successfully deleting files in question. I was not able to locate any log entries either on the SQL Server machine or on the file server machine that would indicate the root of the problem. Even though I turned on auditing for Delete operations for the destination folder, its subfolders and files, I could not find anything in the Security event log. I would appreciate any ideas on how to troubleshoot and correct this problem. Thanks in advance,
i have created a .log file within in my application so i can see what the app is getting up to. how can i clear the conetents of the file from with in vba. i have been using the file system object but cant find a way of deleting the conetenst the the file file that i have created and added text to.any help would be appreciated.thankx in advance
After installing the smokedglass v6 rom, it deleted some apps, when i try to reinstall the apps that got deleted, i got an error that says "Installation error, Missing shared library." i went into manage apps to make sure they aren't there, and i used root explorer to delete any trace of the apps, yet i still get this error.
I have a samba shared folder in my flash disk. Yesterday I installed ubuntu 11.04 and now sharing is not working any more. I do the usual procedure (that worked so far), I right click my folder > sharing options and tick "share this folder" as well as "Allow others to create and delete files in this folder" but I dont get the usual messages asking to add permissions automatically.When I try to mount my folder in another pc with linux, I get permission denied and that the folder is only readable and in another, windows cannot find the network path to my folder.My folder has about 10.000 files. asking to add permissions automaticallyI created another folder on the same flash and when I create share I get the message asking to add permissions automatically but it is not visible either. I even cant see my folder in "my places" > network, so it is not a matter of the mounting command
Hi All,I am using the following code for deleting spaces between the lines of a text file but the output file contains quotes ( " ).Can anyone help me to find out how to remove the quotes.' Here is the code :Private Sub Command1_Click()'Delete spaces between strings Dim lines As String Open App.Path & "" & "Output.txt" For Input As #1 ' ' Ouverture fichier pour écriture Open App.Path & "" & "C_output.txt" For Output As #2 Do While Not EOF(1) Line Input #1, lines If Len(Trim(lines)) > 0 Then _ Write #2, lines Loop Close #1 Close #2 End Sub
Hi All, I'm trying to develop a small app for use on a small network, and I need a way to get a list of shares from a remote computer, provided the name.For example, my PC is called JOSHPC. I want to list all the folders I am sharing for this computer. If files could be added at a later stage that would be wicked.Could anyone give me any advice on this topic?Thanks in advance,
I am new here and just started to add apps to my new Droid. I have a few, but I am looking for advice on which apps are the best. Examples: What is the best golf, race, and other fun games? Also, what is the best video player to watch videos from my SD card. How do I get to my SD card to add and delete files?
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 configured the network as far as i can but when i click into samba shares and my home network comes up i click into the home network and the the available computers and printers are shown but when i click to open a site it just shows 0 files i have tried to share all files within my encrypted network but im still not doing something right. the same sites show up and all files are shared on my Windows computers and printerswhat am i missing or doing wrong? im using open suse 11.3 and KDE and Samba Shares.