Tag: not

C#

Cross-thread operation not valid: Control ‘xxxxxx’ accessed from a thread other than the thread it was created on.

To solve this problem that occurs when you are trying to access a form control from another thread, use MethodInvoker. this.Invoke(new MethodInvoker(delegate { Textbox1.AppendText("* test 1 2 3rn"); }));this.Invoke(new MethodInvoker(delegate { Textbox1.AppendText("* test 1 2 3rn"); }));

Linux, Sniffing, Wireshark

Run Wireshark as a user rather than root – Ubuntu

Messages from wireshark: Running as user “root” and group “root”. This could be dangerous. Lua: Error during loading: [string “/usr/share/wireshark/init.lua”]:45: dofile has been disabled To fix them and run wireshark as normal user and not as root which is very dangerous do the following: sudo chgrp adm /usr/bin/dumpcapsudo chgrp adm /usr/bin/dumpcap sudo chmod 750 /usr/bin/dumpcapsudo …