Running a (word) doc & Excel File from a swing app
Hi All ,
I want to create a Word Document and then open, edit it from a Swing application with all menu. If you can't do that directly,
Thanks in advance...
Thanks
Sam
h2. {color:#ff0000}Double post{color}
Reply here:
http://forum.java.sun.com/thread.jspa?threadID=5237946&tstart=0
Similar Messages
-
Yesterday afternoon, out of the blue, I can no longer open word or excel documents from my gmail account in firefox browser on windows 7. I can in all other browsers. The error message is "There was a problem sending the command to the program"
As a workaround, does it work to save the files first and then open them after saving?
Sometimes when Firefox has problems handing off a download to another program it is caused by a corrupted settings file. That file is hard to edit, so usually we suggest renaming the file to see whether that resolves the issue. Here's how:
Open your current Firefox settings (AKA Firefox profile) folder using either
* "3-bar" menu button > "?" button > Troubleshooting Information
* (menu bar) Help > Troubleshooting Information
* type or paste about:support in the address bar and press Enter
In the first table on the page, click the "Show Folder" button. This should launch a new window listing various files and folders.
Leaving that window open, switch back to Firefox and Exit, either:
* "3-bar" menu button > "power" button
* (menu bar) File > Exit
Pause while Firefox finishes its cleanup, then rename '''mimeTypes.rdf''' to something like mimeTypes.old
Start Firefox back up again and test your Gmail attachments. Any improvement?
Note: This resets some preferences to their defaults, such as which PDF viewer Firefox uses. If you need to update that again, please see this article: [[How to disable the built-in PDF viewer and use another viewer]]. -
How to download data in Word or Excel file from webdynpro?
Hello everybody,
In my webdynpro application, I want to download my Table control data in word or excel file. Is there anyway to do this?
Thanks in advance,
BhavikI am sorry.Please ignore this reply
Please go through the following
downloading internal table contents to excel sheet
Regards,VIP
Message was edited by: Anilkumar Vippagunta
Message was edited by: Anilkumar Vippagunta -
How to attach a word or excel file directly in Email App on iPhone 5s
The biggest disappointment for me with iOS7 is the inability to attach word, excel and pdf documents directly to a mail in the Mail App instead of attaching them from the app you are using at the time. This is a serious flaw and Apple must by now know that attaching video and pictures is not all that users of their devices do. Surely they need to take this aspect seriously if they want to be taken seriously by business customers!
HI,
This is quite possible.
Actually, before approving or rejecting, the manager has to get email from other approvers who dont have access to SAP or Portal.
How these approvers are notified about workitem?
However, you can make use of decision step to approve or reject.
When Manager will open the work item ,SAP standard functionality can be used to attach file , here manager can select word file format and attach the required file. then he can approve or reject it.
This file would be saved as instance of SOFM object and a background method would be required if you want to read the contents.
Regards,
Sangvir Singh -
I am unable to open attachments (Word Documents, Excel file, Adobe) from my Gmail with Firefox. My computer freezes when I try to open the (email attachment) file. Task Manager says "not responding".
You can respond to [email protected]You may first want to look into Safari's "Installed Plugins" section within the browser. This is (usually) found under the Safari Help header in the top of a browser. I say usually, because I don't use Safari often and mine is an older version. They handle applications and plugins like most others, to a point.
I see in Safari Installed Plugins that mine would use
application/pdf
Acrobat Portable Document Format
Acrobat Reader & reader plugin v9.5.5 for web browsers
(in Safari 5.x, where I looked into this)
While I use FireFox, SeaMonkey (Mozilla) and others, where I can choose in preferences the helper applications to open from the browser, Safari has different methods; so if you can change this in the preferences or settings of Safari in a later version I am not certain.
You could see what the defaults are by using Safari help menu to open the Installed plugins, and maybe find out what happend to Adobe reader plugin. Could be it was 'sandboxed' in a later OS X and needs to be installed differently to be accepted as safe.
It is easier to set how a file type is handled once it is inside the computer and not held in the browser; by file type in general or specific to each single document. I do both, and seldom let an a browser do these things due to security considerations. I download and open them, only then if I feel they are safe.
Sorry to not have a specific answer for that anomaly.
Good luck & happy computing! -
WORD doc x files received open with black lettering changed to white with black backgrounds. Color images have black backgrounds. There is no issue for non MAC users. How can I open the document as sent? Thank you.
Pages (any version) is not a word clone, and may not digest Word documents as accurately as their native Microsoft application. Pages v5 is also far from feature/functionality complete, and that only compounds this issue.
Suggest you download/install the free LibreOffice and open the Word documents with it. Do the artifacts persist in LibreOffice? -
My mac is converting Word and Excel files into Pages and Numbers files when I click to open them from an email. Downloading them and opening them doesn't help. How do I make this stop? I don't use iLife and don't want to; my clients are using Office and it's easier for me, except when I have to copy and paste everything they send me from an iLife file back to Word and Excel. Help!!! It's like Apple has become Microsoft, forcing us to use their apps.
Do you have Word & Excel installed, if yes, navigate in the finder to an example of each, right click and select 'Get Info' scroll down to 'Open With' and select the appropriate program, check the box that says 'Change All'
-
Hi,
I am facing the problem in opening the word and excel files received through email in my MS office professional 2013 paper licence, Microsoft Windows 8.1 enviornment. please help in this matter
regards
Rajeev Bhagwat
Administrative Officer-I
Purchase and Store Section
UGC-DAE Consortium for Scientific Research,
University Campus, Khandwa Road, Indore (M.P.), India.
Telefax-+917312361546I should further say the files I sent are .xlsx and .docx files. They look fine my end and I send such files all the time without problems.
However, I did try to cheat by going in via the Safari onto my 'live' online email account and the Safari automatically transfers them to winmail.dat files with the same result.
Ahh - have just been on using my PC this time and you are right, it seems that the service provider does the transfer and then when my outlook opens the file (on the PC), it must reconvert to .xlsx etc again.
Very strange.
Ergo, I guess the question should be how I open wimail.dat files ?? -
Excel 2008 wont open excel files from at WHS network share.
hi all
i have a strange problem here, i own a mac mini the 2.53ghz model bought a month ago, and a macbook (the white model) also bought a month ago, both running all the latest software updates, and office 2008 for mac, with all the latest updates
on the mac mini, i can´t open any excel documents that are stored on a shared folder on my windows home server, it just says
excel cannot open this file the file might have been damaged or modified from its original format
but when i try to open the same document on the macbook, it opens just fine?
i have tried to remove office 2008 and reinstall it on the mac mini, but that didnt help, and the strange thing is if i move the excel files, from my windows home server, to another windows home server, it opens just fine on the mac mini
i then suspected that it was the WHS that was ****** up, and deleted the account on the WHS where the folders were stored, rebooted the whs, and added the account again, but with the same result, the mac mini wont open the excel files, it will open word files, from the same folder.
and the macbook will still open both excel and word files, from the same folder?
i´m really confused now, and cant seem to pinpoint the error, and hope that someone can give me some pointers of where to look?
sincerely
Carsten Larsen
DenmarkYou're pobably better off posting your question on Microsoft's own forums for their Mac products, as it's their software you're having issue with:
http://www.officeformac.com/productforums -
I would like to create a workflow in Automator or a script in AppleScript (or a combination of the two), that opens Safari to a specified page and downloads an excel file from this page and saves the downloaded document to my desktop.
Is this something that be done? If so, how?
I have so far been able to build a workflow in Automator to open Safari and added an AppleScript that takes Safari to a specific page that has an Excel document.
I can't figure out where to go from here... Any help would be apprecitated.
Thanks!Would you have the web address the excel sheet is on?
Is there a simular web page you could point to if not?
Would there be a copy of the file on an FTP page. This would be easier.
curl
http://www.cyberciti.biz/faq/mac-os-x-terminal-download-file/
http://www.thegeekstuff.com/2012/04/curl-examples/
http://curl.haxx.se/docs/manpage.html
Macintosh-HD -> Applications -> Utilities -> Terminal
# Press return to run a command.
the curl is a terminal command ( Unix ). It allows you to read a file off of the web.
man curl
provides cryptic information on the commnad curl.
press the space bar to advance a page.
press letter to q to quit.
What you may have to is to read in the web page as a text file. Go "fishing" through the page to find the excel file you need. Once you find the file, you can use curl to read the file.
curl is a very full featured command. (read complex to figure out ).
It is easier to diagnose problems with debug information. I suggest adding log statements to your script to see what is going on. Here is an example.
Author: rccharles
For testing, run in the Script Editor.
1) Click on the Event Log tab to see the output from the log statement
2) Click on Run
For running shell commands see:
http://developer.apple.com/mac/library/technotes/tn2002/tn2065.html
on run
-- Write a message into the event log.
log " --- Starting on " & ((current date) as string) & " --- "
-- debug lines
set desktopPath to (path to desktop) as string
log "desktopPath = " & desktopPath
set unixDesktopPath to POSIX path of desktopPath
log "unixDesktopPath = " & unixDesktopPath
set quotedUnixDesktopPath to quoted form of unixDesktopPath
log "quoted form is " & quotedUnixDesktopPath
try
set fromUnix to do shell script "ls -l " & quotedUnixDesktopPath
display dialog "ls -l of " & quotedUnixDesktopPath & return & fromUnix
on error errMsg
log "ls -l error..." & errMsg
end try
end run -
Access Word and Excel files stored on 8820 SD Card?
Need to be able to access many Word and Excel files stored on an 8820 SSD card - Media Center does not have a category for "business files" only pics and video etc. Is there a way to do that like Documents to Go on the Palm systems? Roxio's filters do not allow Word and Excel files either but Mass Storage accepts the OK. How to access on the SSD card?
On Android OS 4.1 - 4.3 (Jelly Bean) or older, Adobe Reader for Android version 11.2.x has a known defect in the "All PDFs" view. The All PDFs view does not show the files and folders on an external SD card. A workaround is to use the Folder View instead of the All PDFs view. We have fixed the defect and plan to include the fix in the next release of Reader for Android.
On Android OS 4.4 (KitKat) only, neither All PDFs view nor Folder View shows any files or folders on an external SD card. Reader cannot save any changes to the files on an external SD card, either. We are still working on fixing the problems. In the meantime, please copy the files from your external SD card to your device's internal storage (e.g. /storage/emulated/0/Documents/...) using a File Manager/Browser app or use a cloud storage service (Acrobat.com, Dropbox, Google Drive, etc.) to store files.
Your case is the latter because your Samsung Galaxy S4 phone is running 4.4.2 (KitKat).
Sorry for the inconvenience. -
Opening Excel Files from DB (blob column)
My project has implemented a WEBUTIL solution to attach files into the database, view the files stored in the database (in a BLOB column), and remove the files stored in the database.
Everything has been running smoothly. We are in final testing and have found a couple of interesting scenarios ...
When a user tries to view an Microsoft Excel 2007 file from our application, the Excel file displays properly (as long as Microsoft Excel isn't already open - outside of our Oracle application). Once the Excel file is viewed, the system will not allow the user back to our application until after the Excel file is closed (we use the start /wait myExcelFile.xls ... command). This works perfectly for us.
The two scenarios we encounter occur when
1.) The user has Microsoft Excel open outside of our application and tries to open an Excel file from within our application, or
2.) The user has the file already open (either from within our application or outside of our application) and then tries to open the file from within our application.
Let me explain a little further because the above two scenarios are interrelated.
When a user has Microsoft Excel open (outside of our application), and then clicks the button to open the Excel file, the system will open the file as another window (within Excel). The system will allow the user to navigate back to our application (where as, if Excel is not open outside of our application, the system will not allow the user to navigate back to our application). Once the user navigates back to our application (while the file is still open), the user can click the button to view the file again. At this point, the user is displayed a WUT-105 error message (I assume b/c the system is trying to open a file that is already open).
I assume the two solutions are the following:
a.) Do not allow a user to open a file that is already open (not sure how to check this from within Forms ?)
b.) Do not allow a user to open an Excel file when another EXCEL process is already running (this will avoid allowing the user to naviagate back to our application)
I don't know if there is a better solution.
Do you experts have any recommendations?
We are using Oracle Application Server 10g R2 (10.1.2.0.2), Oracle Database 10g R2 (10.2), and Oracle Developer 10g (10.1.2.0.2)
I hope this all makes sense.
Thanks,
Mike
Edited by: user639843 on Oct 20, 2008 2:15 PM
Edited by: user639843 on Oct 20, 2008 2:20 PMThank you, Thank you, Thank you!!!!
I believe that will work (adding a sequence number to the end of the filename)!
We do not allow a user to update the file, only view. If a user wants to make a change, they need to remove the existing file (from the database), create a new file (outside of our application), and attach the file in our application (into the database). All updates occur outside of our application - we are not a document authoring system, just a document storage system.
Once again, many thanks on the solution!
Mike -
Error while reading excel file from application server into internal table.
Hi experts,
My requirement is to read an excel file from application server into internal table.
Hence I have created an excel file fm_test_excel.xls in desktop and uploaded to app server using CG3Z tcode (as BIN file type).
Now in my program I have used :
OPEN DATASET v_filename FOR INPUT IN text mode encoding default.
DO.
READ DATASET v_filename INTO wa_tab.
The statement OPEN DATASET works fine but I get a dump (conversion code page error) at READ DATASET statement.
Error details:
A character set conversion is not possible.
At the conversion of a text from codepage '4110' to codepage '4103':
- a character was found that cannot be displayed in one of the two
codepages;
- or it was detected that this conversion is not supported
The running ABAP program 'Y_READ_FILE' had to be terminated as the conversion
would have produced incorrect data.
The number of characters that could not be displayed (and therefore not
be converted), is 445. If this number is 0, the second error case, as
mentioned above, has occurred.
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CONVERSION_CODEPAGE', was not
caught and
therefore caused a runtime error.
The reason for the exception is:
Characters are always displayed in only a certain codepage. Many
codepages only define a limited set of characters. If a text from a
codepage should be converted into another codepage, and if this text
contains characters that are not defined in one of the two codepages, a
conversion error occurs.
Moreover, a conversion error can occur if one of the needed codepages
'4110' or '4103' is not known to the system.
If the conversion error occurred at read or write of screen, the file
name was '/usr/sap/read_files/fm_test_excel.xls'. (further information about
the file: "X 549 16896rw-rw----201105170908082011051707480320110517074803")
Also let me know whether this is the proper way of reading excel file from app server, if not please suggest an alternative .
Regards,
KarthikHi,
Try to use OPEN DATASET v_filename FOR INPUT IN BINARY mode encoding default. instead of OPEN DATASET v_filename FOR INPUT IN text mode encoding default.
As I think you are uploading the file in BIN format to Application server and trying to open text file.
Regards,
Umang Mehta -
Error While reading an Excel file from KM Folder.
Hi Guru's,
In my PDK Application I am trying to read an Excel file from KM Folder.
Workbook workbook = Workbook.getWorkbook(new File("/irj/go/km/docs/documents/test/Test.xls"));
It gives an error:
Error:java.io.FileNotFoundException: \irj\go\km\docs\documents\test\Test.xls (The system cannot find the path specified)
Details of appli:
In my JspDynpage I am calling a utility Java file.
There I have to read an Excel and to passit to JSP.
Details of jar files used:
jxl-2.6
com.sap.security.api.jar
Regards,
RamHi,
You are trying to read file wrong way. In the tutorial of Java Excel Api: "JExcelApi can read an Excel spreadsheet from a file stored on the local filesystem or from some input stream.". You are trying to read from file system. So you must get file input stream then you can read it. Please search forums KM file read. -
New Laserjet Pro M476NW Will Not Print MS Word or Excel Files
I just bought a brand new Color Laserjet Pro MFP M476nw printer. I am usint MS Vista 32 bit and MS Office 2007.
The Printer prints images, emails and I can make copies, etc, but I cannot print Word files, Word Envelopes, Excel files, etc.
Until my old HP Laserjet 4P finally died the other day (internal electrical short) I could print everything. Have spent 8-hours or so trying everything I have read from Microsoft, HP, etc, with no success. Installed, Uninstalled, reinstalled, ran diasgnostics, still no success.
I cannot contact anyone at HP for less than $99 to talk to a person. Very frustrating.
As I said, Word and Excel files printed just fine until I bought the new M476nw printer. How can this be Fixed?
This question was solved.
View Solution.@DerekChristense
Thank you for letting me know that Print and Scan Doctor helped you fix your issue and you are back printing.
I am an HP employee.
Say Thanks by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as Accepted Solution
Maybe you are looking for
-
hey please help itunes wont open up it says it can not be accessed and i dont know how to fix it please help
-
IconItemRenderer with rounded Corners
Hi everyone, im using the mobile IconItemRenderer and need to round the corners of the list-Items to be in conform with the rest of my UI-Design. is there any way to archive this? thx for your help
-
Hi All, we created Users and Accounts using RIDC. Now need to map user Account mapping programmatically. Let me know any suggestion. Thanks to all.
-
Hi, how can I know which patch set of Developer 6i is installed ? Many thanks.
-
Grid control shows process down but process is up
How can I correct this issue? the processes are running, but grid control shows them down, is there a manual refresh that needs to be done?