vb.net - Output to Word Visual Basic -



vb.net - Output to Word Visual Basic -

good morning stackers, community has been nil help today .. dilemma

right have output straight preformatted outlook window

dim outl object outl = createobject("outlook.application") if outl isnot nil dim omsg object omsg = outl.createitem(0) omsg.to = incidentcommander omsg.bcc = "ictimeline@nshs.edu" omsg.subject = "timeline " + cstr(incidentname) + " - " + cstr(incprob) + " #" + cstr(incidentnumber) + " - " + " date: " + d + vbcrlf omsg.body = timeline.text omsg.display(true) 'will display message user end if

i need convert outputting outlook parameters outputting ms word doc same parameters. open either direct code replcaing outlook objet. or insight.. in advance!

also

what syntax if x or y or z then

well, i've found this while (last month :p).

it details pretty straightforward approach working word documents. however, need convert text manually (and create object it), beingness have text shouldn't issue.

hopefully work you, if have questions sense free ask.

you sort of answered own question, since syntax if statement using "or":

if x or y or z 'do stuff end if

unless you're referring else? there "or" bitwise operator.

vb.net output

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -