Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HTML tags in WORD

Featured Replies

I am using VS2005, vb.net. In my program I build some HTML, save it to a file (myPath = something.htm) and then use WORD to print it:

Try 
thisDoc = myWORD.Documents.Add()
With thisDoc.Range.PageSetup
.Orientation = wdOrientLandscape
End With
thisDoc.Range.InsertFile(myPath)
thisDoc.PrintOut(False)
Catch ex As Exception
MsgBox("Failed to create Word" & vbCrLf & ex.ToString)
Return False
Finally
CleanUpCOMObjects(myWord, thisDoc)
End Try

The problem:

In the generated HTML there is a table which sometimes contains text delimited by "<*" and "*>". For example:

<table>

<tr>

<td>

<* Help *> xyz

</td>

</tr>

</table>

If the text happens to not contain delimited text (i.e. just the "xyz") the technique works well. However, if there is delimited text, when I print this document the text between the delimiters does not print and the page only contains the "xyz". Moreover, opening the saved htm file with IE does show all of the text, delimited and non-delimited. Enabling the use of these specific delimiters is a user requirement.

Is there a way to edit this to allow the delimited text to print? Or, alternatively, is there a WORD option I can set programatically that will allow the same thing?

Thanks,

LadyReader


  • Author

No IE to print from - sorry, I forgot to specify that this a Windows app, not a web app.

However, I handled the issue by doing replacing <* with {* and *> with *}.

Edited by LadyReader

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.