|
-
Jan 15th, 2002, 06:07 PM
#1
Thread Starter
Lively Member
How to Open a Word Document in VB...
Hi Guys,
I need to know how to open the Word Document files in VB. I tried with the Rich Text Box, but some of Ascii characters is there in my Rich Text Box. Please Help me. I need it very very urgently for a Project I'm doing. Thnx in advance.
Stop Piracy. Stop Using Microsoft.
-
Jan 30th, 2002, 08:13 PM
#2
-
Jan 30th, 2002, 08:55 PM
#3
Thread Starter
Lively Member
Got it but in a different way...!
Hi Jlarini,
Actually I also thought to do like that, But there was an extremely easy way than that. I got advice to use the ShellExecute API to do the same thing. Since *.doc will be registered with a file type to open it (The Default Viewing Program). So I don't want to strain too much in this thing. If I used your method then it demands the presence of Office. But in my method even if office is not installed it would be opened in Wordpad the default viewer for opening Word Documents and Rich Text Format files. So I had no problem. If you need the ShellExecute just call me. I'll pass on to you. I hope you would be aware of that.
Stop Piracy. Stop Using Microsoft.
-
Jan 31st, 2002, 06:24 PM
#4
-
Jan 31st, 2002, 08:25 PM
#5
Thread Starter
Lively Member
Thnx
Hi Jlarini,
Really the creedits goes to Planet-source-code.com. Because I got detailed idea of doing so from there only. Anyway thnx for your credits.
Regards,
Ramanan.
Stop Piracy. Stop Using Microsoft.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|