In our project we have rich text format (RTF) report template files with bookmark fields.
what we required is to read that file in background replace templates bookmark fields with DB field values (may be in iteration) and save this report file as .rtf but without using any rich* controls....
basically we are looking for a library or api already doing the same thing ... (since we follow the rule ... NEVER RE-INVENT THE WHEEL)
Any help would be appreciated... either by code example or by guided links on net
thanks in advance
10 2869
You could use automation to drive MS Word.
You could use automation to drive MS Word.
sorry to indicate that we also do not want to use MS word automation. since it is heavy to work with web application.
i appreciate your help
You're being generous. :) I realise this hasn't been a lot of help.
what if all the things would be done in background ... without using any UI control
correct me if i m wrong, i think all these using/required a UI control.
I didn't read any of them in detail, but I thought some of them were just dealing with API calls. Besides, couldn't you just set the UI invisible? Or is this not feasible?
You're being generous. :) I realise this hasn't been a lot of help.
I didn't read any of them in detail, but I thought some of them were just dealing with API calls. Besides, couldn't you just set the UI invisible? Or is this not feasible?
Still looking a good API in VB6 for RTF
Still looking a good API in VB6 for RTF
Are you sure you need one? If you just want to replace some space-holders with values, why not just do that in the raw text? Just like editing an HTML document in Notepad.
Not sure whether this is one of the links I already sent. AscToRTF, while it does a lot of stuff that probably won't interest you, is available under a "source code licence" so you can pick it apart and do stuff with the source. This might be worth keeping in mind, as at least a possibility if you get really desperate.
I just read through this thread on another forum (don't let the Admins here find out!). It was a programmer who wanted to create an equivalent of the RichTextBox control from scratch. They were more or less talked out of it, but I think there's some pretty relevant information there. You might want to have a quick read. Also, they linked to a couple of points of interest...
Not sure whether this is one of the links I already sent. AscToRTF, while it does a lot of stuff that probably won't interest you, is available under a "source code licence" so you can pick it apart and do stuff with the source. This might be worth keeping in mind, as at least a possibility if you get really desperate.
I just read through this thread on another forum (don't let the Admins here find out!). It was a programmer who wanted to create an equivalent of the RichTextBox control from scratch. They were more or less talked out of it, but I think there's some pretty relevant information there. You might want to have a quick read. Also, they linked to a couple of points of interest...
Thanks i find them helpful
how strange helpful Killer2 :)
Thanks i find them helpful
how strange helpful Killer2 :)
Well, killing's just a job, you know. Everyone needs a hobby.
By the way, let us know how this all turns out, huh?
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Anonymous |
last post by:
I need to create an application that will do fairly simple text manipulation
on 20,000 files in text format (html files). The files exist both on my
Windows machine and on a FreeBSD server. I...
|
by: Alexander Hoffmann |
last post by:
Hello,
I have a project with a number of python modules, which means there are
several *.py files all in the same folder /usr/local/myproject/*.py .
I ran the program to test it and of course as...
|
by: deko |
last post by:
Is there a quick and dirty way to delete all files in a given directory?
perhaps something like this:
Set objFile = CreateObject("Scripting.FileSystemObject")
objFile.DeleteFile "all files in...
|
by: Lacka |
last post by:
Hi,
How can I transfer files via FTP under asp.net? Don't found any info...
thanks,
Lacka
|
by: mjpmsa |
last post by:
Hello,
I've been using the O'Reilly book _Programming ASP.Net_ to learn
ASP.Net, but it frustrates me because all of the examples seem to use
the built in form controls. I write good, standards...
|
by: Sarav |
last post by:
Hi All,
I need to upload an XML file via an client side ActiveX control. I
searched the web but everywhere got the samples of using file control alone.
How can I upload a file into my web server...
|
by: iwdu15 |
last post by:
how can i open a file i saved and place the info into different text boxes?
|
by: metaperl |
last post by:
A Comparison of Python Class Objects and Init Files for Program
Configuration
=============================================================================
Terrence Brannon
bauhaus@metaperl.com...
|
by: nguser3552 |
last post by:
Hello Everyone,
I have a problem I can't surmount, anything is gravy at this point.
I need to be able to read any type of file .ext (mov,mpeg,mp3,etc) in binary
format. I can do this in C, but ...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
| |