Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Display " and chr$(151) in a help file, how?

I found two characters may not be displyed in a help file although they can be seen in the rtf file. The characters are double quotation mark " and a nonprinting character chr$(151).
Can you tell me how to display them on the help file, or point out what wrong I did?
0
zhuhail
Asked:
zhuhail
  • 9
  • 6
1 Solution
 
zhuhailAuthor Commented:
Edited text of question
0
 
zhuhailAuthor Commented:
Hi Experts,

My question got no reply....
Can you tell me (by comments) why ? :-)

Thank you.
0
 
vmpnCommented:
I got to go to college right now. I'll try to see how it is possible to solve your problem, in the evening . Meanwhile could you tell me what system you are working on, what editor do you use, what help compiler do you use and anything else that you might think is related to the question.

Sincerely,
VMPN
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
vmpnCommented:
Sorry, I clicked on Answer instead of Comment just give F for the answer, to put question in unlocked area.

Sincerely,
VMPN
0
 
vmpnCommented:
I really need the information I asked for above to give you an answer.

Sincerely,
VMPN
0
 
zhuhailAuthor Commented:
Hi vmpn,

Sorry, I havn't got chance to read your answer and comments.
Now here you go:
Editor  MS Word 6.0 under Windows 95
Compiler  hc.exe (comes from VB4)under Windows 95
The nonprinting character chr$(151) may be displayed on Word by copying from a text box in run time of a VB program. However, it can not been seen in the help file although several nonprinting characters (again, copied from a text box in run time and pasted to the .rft file in Word) may be displyed in the same help file!

I think that is all and believe that you can answer me correctly........don't want to reject you :-)

Cheers.
0
 
vmpnCommented:
Hi zhuhail,

I am on the brake right right now (in college), so I can't check it yet. But here what you should try to do.  Instead of copying and pasting, use menu "Insert", "Symbol" and choose the symbol or the symbol corresponding to Chr$(151). If that wont help add acomment. Next time I'll be working from home, so I'll try to check if those symbols have some special meaning for winhelp.exe. NOW it is 12:26 Eastern time i'll be checking for new comments at about 18:00 Eastern.

Sincrely,
VMPN


0
 
zhuhailAuthor Commented:
Hi Vmpn,

The problems are

1. The double quotation mark " may not be seen in the help file. But it is only been typed into the rft file not been
copied and pasted.
2. chr$(151) is a nonprinting character ( a long minus sign)
which may not be inserted into a text and that is why I
have got to use copy-past.....  

Cheers.
0
 
vmpnCommented:
I think I got the answer.  However it will require rtf editing.  In order to insert special character you need to to the following:
\'hh   - where hh is hex value of the symbol you want to insert 97 ( 151 in dec.) for long dash and 22 (33 dec.) for double quote.  This has to be modified directly in rtf file using text editor, because Word modifies \' to \\\ rqote.

I checked this will work.

Sincerely,
VMPN


0
 
vmpnCommented:
I did not make it clear that you should: _insert_ \'hh.

Sincerely,
VMPN

0
 
zhuhailAuthor Commented:
Hi Vmpn,

I am not very clear.... I think you suggested me
open a rtf file by a text editor, say Notepad, and do insert \'.
However, I can not find "insert" in the menu of Notepad.
I believe that I misunderstood your suggestion :-(


0
 
vmpnCommented:
Sorry, by insert I meant _type_ somether in the middle of the text you want the special character to be, when I talk about manu I would say in menu blablabal sllect "Menu Item", "Menu Subitem".  I hope I made myself clear. And for editieng you can use any editor that does not recognize rtf, so it would not modify what you are typing.  So you type backslash and then single quote and then two hex digits wich correspond to code of the character you want.  For Chr$(151) you would type \'97, since Hex 97 is equal to Dec 151.

Sincrely,
VMPN
0
 
vmpnCommented:
Just to be sure by "it would not modify what you are typing.", I mean that it will save the text as you type without anyconversios made to it.

Sincerely,
VMPN
0
 
zhuhailAuthor Commented:
Hi Vmpn,

Yes, I got that and that is very interesting: you can make a
rtf file by a text editor.....although no one would like to
do the whole text :-)

Thank you for your help. I knew you can solve that!

Cheers.
0
 
vmpnCommented:
You welcome.
Thats what I am here for.
VMPN
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 9
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now