RUN the EXE OR JAR, if the file has been dropped to EXE OR JAR
My requirement is to run my application Executable OR Jar, if the file has been dropped to that executable OR Jar and can show the file name which has been dropped.
Thanks-
Ashish Pancholi
we would like the user to be able to pick a file from native file system and drag & drop it to our application icon and have it uploaded to server
We have an existing java desktop application which starts, when user click on our application icon (placed on desktop) OR double click on executable(.exe). It opens the frame which allows user to select the file from native file system and uploads it to the server.
Now we would like to facilitate user, that he can pick a file from windows explorer and drag it to the application icon & drop it on the application icon on the desktop. This would start the uploading of that file on the server.
We are using JSmooth to build an executable from jar. I would like to know..
How we can launch the application if user drops local file onto the system icon ?
How we get the absolute path of file name which has been dropped onto the executable ?
Similar Messages
-
An internal error occurred while writing imported graphics in this document. The file has been saved, but has lost some image data. Please report this error to Adobe Technical Support.
How do i fix this, there are no images in the document
thanks
emmaWe are running FM version 7.2b144 on MS Win xp Pro (32 bit), and I did not notice this until service pack 3 was installed. I believe I have found a work around to the situation and another contributing cause. If graphic files are placed directly in an anchored frame instead of importing by reference, the file somehow becomes misplaced. If you right click the graphic and open the Object Properties dialog box, and see the phrase "no referenced file" below Main Editor: Referenced File: in the lower left hand corner, this has happened. I found if I removed all graphics files without references and imported them by reference, the source file may then be properly saved. I am also using a program called CCleaner, which removes cookies, temp files, browsing history and the like from a system. If the program settings are chosen too aggressively, and the application runs when FM has a file open, this same error will occur, even if all files are referenced properly. I don't know if SP3 has some similar application which is now running in the background and causing this.
To summarize, if you want to retain SP3, I have eliminated this error by confirming the links to referenced graphics files and avoiding using 3rd party "cleaners" while FM is open. -
Why can't I open a pdf file on my desktop? I have Adobe Reader and running OS 10.10.1 I keep getting the same message: "Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."
I tried that.
I saved the file 8pdk_96_4.pdf to my desktop and tried to open it using Adobe Reader but I get the same message: Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). -
For the last month or so, every time I download anything I get an error message stating "........could not open ...... .dmg because it is either not a supported file type or because the file has been damaged...." I do not know what to do to fix this issue. Any ideas?
hmmm.... try this
basic troubleshooting:
Repair Disk Permissions http://support.apple.com/kb/PH5821
Repair Disk http://support.apple.com/kb/ht1782
reset ACLs http://osxdaily.com/2011/11/15/repair-user-permissions-in-mac-os-x-lion/ -
I had this problem of not being able to open some files a couple of years ago and eventually was able to fix it but i can't remember how. Any help would be grateful.
The following document should help: Error: Adobe Reader could not open '*.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and was not correctly decoded.)
Please update this thread if your issue is resolved.
Thanks,
Shashi -
I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been damaged. To create a PDF document, go to the source application then print the document to .pdf" I am going to the source application and printing the document to .pdf yet it's saving the file as a .log file. After reinstalling the software, I initially didn't encounter this problem but on my second and third attempts to convert files to .pdf format, this error message reappeared. How do I resolve this problem?
I have a similar problem which i did not have before...and it exists only in some powerpoint files which i want to print as a pdf file...and i get the same message as above.
the log says the bellow details...what's the problem and how can i resolve it? thanks.
%%[ ProductName: Distiller ]%%
%%[Page: 1]%%
%%[Page: 2]%%
Cambria not found, using Courier.
%%[ Error: invalidfont; OffendingCommand: show ]%%
Stack:
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%% -
Can anyone assist me? I keep receiving this message when I download my ebook ''Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't decoded).'
Much appreciatedI think you should ask in the Digital Editions forum, Adobe Digital Editions
-
When I try to download a PDF from Adobe DC, I get an error message: "Adobe Acrobat Reader DC could not open 'nrneph.2015.33.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)"
I am using a Macbook Pro, OSX 10.9.5, Safari browser. Previous versions of Adobe Acrobat have worked fine for years.
WGCWhat's the name of the file you are attempting to open? Is it "ScreenFlow_4.5.2.dmg"? If it is the correct name then the message is correct and you are attempting to open a file with DMG files extension and not one with a PDF file extension. Adobe Reader opens PDF files an not any other file type.
-
I trying to download a book as a pdf to view through my adobe reader. But every time I do I keep getting the same error message saying that the file is not a supported file type or because the file has been damaged it can't be opened or viewed. What do I do and how do I get it to work. Because as of now I only have one option of downloading the book and I've tried to download the app notable pdf to see it that worked but it didn't either. As of right now I'm using google chrome but I also tried using Safari but it's still not working. I have a Mac with a Mac OS X updated system. I need an answer ASAP. Can anyone help me?
I have the same issue. Almost none of the PDFs I download from Safari browser can be opened. Same message about the file being damaged or not really a true PDF. Neither of these are the issue here. Size of file is not an issue. I have Acrobat Reader XI so I believe that's pretty up to date. If I open with Text Editor the file is blank. any ideas?
-
Whenever I try to open an Adobe file I get this message:
Adobe Reader could not open ..... because it is either not
a supported file type or because the file has been damaged
(for example, it was sent as an e-mail attachment and wasn't
correctly decoded). This is driving me nuts !! Is there an Adobe
product that I can purchase that will make my Adobe Reader
work??? Right now it is useless to me and I have an important
download taht was sent as an Adobe download file and after
I downloaded the file Adobe Reader refuses to open it.
Please Help!!!!I am having the same problems!!! How can a person get help from ADOBE? Or do I cancel and find a different program for converting.
-
Adobe Reader could not open 'images rest 12-4.jpg' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
that is the message how do i correct this problemIt sounds like your file associations are messed up and Reader is trying to open your .jpg files. Is this correct?
If so, you just need to change the associations to choose what application opens them. Here's how: Change File Associations in Mac OS X -
Adobe Reader could not open 'aw14lookbook.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
Most likely http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html
-
Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). When I check the file it shows Zero KB downloaded but the file appears - any suggestions?
Obviously your download was not successful.
What is your operating system? How exactly do you download such files? -
I keep getting a warning stating that the document could not be auto saved in pages. The file has been changed by another application. Then it says click save any way to keep your changes and save the changes made by the other application as a version, or click revert to keep the changes from the other application and save your changes to a version.
What in the heck does all that mean, and why are they trying to behave like a Windows product or a Microsoft office product. I just don't get it.
Why is another application changing my documents? It's like they've created a virus within their own programs. It's a pain in the neck and makes no sense.I am also having the issue of a warning saying "could not be auto-saved in Pages. The file has been changed in another application. I then hit "save anyway", the warning will go away for a time, sometimes minutes, sometimes hourr, but then the warming reapprears saying the same thing. This is not the case with all Pages documents but it is the case with many.
Working with a Retina Macbook Pro and current software
These are newly created documents -
After saved to computer, Adobe Reader could not open 'filename.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
What is your operating system? Reader version?
Saved from where? What is the file size of the saved document?
Maybe you are looking for
-
Master details form: in the details form the List of values is not working
The master details have an upper form and a lower form OK So, the List of values of values in the upper is working fine, the lower form or the details form the list of values not working on it and the code is right, and mean not working like when you
-
How to create Fixed Length Flat File from Open Hub in BI 7.0
My requirement is to produce a Fixed length Flat file by Open Hub destination. My Open Hub has four fields. Now the requirement is to create another extra field in Open Hub which will contain all of the four fields value. In addition to that the fiel
-
4.5 hrs iPad 2 still synching/backing up!
Sure taking a long time synch/back up iPad2. It still reports it's on step 1 of 6, so I have no idea how long this will take, even days? I wish Apple would fix this obvious problem. Meanwhile, what do you do? I'll probably have to cancel in another f
-
Application Unexpectedly Quits.User based issue
Hi, I recently upgraded my system to Mountain lion, and now i cannot use one of my applications(manga studio). Everytime i try and open it, it unexpectedly quits. Ive tried deleting all the files and reinstalling but it doesn't want to start up. Howe
-
I am having a problem with QT freezing up when I try to play something. I get no error messages just a black screen where something should be playing. I am able to move the mouse around but for several minutes, nothing else will work and nothing will