0% found this document useful (0 votes)
3 views

Scrolling_Text_Program_Report

The document outlines the steps to create a VB.NET Windows Forms application that scrolls text continuously across the screen. It includes instructions for setting up the form, configuring controls, and writing the necessary code for animation. The result is a smooth marquee effect where the text moves back and forth across the client area.

Uploaded by

kirubaaveena
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Scrolling_Text_Program_Report

The document outlines the steps to create a VB.NET Windows Forms application that scrolls text continuously across the screen. It includes instructions for setting up the form, configuring controls, and writing the necessary code for animation. The result is a smooth marquee effect where the text moves back and forth across the client area.

Uploaded by

kirubaaveena
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Scrolling Text Program - VB.

NET
Aim:
To develop a VB.NET Windows Forms application that scrolls text continuously from left to
right and right to left across the client area using a Label and a Timer control.

Procedure:
1. Open Visual Studio and create a new Windows Forms App (.NET Framework) project.
2. Design the Form:
- Add a Label control (Label1) to display the scrolling text.
- Add a Timer control (Timer1) to manage the animation.
3. Set Properties:
- Set Label1.Text to a welcome message (e.g., "Welcome to VB.NET Scrolling Text").
- Set Timer1.Interval to 50 milliseconds.
4. Write the Code:
- In the Form_Load event, position the Label on the form.
- In the Timer_Tick event, change the Label’s Left position.
- Detect screen edges and reverse the direction when needed.
5. Run the program and observe the text moving back and forth across the screen.

Result:
The program successfully scrolls the text across the form’s client area from left to right and
then right to left, creating a smooth, continuous marquee effect.

You might also like