yviswanathbe
Full Member level 4
Hi,
what is the maximum size a string variable can hold in VB6?
in my project i am continuously sending 9bytes of data from micro controller every 1second to PC using RS232 interface.PC end i am collecting the data using VB6.0 MSCOMM ONCOMM Event.
To check whether all the bytes have been received, I am appending this data in a string variable. Everything works fine. But after 15 hours of TEST, the software hanged and i am forced to close the application.
Does the problem with the string variable? I mean if the string size is exceeded will the software hangs? What is maximum string size ?
How do i know during which condition the software hangs?
could some body help me in this regard?
Thanks and Regards,
Viswanath
what is the maximum size a string variable can hold in VB6?
in my project i am continuously sending 9bytes of data from micro controller every 1second to PC using RS232 interface.PC end i am collecting the data using VB6.0 MSCOMM ONCOMM Event.
To check whether all the bytes have been received, I am appending this data in a string variable. Everything works fine. But after 15 hours of TEST, the software hanged and i am forced to close the application.
Does the problem with the string variable? I mean if the string size is exceeded will the software hangs? What is maximum string size ?
How do i know during which condition the software hangs?
could some body help me in this regard?
Thanks and Regards,
Viswanath