|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Blob to word document to execute
Hi,
I have successfully stored an image as a BLOB in a db, and pulled it, made it into an image again, and put it in a JPanel...However, now I need to pull a BLOB from a db that was previously a ms word doc and turn it back into one, save it and open it...How do I do that in java, I think I need to use the Runtime class but I'm not sure exactly how...any advice? If you need to know more to help, just let me know. Thanks in advance, Michael |
|
#2
|
|||
|
|||
|
Problem Solved
I solved the problem...I kind of did it the way I didn't want to though. I got the blob turned it back into a doc, stored it in a temp file on the users computer, and used Process proc = Runtime.getRuntime().exec(System call goes here) to run the file that was temporarily in that temp file.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Blob to word document to execute |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|