Embedding a .RTF (1 Viewer)

Joined
Nov 4, 2004
Messages
3,550
Location
Sydney
Gender
Male
HSC
2005
As per my major project, it needs to be a teachers resource ... so I need to put alot of information, and I figured the best place too put it is in a .RTF, but I need to embed it ... is it possible to embed a .rtf rather than OLE?
 

HellVeN

Banned
Joined
Jun 26, 2004
Messages
532
Gender
Male
HSC
2005
Give us more information.
What programming language are you using?
What exactly is it that you're doing?
What data will you be manipulating?
 
Joined
Nov 4, 2004
Messages
3,550
Location
Sydney
Gender
Male
HSC
2005
Sorry I was assuming everyone did VB6 but I realised some do Delphi etc.., to answer your question (and thanks for the patience)

What programming language are you using? Visual Basic 6
What exactly is it that you're doing? I want to embed a .RTF into a form, because I have to make a program that basically provides information to teachers, straight from a syllabus, and rather than just type all the stuff out onto a form using text boxes and stuff, I wanted to embedd it into a .RTF

What data will you be manipulating? Text and pictures primarily
 

AntiHyper

Revered Member
Joined
Sep 16, 2004
Messages
1,103
Location
Tichondrius
Gender
Male
HSC
2005
What: I want to embed a .RTF into a form - I wanted to embedd it into a .RTF

I know how to embed a form into rich text format files, not the other one.
 
Joined
Nov 4, 2004
Messages
3,550
Location
Sydney
Gender
Male
HSC
2005
sorry I wanted a .RTF embedded into a form ... like how imagine a text box displayed, like that but embedded and it has all these pictures/text in it
 

AntiHyper

Revered Member
Joined
Sep 16, 2004
Messages
1,103
Location
Tichondrius
Gender
Male
HSC
2005
ohh embeded into a windows form.. i thought a type of forms like you get in the internet. That's a very complicated program you're making for yourself. The furthest I go would be displaying plain text file and concentrate more on getting all the marks first.
Remember KISS: Keep It Simple Stupid.
 
Joined
Nov 4, 2004
Messages
3,550
Location
Sydney
Gender
Male
HSC
2005
shit :( I was hoping too ... ah well

My sheet for the major project specifically says "...and developing a sample software program"

would having the option of actually PRINTING this stuff (Straight from the form) you think go beyond that "sample software program"- or is just what the question asks enough

the question for hte assignment is

You are a developer in a small software
design company. In order to increase sales, management
has decided to branch into Senior HSC educational
software.
As part of this new idrection, you have been given the
task of identifying a concept (or concepts) associated
with one of the NSW higher school certificate board
courses and developing a sample software program

The program is either to
- facilitate the teacher of this concept (a teachers
resource) or
- provide a personal learning tool for an HSC student
 

Fosweb

I could be your Doctor...
Joined
Jun 20, 2003
Messages
594
Location
UNSW. Still.
Gender
Male
HSC
2003
Look I haven't read all of this because it looks stupid, but its not complicated at all.

Very far from complicated...

Just add the Microsoft Rich Text Box component to your project (Project --> Components --> Microsoft Rich Textbox Control).

Then on the form, add the Rich Text Box (it comes up in your Components tab. It's a little paragraphy picture with an A in the bottom right corner...) just like you would add a text box.

The code goes like this:
Code:
richTextBoxName.Filename = "The location of the RTF file"
...Pretty complicated...
 

AntiHyper

Revered Member
Joined
Sep 16, 2004
Messages
1,103
Location
Tichondrius
Gender
Male
HSC
2005
ok.. well i don't do VB and so far at my low level of programming knowledge.. i have no clue what so ever...
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top