473,732 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Lode word file in Rich text box

hariharanmca
1,977 Top Contributor
Is it Possible to Lode word file in Rich text box or some other way to view a word file.
Jan 8 '07 #1
2 2464
barulmca
1 New Member
I did not know how to load the Word File(.doc) . But i know How to load (RTF) Word File in Rich Text Box.

The coding Show below:

Step:1 First you create the rtf file. and save in any Folder.

Step:2 Create another txt file, and type (rtf fileName) . and save it above Folder

Step3:

Dim FileName1 as string
Dim Readfilenames(1 0) as string

fileName1=app.p ath&"\YourFolde r\YOUR RTF(FILENAME)
i=1
do until eof(1)
line input #1, Readfilenames(i )
i=i+1
loop
close #1
Rtf.LoadFile=Re adFileName(7)


With regards.

B.Arul
Apr 5 '07 #2
ansumansahu
149 New Member
Is it Possible to Lode word file in Rich text box or some other way to view a word file.
Word has its own format for displaying the data. So you will not be able to display the content of a word document until and unless you have a compatible control that will display the content.Some subset of the Word's format data can be displayed using RichTextBox.
Apr 5 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1679
by: Ravi | last post by:
Hi friends, I have to lode/import the data from files, is there any command to lode/import, in same time ( with singal command) iam using db2 8.2. Thanks In advance, Ravi.
5
4306
by: ivan | last post by:
Trying to figure out the best way to accomplish this... I have a Purchase Order form that we need to place an item "imprint" into with formatted text, so that the manufacturer will see the exact imprint needed (size and font). I felt that the best way to handle this was to place an OLE field into the table, then place it on the form and have "word" as the text editor. Problem: how to get microsoft word to open when you double click on...
1
4718
by: Amit D.Shinde | last post by:
Can Microsoft Word Document(.Doc) be loaded in Rich Text Box. Or is there any other method to get preview of Microsoft Word Document in VB.NET Please Help me
0
852
by: Peter Walburn | last post by:
Hi, I have developed a web-based application in VB .Net and have a need to export a report to Microsoft Word. I can create the report in Crystal Reports and use it's functions to export to Word. The Word file is created on the disk. However, when trying to load Word with teh file, it works for the first few times and then after while Word pops up a message box saying that the file does not exist. It seems to be looking in the wrong...
2
11653
by: Eshban Bahadur | last post by:
Hello, I want to read (RTF) files in my VB.NET programme. How can i do it. I apply the same method of reading text files, but it does not save the formatting of text like (bold, italics, underline) etc. So , how can i make programme which allows me to read (RTF) Rich Text Format files or Microsoft WORD files in VB.NET through FILE HANDLING. Plz help me
1
2342
by: sb Luis | last post by:
Hi everyone, I am going to export content of Rich text into MS WORD (.doc file) in a window application. thanks. Sb. Luis.
3
2995
by: Niyazi | last post by:
Hi, Its like a I am searching alot but still not found or satisfy what I found it. My question is that I had SQL server that contains some data. I also have a application folder call CUSTDOCUMENT. Once user cliks a button to retrive a document about the customer I need to program in this order:
6
8653
by: Justin | last post by:
Hi all, i need some help over here... i found the solution to export file from mysql db into *.csv. but is there anyway to convert the contents into *.doc and save in my webserver and providing a link for the end users to download the word file? FYI, the database records are obtained by end users submitting the forms themselve and i saved it in my db... Thanx.
1
1441
by: arun raut | last post by:
On Apr 10, 10:32 pm, Rich <R...@discussions.microsoft.comwrote: help not compilation write all easier. But Rich, Without being sure completely, if you want to use HTML as help
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9447
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9307
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9235
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9181
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.