vb.net - Visual Basic .NET Dynamic updating Textbox -
i started study visual basic .net. build dynamic system log text box.
when program passing 1 point of code or function, textbox in form updating system log.
for example, when program starts, appends "system start" textbox in form. when program starts use "cal" function, program appends "system: start cal data" on textbox in form.
however, not sure how update system log dynamically. need use threading? can without threading? can give me example?
to add mertis's suggestion, can fire code concatenates details textbox whenever object called/code executed
for example, function executed:
function samplefunc() ..... textbox1.text = textbox1.text & vbnewline & datetime.now & _ " function executed" end function
note added datetimenow, in case needed time details.
Comments
Post a Comment