Solved

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

Posted on 1997-09-21
15
319 Views
Last Modified: 2006-11-17
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
Comment
Question by:zhuhail
  • 9
  • 6
15 Comments
 

Author Comment

by:zhuhail
ID: 1435644
Edited text of question
0
 

Author Comment

by:zhuhail
ID: 1435645
Hi Experts,

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

Thank you.
0
 
LVL 3

Accepted Solution

by:
vmpn earned 50 total points
ID: 1435646
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 3

Expert Comment

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

Sincerely,
VMPN
0
 
LVL 3

Expert Comment

by:vmpn
ID: 1435648
I really need the information I asked for above to give you an answer.

Sincerely,
VMPN
0
 

Author Comment

by:zhuhail
ID: 1435649
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
 
LVL 3

Expert Comment

by:vmpn
ID: 1435650
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
 

Author Comment

by:zhuhail
ID: 1435651
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
 
LVL 3

Expert Comment

by:vmpn
ID: 1435652
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
 
LVL 3

Expert Comment

by:vmpn
ID: 1435653
I did not make it clear that you should: _insert_ \'hh.

Sincerely,
VMPN

0
 

Author Comment

by:zhuhail
ID: 1435654
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
 
LVL 3

Expert Comment

by:vmpn
ID: 1435655
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
 
LVL 3

Expert Comment

by:vmpn
ID: 1435656
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
 

Author Comment

by:zhuhail
ID: 1435657
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
 
LVL 3

Expert Comment

by:vmpn
ID: 1435658
You welcome.
Thats what I am here for.
VMPN
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question