Click here to Skip to main content
15,909,437 members
Home / Discussions / COM
   

COM

 
QuestionI want to Write a ATL COM to hold the Event "a NewMail button on Standard toolbar of Outlook is pressed" Pin
bk_eminem27-Mar-07 18:10
bk_eminem27-Mar-07 18:10 
QuestionHelp!!! How to Add MS Visio Event in Unmanaged MFC? Pin
iomosi27-Mar-07 4:30
iomosi27-Mar-07 4:30 
QuestionCreating MPEG-1 from series of JPEG Pin
yudhisthira27-Mar-07 1:04
yudhisthira27-Mar-07 1:04 
QuestionMaking COM+ application [modified] Pin
Vlad~26-Mar-07 23:42
Vlad~26-Mar-07 23:42 
QuestionWithout ClassID Pin
_808625-Mar-07 23:52
_808625-Mar-07 23:52 
GeneralRe: Without ClassID [modified] Pin
Stephen Hewitt26-Mar-07 13:32
Stephen Hewitt26-Mar-07 13:32 
AnswerRe: Without ClassID Pin
Roger Stoltz26-Mar-07 2:30
Roger Stoltz26-Mar-07 2:30 
QuestionHow to convert Word to HTML Pin
PollyAnna33321-Mar-07 22:32
PollyAnna33321-Mar-07 22:32 
Hi,
I am using the MS Word 9 object library and I would like to convert a Word document into html format using the code below. However, my .Net application does not recognise the wdFormatHTML file format.

I just don't know what to do about this and would really really appreciate any help on this.

Please help.

Kind regards,

Polly Anna







Dim strFileName As String
Dim objWordApplication As New Word.Application
Dim objDocument As New Word.Document




strFileName = pstrPathName & "\" & pstrDocumentName
objDocument = objWordApplication.Documents.Open(strFileName)
objDocument.Activate()
objDocument.Bookmarks.Add("TestBookmark2")

objDocument.SaveAs (FileName:="DOCUMENTNAMEHERE.htm",FileFormat:=wdFormatHTML, EmbedTrueTypeFonts:=False)

AnswerRe: How to convert Word to HTML Pin
Amr M. K.25-Mar-07 5:45
Amr M. K.25-Mar-07 5:45 
GeneralRe: How to convert Word to HTML Pin
PollyAnna33325-Mar-07 23:44
PollyAnna33325-Mar-07 23:44 
Questionexamples of direct sound by mingw . Pin
William.Zhang21-Mar-07 15:11
William.Zhang21-Mar-07 15:11 
QuestionMemory limit on Windows 2003 64 bit.... Pin
duronebis21-Mar-07 2:15
duronebis21-Mar-07 2:15 
QuestionCOM object create instance problem Pin
Itwymt20-Mar-07 23:39
Itwymt20-Mar-07 23:39 
AnswerRe: COM object create instance problem Pin
Steve S21-Mar-07 2:49
Steve S21-Mar-07 2:49 
GeneralRe: COM object create instance problem Pin
Itwymt21-Mar-07 3:00
Itwymt21-Mar-07 3:00 
GeneralRe: COM object create instance problem Pin
Steve S26-Mar-07 6:57
Steve S26-Mar-07 6:57 
GeneralRe: COM object create instance problem Pin
Itwymt12-Apr-07 22:16
Itwymt12-Apr-07 22:16 
QuestionHow to convert existing C# Windows Application to C# Web Application.. Pin
MPS_DotNet18-Mar-07 21:09
MPS_DotNet18-Mar-07 21:09 
AnswerRe: How to convert existing C# Windows Application to C# Web Application.. Pin
Colin Angus Mackay19-Mar-07 1:21
Colin Angus Mackay19-Mar-07 1:21 
AnswerRe: How to convert existing C# Windows Application to C# Web Application.. Pin
Dave Kreskowiak19-Mar-07 1:42
mveDave Kreskowiak19-Mar-07 1:42 
QuestionMapWindow ActiveX Control in MFC Application Pin
Maroon16-Mar-07 12:06
Maroon16-Mar-07 12:06 
Questionproblem with delete Pin
janadhana15-Mar-07 6:46
janadhana15-Mar-07 6:46 
AnswerRe: problem with delete Pin
Roger Stoltz15-Mar-07 7:13
Roger Stoltz15-Mar-07 7:13 
GeneralRe: problem with delete Pin
janadhana16-Mar-07 2:35
janadhana16-Mar-07 2:35 
GeneralRe: problem with delete Pin
Roger Stoltz16-Mar-07 3:15
Roger Stoltz16-Mar-07 3:15 

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.