Questions tagged [wordpad]

WordPad is a text file processor/editor built-in Windows systems since Windows95

WordPad is more advanced than notepad as it supports some rich text function (italic,bold and etc.) and full unicode support.

Related: Notepad

Documentation:

45 questions
53
votes
1 answer

How to make TRichEdit behave like WordPad on Windows 7 when changing font for certain non-text characters?

With the help of Sertac Akyuz, it seems the direct reason is related to the charset of \bullet: In my localized Windows, the \bullet input by typing Alt(0149) always gets \fcharset134, and attempts to change its font through EM_SETCHARFORMAT always…
SOUser
  • 3,802
  • 5
  • 33
  • 63
4
votes
0 answers

Is there any way to alter security settings of newest version of Wordpad to prevent showing the message about blocked content?

In the latest version of Windows 10 (1903), a security protection has been added to Wordpad. When there is some specific content in the document, it is blocked and the document is marked as not trusted - a warning message is shown when trying to…
4
votes
1 answer

VBscript - "The system cannot find the file specified"

I'm trying to write a short VBScript, which opens "calc.exe" and "wordpad.exe". Well the problem is that VBScript won't let me open "wordpad.exe". I've tried to run the script as an admin, but this doesn't helped. My Script looks like this: Set…
Homo Sapiens
  • 45
  • 1
  • 1
  • 3
4
votes
2 answers

How to set Wordpad's default plain-text font?

I much prefer Wordpad to Notepad in Windows 7 for quickly checking out source files, namely because Notepad doesn't display most correctly if the file was written in Unix. However it saddens me that I can't chose the plain-text mode's default…
Humphrey Bogart
  • 7,423
  • 14
  • 52
  • 59
4
votes
2 answers

Why TFontDialog gives less fonts than Screen.Fonts?

I am wondering why TFontDialog gives less fonts than Screen.Fonts? (For example, the Arial* font, the Comic font, etc, does not show in TFontDialog) It also seems that the font list given by TFontDialog is the same as WordPad, whereas the font list…
SOUser
  • 3,802
  • 5
  • 33
  • 63
2
votes
1 answer

C# - How can I get a text range from WordPad by sending the EM_GETTEXTRANGE message?

I'm having trouble getting a text range from a running instance of WordPad. I have gotten the following Windows messages to work for WordPad without a problem: WM_GETTEXT, WM_GETTEXTLENGTH, EM_REPLACESEL, EM_GETSEL, and EM_SETSEL. I'm not having…
Bryan
  • 41
  • 4
1
vote
5 answers

How to use the ribbon in my .NET applications?

This is what WordPad looks like in Windows 7: (source: gawker.com) The ribbon is also in paint. Which leads me to think that the ribbon is "hidden" somewhere in a dll file that I could import into my C# apps. Is this true? If not how did Microsoft…
Kredns
  • 36,461
  • 52
  • 152
  • 203
1
vote
1 answer

Controlling Wordpad in Windows using messages

I am trying to find a reliable way to control windows Wordpad, which I successfully embedded in application as a child window. One command I would like to execute just after document was opened is "print preview". PostMessage seems to be a good tool…
too
  • 3,009
  • 4
  • 37
  • 51
1
vote
0 answers

I am having problems trying to display a RTF data file in a rich text edit control in a MFC dialog

I saw a discussion here about displaying a RTF file in a rich text edit control. Maybe what I am trying to do it too much. In my dialog class I define a static method: static DWORD CALLBACK MyStreamInCallback(DWORD dwCookie, LPBYTE pbBuff, LONG cb,…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
1
vote
2 answers

Why do strings not match?

I have a Wordpad file from which I extract two strings and compare them. In this case they are both equal, but I cannot use the =~ expression to evaluate them. if($pin_list =~ /$lvl_list/){ do something} What I have tried in debug mode: Both…
Bret
  • 11
  • 2
1
vote
2 answers

Using PowerShell and Wordpad to convert to PDF

I have a requirement to have a small script on a Windows Server using PowerShell to convert files to PDF (from RTF). I've got a prototype using Word that works on my desktop machine, but the servers involved don't have Office/Word installed. Is…
Paul
  • 1,041
  • 11
  • 26
1
vote
0 answers

Unable to get accessibility event information from Wordpad.exe

I am trying to capture windows accessibility events from wordpad.exe for context menu items shown above. When I look at the OBJ_FOCUS events from AccEvent.exe, it doesn't show me anything but "Error: getting object: hr=0xFFFFFFFF80004005 -…
user1542422
  • 309
  • 1
  • 4
  • 13
1
vote
1 answer

Different outcome when writing to wordpad than writing to notepad using same code

I am currently working on an encounter generator for a pen and paper rp game known as D&D(Dungeons and dragons). I have an archive of monsters written in notepad files. When the user is finished using the filters he wants and presses "generate" the…
1
vote
0 answers

How to generate or extract available date-time formats from locale settings like WordPad.exe shows?

WordPad.exe shows several available Date/Time formats. Their number is different depending on default locale. I need enumerating all these formats in a unified way (in Python). It would be good to determine the number of formats at least. I could…
Vasily Ryabov
  • 9,386
  • 6
  • 25
  • 78
1
vote
2 answers

Aligning left and right on the same line in WordPad

Is it possible to align texts left and right on the same line in WordPad? For example, I want my name to the left and the date to the right. Both on the same line. How can I do this?
noob123
  • 11
  • 1
  • 2
1
2 3