Kenji のすべての投稿

JScript: 強制的に改行されたテキストを1行にする


長いテキストをPDFにした後で PDFからコピーしてメモ帳に貼り付けたりすると、勝手に改行されていたりします。 そんなときに使えるスクリプトを作りました。

続きを読む JScript: 強制的に改行されたテキストを1行にする


Crystal Report で フィールド・オブジェクトを操作する方法


レポートデザイナでのオブジェクトを操作するにはどうすればいいか。 わかってしまえば単純なものだが、わかるまでが大変です。 VBでやってみました。

キャスト(型変換)してプロパティを使えるようにするという込み入った作業が必要。

CType よりも DirectCast のほうが負荷が少ないらしい。C# のは下記ページにある。

参考: クリスタルレポート

クリスタルレポートでは上下中央寄せができないらしいけど、この方法ならフィールドのLocationの設定で微調整できるかも。


Palmistry – Marriage Line


Marriage Line

A short line found on the Mount of Mercury, the swelling just below the little finger, running from the outside of the little finger toward the ring finger. It expresses one’s fortune in regard to love and marriage.

If there is a long and distinct Marriage Line.

People with this type of line will be blessed with ideal marriage partners. If it appears on both hands, this fortune is even stronger. You’ll have a happy married life, free of problems.

However, if this line is broken, it is a predictor of some kind of trouble. But don’t despire — if you trust and cooperate with your partner you can overcome your difficulties.

If there are two parallel Marriage Lines.

This hints that two people will appear at the same time in your life. The bottom line will be the first person you meet, the top line the second. The line that is more distinct will be the one indication your future mate.

If they are both about the same, there is a good chance that you’ll be unable to decide whom to marry, and miss the chance altogether. In any case, what is important is honesty. If you try to set everything up to go your way, you are likely to choose the wrong person.

If the Marriage Line runs toward the little finger.

Yours could be a real Cinderella story, but it may gain you money and fame rather than the love of your partner. You’ll live in a splendid house, and will not want for anything. But your heart will remain lonely and unfulfilled. It is likely that you’ll explore the adventure of taking a lover in order to fill this void.

If the Marriage Line forms a complex pattern.

You are likely to have a lively love life but never make it to the alter. In the end. some of you may decide that freedom is the most attractive potion, remain unmarried all your life, and enjoy a number of affairs. No matter what age you are, you are blessed with partners, so you will not suffer from loneliness. People with this line tend to look on love as a kind of game. They avoid romance that looks hurtful, love triangles, and anything that requires sacrifice on their part.


Palmistry – Feeling Line


Feeling Line

This line runs from below the middle finger toward the middle of the palm. It expresses the person’s emotions and perceptions.

If the feeling Line stops below the middle finger.

You are passionate and your actions are dictated by your emotions. You run both hot and cold, so you don’t stick with any one thing for long. But you are full of curiosity, and are always finding new things you want to do, the advantage of which is nourishment of a rich imagination.

You are positive and social, and it is always lively around you. But you can also be selfish, so watch it. If you try to think of things from the other person’s point of view, there should be no problem.

If the Feeling Line stops below between the index and middle fingers.

You are a deeply considerate person whi thinks about things from the other person’s point of view. People with this type of line are full of affection, and will be cherished by family and friends, lovers and spouses.

you dislike conflict and never say thins in the heat of the moment or act on a whim. Sometimes you may feel a bit borad by the ordinariness of your life, but you should realize that very ordinary life is the greatest happiness.

If the Feeling Line runs to between the index and middle fingers.

You are naturally kind, and cannot ignore people in distress. No one can rival you in the depth of your affections. Yet by doing too much for others, you are occasionally seen as meddlesome. Being concerned and wanting to help others is a fine thing, but if you overdo it, it can be a pain.

If the Feeling Line runs toward the index finger ….

You are rich in affection but als odiscriminating. No matter how stirred up your feelings may get, you always think things through first and never go off half-cocked. Because of this, you may strike others as cool.

You are equally kind to all your friends, but in matters of love you have high ideals and may have a hard time finding your ideal partner. You are also likely to be put on a pedestal by those around you.