473,807 Members | 2,823 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

template for stickers

Hi sleepless passionate coderZ!

I wanna ask you a qustion abot Microsoft Word Templates.

I need to construct a template such that it will contain both static and
dynamic fields. For instance we can think of a phone book on a A4 paper

----------------------------------
First Name: Friend1_Name
Last Name: Friend1_Surname
Phone No: Friend1_PhoneNo
-----------------------------------
----------------------------------
First Name: Friend2_Name
Last Name: Friend2_Surname
Phone No: Friend2_PhoneNo
-----------------------------------
:....

As you see left part (first Name, Last Name, Phone No) is static, so
always the same, but the right portion of the stickers are filled by the
data that comes from the database.

Is there a way that i can implement such an idea:

=> Administrators will construct the template, put some graphics in a
Word Template and, somehow, specify the dynamic parts of the template. After
constructing the tamplate admin will upload the template to a web directory.
I will write an ASP, PHP, or ASP.NET code in order to connect to database
and create a Word document from the template that is uplaoded. How may i
fill the dynamic fields programmaticall y at the web server? Just tell me a
way to solve this problem no matter in c#, asp or php? I need an answer.

Regards,
Ziver MALHASOGLU
Nov 15 '05 #1
5 1856
read help on mailmerge. that's exactly what it does.


"Ziver MALHASOGLU" <zi*********@ho tmail.com> wrote in message
news:e9******** ******@TK2MSFTN GP12.phx.gbl...
Hi sleepless passionate coderZ!

I wanna ask you a qustion abot Microsoft Word Templates.

I need to construct a template such that it will contain both static and
dynamic fields. For instance we can think of a phone book on a A4 paper

----------------------------------
First Name: Friend1_Name
Last Name: Friend1_Surname
Phone No: Friend1_PhoneNo
-----------------------------------
----------------------------------
First Name: Friend2_Name
Last Name: Friend2_Surname
Phone No: Friend2_PhoneNo
-----------------------------------
:....

As you see left part (first Name, Last Name, Phone No) is static, so
always the same, but the right portion of the stickers are filled by the
data that comes from the database.

Is there a way that i can implement such an idea:

=> Administrators will construct the template, put some graphics in a
Word Template and, somehow, specify the dynamic parts of the template. After constructing the tamplate admin will upload the template to a web directory. I will write an ASP, PHP, or ASP.NET code in order to connect to database
and create a Word document from the template that is uplaoded. How may i
fill the dynamic fields programmaticall y at the web server? Just tell me a
way to solve this problem no matter in c#, asp or php? I need an answer.

Regards,
Ziver MALHASOGLU

Nov 15 '05 #2
Thank you for your answer.

You mean we can generate formatted Word documents programmaticall y, by
using mail merge functionality? I found a good tutorial about mail merge at
http://personal-computer-tutor.com/services.htm

But it describes mail merge for operating manually, is it possible to
generate such documents programmaticall y?

Regards,
Ziver

"Jezebel" <fr****@mkkk.co m> wrote in message
news:OR******** ******@TK2MSFTN GP11.phx.gbl...
read help on mailmerge. that's exactly what it does.


"Ziver MALHASOGLU" <zi*********@ho tmail.com> wrote in message
news:e9******** ******@TK2MSFTN GP12.phx.gbl...
Hi sleepless passionate coderZ!

I wanna ask you a qustion abot Microsoft Word Templates.

I need to construct a template such that it will contain both static and
dynamic fields. For instance we can think of a phone book on a A4 paper

----------------------------------
First Name: Friend1_Name
Last Name: Friend1_Surname
Phone No: Friend1_PhoneNo
-----------------------------------
----------------------------------
First Name: Friend2_Name
Last Name: Friend2_Surname
Phone No: Friend2_PhoneNo
-----------------------------------
:....

As you see left part (first Name, Last Name, Phone No) is static, so always the same, but the right portion of the stickers are filled by the
data that comes from the database.

Is there a way that i can implement such an idea:

=> Administrators will construct the template, put some graphics in a
Word Template and, somehow, specify the dynamic parts of the template.

After
constructing the tamplate admin will upload the template to a web

directory.
I will write an ASP, PHP, or ASP.NET code in order to connect to database and create a Word document from the template that is uplaoded. How may i
fill the dynamic fields programmaticall y at the web server? Just tell me a way to solve this problem no matter in c#, asp or php? I need an answer.

Regards,
Ziver MALHASOGLU


Nov 15 '05 #3
Anything you can do with Word can be done programmaticall y. (Almost)
Mailmerge is certainly no problem.
"Ziver MALHASOGLU" <zi*********@ho tmail.com> wrote in message
news:ez******** ********@TK2MSF TNGP11.phx.gbl. ..
Thank you for your answer.

You mean we can generate formatted Word documents programmaticall y, by
using mail merge functionality? I found a good tutorial about mail merge at http://personal-computer-tutor.com/services.htm

But it describes mail merge for operating manually, is it possible to
generate such documents programmaticall y?

Regards,
Ziver

"Jezebel" <fr****@mkkk.co m> wrote in message
news:OR******** ******@TK2MSFTN GP11.phx.gbl...
read help on mailmerge. that's exactly what it does.


"Ziver MALHASOGLU" <zi*********@ho tmail.com> wrote in message
news:e9******** ******@TK2MSFTN GP12.phx.gbl...
Hi sleepless passionate coderZ!

I wanna ask you a qustion abot Microsoft Word Templates.

I need to construct a template such that it will contain both static and dynamic fields. For instance we can think of a phone book on a A4 paper
----------------------------------
First Name: Friend1_Name
Last Name: Friend1_Surname
Phone No: Friend1_PhoneNo
-----------------------------------
----------------------------------
First Name: Friend2_Name
Last Name: Friend2_Surname
Phone No: Friend2_PhoneNo
-----------------------------------
:....

As you see left part (first Name, Last Name, Phone No) is static, so always the same, but the right portion of the stickers are filled by the data that comes from the database.

Is there a way that i can implement such an idea:

=> Administrators will construct the template, put some graphics in a Word Template and, somehow, specify the dynamic parts of the template. After
constructing the tamplate admin will upload the template to a web

directory.
I will write an ASP, PHP, or ASP.NET code in order to connect to database and create a Word document from the template that is uplaoded. How may i fill the dynamic fields programmaticall y at the web server? Just tell me a
way to solve this problem no matter in c#, asp or php? I need an

answer.
Regards,
Ziver MALHASOGLU



Nov 15 '05 #4
hey man this service Turkish ok
Türkçe soracaksan sor

"Ziver MALHASOGLU" <zi*********@ho tmail.com>, haber iletisinde şunları
yazdı:e9******* *******@TK2MSFT NGP12.phx.gbl.. .
Hi sleepless passionate coderZ!

I wanna ask you a qustion abot Microsoft Word Templates.

I need to construct a template such that it will contain both static and
dynamic fields. For instance we can think of a phone book on a A4 paper

----------------------------------
First Name: Friend1_Name
Last Name: Friend1_Surname
Phone No: Friend1_PhoneNo
-----------------------------------
----------------------------------
First Name: Friend2_Name
Last Name: Friend2_Surname
Phone No: Friend2_PhoneNo
-----------------------------------
:....

As you see left part (first Name, Last Name, Phone No) is static, so
always the same, but the right portion of the stickers are filled by the
data that comes from the database.

Is there a way that i can implement such an idea:

=> Administrators will construct the template, put some graphics in a
Word Template and, somehow, specify the dynamic parts of the template. After constructing the tamplate admin will upload the template to a web directory. I will write an ASP, PHP, or ASP.NET code in order to connect to database
and create a Word document from the template that is uplaoded. How may i
fill the dynamic fields programmaticall y at the web server? Just tell me a
way to solve this problem no matter in c#, asp or php? I need an answer.

Regards,
Ziver MALHASOGLU

Nov 15 '05 #5
Use a Directory/Catalog type mailmerge main document.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
"Kasım KÖSE" <ka*********@ho tmail.com> wrote in message
news:ed******** ******@TK2MSFTN GP11.phx.gbl...
hey man this service Turkish ok
Türkçe soracaksan sor

"Ziver MALHASOGLU" <zi*********@ho tmail.com>, haber iletisinde şunları
yazdı:e9******* *******@TK2MSFT NGP12.phx.gbl.. .
Hi sleepless passionate coderZ!

I wanna ask you a qustion abot Microsoft Word Templates.

I need to construct a template such that it will contain both static and
dynamic fields. For instance we can think of a phone book on a A4 paper

----------------------------------
First Name: Friend1_Name
Last Name: Friend1_Surname
Phone No: Friend1_PhoneNo
-----------------------------------
----------------------------------
First Name: Friend2_Name
Last Name: Friend2_Surname
Phone No: Friend2_PhoneNo
-----------------------------------
:....

As you see left part (first Name, Last Name, Phone No) is static, so
always the same, but the right portion of the stickers are filled by the
data that comes from the database.

Is there a way that i can implement such an idea:

=> Administrators will construct the template, put some graphics in a
Word Template and, somehow, specify the dynamic parts of the template.

After
constructing the tamplate admin will upload the template to a web

directory.
I will write an ASP, PHP, or ASP.NET code in order to connect to database
and create a Word document from the template that is uplaoded. How may i
fill the dynamic fields programmaticall y at the web server? Just tell me
a
way to solve this problem no matter in c#, asp or php? I need an answer.

Regards,
Ziver MALHASOGLU


Nov 15 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3020
by: kimbuba | last post by:
Hi. Do u guys know where to buy some java stickers? Stickers to put on your back car. Like Java, J2EE.... thnx
1
3347
by: Oplec | last post by:
Hi, I'm learning C++ as a hobby using The C++ Programming Language : Special Edition by Bjarne Stroustrup. I'm working on chpater 13 exercises that deal with templates. Exercise 13.9 asks for me to turn a previously made String class that deals with char's into a templated String class that uses the template parameter C instead of char. I thought it would be fairly simple to do this exercise, but I encoutered many errors for my...
31
3546
by: nikola | last post by:
Hi all, I was working with a simple function template to find the min of two values. But since I would like the two values to be different (type) I dont know what kind of value (type) it will return. I tried to write something like this: template <class Type1, class Type2, class Type3> Type3 findMin(Type1 x, Type2 y){ return (x < y) ? x : y;
5
2184
by: Gianni Mariani | last post by:
The spirit of this arguably pointless exercise, is that the numeric_limits<T> class could be replaced with a totally generic template of compile-time, template computed constants. The problem is that it takes a *long* time to compile and the "long double" version instantiates so many classes that gcc runs out of memory on my 1 gig machine ! So the question is - is there a simple way to reduce the number of template instantiations from...
2
2024
by: Rudy Ray Moore | last post by:
Whenever I get any error with Vc++7.1/.net/2003, it is followed by huge ammounts of "template assistance" error messaging referencing template code (MTL) that has nothing to do with the error. This makes it difficult to spot errors. For example, F4 to "jump to next error" just jumps ot the next "template assistance" message. And since there are hundreds of them, this is quite obnoxious. Can I disable these things? Why is MSVC...
19
7944
by: aaragon | last post by:
Hi everyone. A very simple question. I would like to know what is better in terms of performance. I want to use a simple function to obtain the minimum of two values. One way could be using a macro: #define min(a,b) ((a<b)?a:b) I thought that another way could be to use a template function: template <class T> T min<T a, T b>
0
1444
by: Gidi | last post by:
hi there, i have Customer table in my Db i want to insert a stickers A4 page into the printer and print over it the customer addres and name i need to get print of the custmers in a line and not under in the detiles section for exsample : this is the report (detiles secion) :
3
3763
by: Hamilton Woods | last post by:
Diehards, I developed a template matrix class back around 1992 using Borland C++ 4.5 (ancestor of C++ Builder) and haven't touched it until a few days ago. I pulled it from the freezer and thawed it out. I built a console app using Microsoft Visual C++ 6 (VC++) and it worked great. Only one line in the header file had to be commented out. I built a console app using Borland C++ Builder 5. The linker complained of references to...
45
2947
by: charles.lobo | last post by:
Hi, I have recently begun using templates in C++ and have found it to be quite useful. However, hearing stories of code bloat and assorted problems I decided to write a couple of small programs to check. What I expected was that there would be minor code bloat and some speed improvement when using templates. However... I wrote a basic list container (using templates), and a list container (using virtual derived classes). I also tried...
0
9719
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
10624
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...
1
10374
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
10111
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
9193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5684
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
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
3010
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.