Click here to Skip to main content
15,917,702 members
Home / Discussions / C#
   

C#

 
GeneralCompatibility of .NET 2.0 over latest Windows - Vista Pin
Nadia Monalisa5-Jan-08 23:14
Nadia Monalisa5-Jan-08 23:14 
GeneralRe: Compatibility of .NET 2.0 over latest Windows - Vista Pin
Christian Graus5-Jan-08 23:49
protectorChristian Graus5-Jan-08 23:49 
GeneralRe: Compatibility of .NET 2.0 over latest Windows - Vista Pin
Nadia Monalisa6-Jan-08 0:13
Nadia Monalisa6-Jan-08 0:13 
Generalupload picture problem [modified] Pin
angels7775-Jan-08 16:09
angels7775-Jan-08 16:09 
GeneralRe: upload picture problem Pin
Christian Graus5-Jan-08 22:15
protectorChristian Graus5-Jan-08 22:15 
Generalbring out textbox value to microsoft word document Pin
angels7775-Jan-08 15:31
angels7775-Jan-08 15:31 
GeneralRe: bring out textbox value to microsoft word document Pin
Jimmanuel6-Jan-08 2:33
Jimmanuel6-Jan-08 2:33 
GeneralRe: bring out textbox value to microsoft word document Pin
angels7776-Jan-08 7:36
angels7776-Jan-08 7:36 
thanks.. i followed that way.. one question here
the below with bold ..( data cannot be displayed all.. only display the last one.. it has been overwrite.. how do i display it all..

private void contact_writeletter_Click(object sender, RoutedEventArgs e)
{
object oMissing = System.Reflection.Missing.Value;
object oEndOfDoc = "\\endofdoc"; /* \endofdoc is a predefined bookmark */

//Start Word and create a new document.
Word._Application oWord;
Word._Document oDoc;
oWord = new Word.Application();
oWord.Visible = true;
oDoc = oWord.Documents.Add(ref oMissing, ref oMissing,
ref oMissing, ref oMissing);

//Insert a paragraph at the beginning of the document.
Word.Paragraph oPara1;
oPara1 = oDoc.Content.Paragraphs.Add(ref oMissing);
oPara1.Range.Text = contact_name.Text;
oPara1.Range.Text = contact_address_home.Text;
oPara1.Range.Text = contact_country.Text;
oPara1.Range.Text = contact_postcode.Text;
oPara1.Range.Text = string.Format
(DateTime.Now.ToShortDateString());
oPara1.Range.Font.Bold = 1;
oPara1.Format.SpaceAfter = 24; //24 pt spacing after paragraph.
oPara1.Range.InsertParagraphAfter();
GeneralRe: bring out textbox value to microsoft word document Pin
Jimmanuel6-Jan-08 7:52
Jimmanuel6-Jan-08 7:52 
GeneralChanging the Icon Pin
ddspliting5-Jan-08 6:21
ddspliting5-Jan-08 6:21 
GeneralRe: Changing the Icon Pin
Paul Conrad5-Jan-08 6:29
professionalPaul Conrad5-Jan-08 6:29 
GeneralRe: Changing the Icon Pin
Luc Pattyn5-Jan-08 6:46
sitebuilderLuc Pattyn5-Jan-08 6:46 
GeneralRe: Changing the Icon Pin
ddspliting5-Jan-08 7:05
ddspliting5-Jan-08 7:05 
GeneralRe: Changing the Icon Pin
Luc Pattyn5-Jan-08 8:15
sitebuilderLuc Pattyn5-Jan-08 8:15 
GeneralRe: Changing the Icon Pin
Ed.Poore5-Jan-08 12:37
Ed.Poore5-Jan-08 12:37 
Generaldatabase update insert problems Pin
angels7775-Jan-08 5:29
angels7775-Jan-08 5:29 
GeneralRe: database update insert problems Pin
Christian Graus5-Jan-08 12:46
protectorChristian Graus5-Jan-08 12:46 
Questiondatabase(server) access with a c# program Pin
spieljung5-Jan-08 4:33
spieljung5-Jan-08 4:33 
GeneralRe: database(server) access with a c# program Pin
Gareth H5-Jan-08 5:19
Gareth H5-Jan-08 5:19 
GeneralTalking to a TomTom 520 Pin
Gareth H5-Jan-08 3:43
Gareth H5-Jan-08 3:43 
GeneralRe: Talking to a TomTom 520 Pin
Jimmanuel5-Jan-08 10:30
Jimmanuel5-Jan-08 10:30 
GeneralRe: Talking to a TomTom 520 Pin
Gareth H5-Jan-08 11:22
Gareth H5-Jan-08 11:22 
Generalcombobox problems Pin
angels7775-Jan-08 3:36
angels7775-Jan-08 3:36 
GeneralRe: combobox problems Pin
angels7776-Jan-08 4:07
angels7776-Jan-08 4:07 
GeneralRe: combobox problems Pin
mav.northwind6-Jan-08 19:18
mav.northwind6-Jan-08 19:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.