i was working on an application....(chat based program (server /client))
and i needed that when a particular string is recieved i can activate picturebox for 3 seconds and then disable it ( picturebox.visible= false)

i have no idea on how to use timer control at all because i never felt like using it or had avoided it.

Hi

I assume that you have already checked the string. So when the particular string is received just activate the picturebox and enable the timer. When the timer ticks, disable it and deactivate the picturebox.

The timer tick procedure can be found if you double click on the timer itself, or look for it on its events.

regards

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.