MattX Posted November 15, 2004 Posted November 15, 2004 Anyone got any ideas for keeping the formatting for a message box ? I have this rather large chunk of text at the moment: $__msgbox = MsgBox ( 4, 'CODE OF CONDUCT FOR USE OF THE SCHOOL NETWORK & THE INTERNET', 'This simplified code of conduct applies at all times in and out of school hours whilst using school equipment. Please read it carefully. You should Only access websites that are appropriate for use in school. Be careful of what you say to others and how you say it. Respect copyright and trademarks. (You cannot copy material without giving credit to the person or company that owns it.) Check with a teacher before opening email attachments or completing on-line questionnaires or subscription forms. You must not Download games or other programs from the Internet. Use chatlines or web-based email services (e.g Hotmail). Send, access or display offensive messages or pictures. Give your name, address, telephone number or any other personal information about yourself or others to anyone you write to. Use or send bad language. Intentionally waste resources thus preventing use by others. Please note User areas on the school network will be closely monitored and staff may review your files and communications to maintain system integrity. Failure to follow the code will result in loss of access and further disciplinary action may be taken if appropriate. If applicable, external agencies may be involved, as certain activities may constitute a criminal offence. If you are willing to accept these terms and conditions, click yes to continue.' ) if ( $__msgbox = 7 ) then Exit endif if ( $__msgbox = 6 ) then Run ( 'c:\program files\internet Explorer\iexplore.exe' ) endif Exit I would like the text to look something like this instead: CODE OF CONDUCT FOR USE OF THE SCHOOL NETWORK & THE INTERNET This simplified code of conduct applies at all times, in and out of school hours, whilst using school equipment. Please read it carefully. You should: * Only access websites that are appropriate for use in school. * Be careful of what you say to others and how you say it. * Respect copyright and trademarks. (You cannot copy material without giving credit to the person or company that owns it.) * Check with a teacher before opening email attachments or completing on-line questionnaires or subscription forms. You must not: * Download games or other programs from the Internet. * Use chatlines or web-based email services (e.g Hotmail). * Send, access or display offensive messages or pictures. * Give your name, address, telephone number or any other personal information about yourself or others to anyone you write to. * Use or send bad language. * Intentionally waste resources thus preventing use by others. Please note: * User areas on the school network will be closely monitored and staff may review your files and communications to maintain system integrity. * Failure to follow the code will result in loss of access and further disciplinary action may be taken if appropriate. * If applicable, external agencies may be involved, as certain activities may constitute a criminal offence. Any ideas anyone ?
SlimShady Posted November 15, 2004 Posted November 15, 2004 MsgBox(0, 'CODE OF CONDUCT FOR USE OF THE SCHOOL NETWORK & THE INTERNET', _ 'This simplified code of conduct applies at all times, in and out of school hours, whilst using school equipment.' & @CRLF & _ 'Please read it carefully.' & @CRLF & _ @CRLF & _ 'You should:' & @CRLF & _ @CRLF & _ '* Only access websites that are appropriate for use in school.' & @CRLF & _ '* Be careful of what you say to others and how you say it.' & @CRLF & _ '* Respect copyright and trademarks. (You cannot copy material' & @CRLF & _ 'without giving credit to the person or company that owns it.)' & @CRLF & _ '* Check with a teacher before opening email attachments or' & @CRLF & _ 'completing on-line questionnaires or subscription forms.' & @CRLF & _ @CRLF & _ 'You must not:' & @CRLF & _ @CRLF & _ '* Download games or other programs from the Internet.' & @CRLF & _ '* Use chatlines or web-based email services (e.g Hotmail).' & @CRLF & _ '* Send, access or display offensive messages or pictures.' & @CRLF & _ '* Give your name, address, telephone number or any other personal' & @CRLF & _ 'information about yourself or others to anyone you write to.' & @CRLF & _ '* Use or send bad language.' & @CRLF & _ '* Intentionally waste resources thus preventing use by others.' & @CRLF & _ @CRLF & _ 'Please note:' & @CRLF & _ '* User areas on the school network will be closely monitored and' & @CRLF & _ 'staff may review your files and communications to maintain' & @CRLF & _ 'system integrity.' & @CRLF & _ '* Failure to follow the code will result in loss of access and further' & @CRLF & _ 'disciplinary action may be taken if appropriate.' & @CRLF & _ '* If applicable, external agencies may be involved, as certain' & @CRLF & _ 'activities may constitute a criminal offence.')
MattX Posted November 15, 2004 Author Posted November 15, 2004 Arrrrrrrr - Carrage Return !! Many many thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now