You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:
have access to post topics
communicate privately with other members (PM)
not see advertisements between posts
have the possibility to earn one of our surprises if you are an active member
access many other special features that will be introduced later.
how can I generate Ms-Word from java?? I want to paste information from my Java program to Ms-Word directly. Do you have tutorials samples or something that could help me?
thank you
Okay first of all do u need to enter data into a .doc document or u want it in excel format . well just google it up .. all you need to create is a file where you want to store this data. Then using
String tempfilepathnameDA = "D:\\........doc";
File tempDA = new File(tempfilepathnameDA);
FileWriter fwDA = new FileWriter(tempDA);
String source= "here goes your website address";
now connect to the website
URL url = new URL (source);
http.... and all that jazz
line = rd.readLine();
then start reading and simultaneously enter into doc file
fwDA.write(line+ ",");