msgbox has limited characters?

vinzz

Registered User.
Local time
Today, 01:44
Joined
Apr 24, 2008
Messages
47
i just saw something strange. I've made a recordset that checks if the settings in the settingtbl are correct, if not it has to say which settings are incorrect and the value that is in it at the moment. (make string)

when the msgbox shows up and there are more then ten incorrect settings it just stops writing in the middle of that line.
I think the msgbox is out of characters, limited to 255 or something, cause in debugging, the string is showed correct with all the lines. And when i delete the first letter in the msgbox, a next letter of the string gets printed in the msgbox.
Is there something i can do to let it show more characters.
When i have to use a form for this i can not set the height correct cause the string is dynamic. :s
 
there is a physical limit with msgbox

you would have to get around this by designing your own popup - you can put a textbox on it, with scroll bars which would then store 65K i think (max length of a string) - easiest way is to sotre your string as a global variable.
 
yeah that's a possiblility, but without the professional look :P although it would work perfect.
I solved the problem by not giving the directory dir in the msgbox if a setting does not exist, now it only gives a short description what is fault in the settings.

Thanks for searching a possible solution :d
 
Just as an FYI - You could also figure out what the height of each row of text is and determine how many rows you would need. You can then dynamically size your own form and text box. I don't have time to go do the calculations, but it is definitely possible.
 
your own form would look at least as professional as a msgbox

you can have multiple fonts etc, and provide extra buttons to do things rather than just the standard msgbox buttons - sometimes you need this functionality

slightly different thing, but the MS input box in particular is not very good, particularly as you cant use a passwrod mask on it - lots of people replace the input box, with their own
 

Users who are viewing this thread

Back
Top Bottom