Custom message box issue

We have a custom messagebox. Due to the fact of company logo, colors etc. Can't get away from that.
the code on the form is

Private Sub Form_Load()
    On Error GoTo ERR_SUB
        Me.lblMessage.Caption = Me.OpenArgs 'Value which is passed in
Sometimes the data is large (number of characters) I want to pass. I get an error that the OpenForm Action was cancelled.
I'm not sure if this is due to the string limitation (255) or that it's displaying in a label or both. The individual lines have vbCrLf so the display is nicely formated. Is my limitation the string length? The caption length? Should I use a textbox? Or should I change it to a ListBox?

Chuck LoweAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rey Obrero (Capricorn1)Commented:
i'll prefer to use a textbox...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Anders Ebro (Microsoft MVP)Microsoft DeveloperCommented:
Well, the openargs is not limited to 255 characters, so that can't be it. I'm guessing something else is going on, perhaps there is code you are not showing us?

And note, if your form is allready open in design mode, because your testing or similar, then the OpenArgs are NOT passed to the form. So make sure your form is properly closed, before testing it.
Jeffrey CoachmanMIS LiasonCommented:
And lets be clear, ...the title here is a bit misleading, ...
This is not a "messagebox" (object), seems to be a form with custom text that appears in a label...

Note here that you are not giving us an example of this mystery, long, string, ...or telling us how you are incorporating the vbcrlf...

Can you post the entire code please?
There are many reasons why the load event could be canceled.
Chuck LoweAuthor Commented:
Thanks. That worked fine
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.