IssacJones
asked on
carriage return
Hi
I am trying to get a line break in a VB application. Specifically, in the Splash Screen I am using (standard VB.Net template) the application name is taken from the Assembly Information. The name is "My Software". How can I include a line break so it appears as
My
Software
on the splash screen?
I thought something like "My\nSplashScreen" would work but it doesn't (obviosuly because it is C++ but you get the idea). Is there a corresponding VB way of doing it?
Issac
I am trying to get a line break in a VB application. Specifically, in the Splash Screen I am using (standard VB.Net template) the application name is taken from the Assembly Information. The name is "My Software". How can I include a line break so it appears as
My
Software
on the splash screen?
I thought something like "My\nSplashScreen" would work but it doesn't (obviosuly because it is C++ but you get the idea). Is there a corresponding VB way of doing it?
Issac
or:
"My" + environment.newline + "Software"
"My" + environment.newline + "Software"
ASKER
I'm afraid that can't be entered as the assemby title :(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
HI James
Almost there - unfortunately, what if the title has multiple " "'s e.g. "My New Software". In this case, I'd want
My
New Software
and not
My
New
Software
Almost there - unfortunately, what if the title has multiple " "'s e.g. "My New Software". In this case, I'd want
My
New Software
and not
My
New
Software
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That was not presented that way in the question. We have to start all over again.
Is this something you use in only one application or that you will reuse?
If it is only one application, could the name change in the future?
If you will reuse it, will the beginning part always be My, or only one word. If always one word, always a 2 letters word? If many words, will you always split only in 2 lines and always after the first word?
If it will be reused in different applications, show us a few of the application names you expect.
Is this something you use in only one application or that you will reuse?
If it is only one application, could the name change in the future?
If you will reuse it, will the beginning part always be My, or only one word. If always one word, always a 2 letters word? If many words, will you always split only in 2 lines and always after the first word?
If it will be reused in different applications, show us a few of the application names you expect.
ASKER
The code would be re-used in different applications. Both your comments have helped enourmously. Thanks!
e.g. : "My" + VBCRLF + "Software".