0

The welcome form
It contains a label, a timer and a progress bar.

private void Form1_Load(object sender, System.EventArgs e)
        {
            timer1.Start();
        }

This enables the timer to be started when the form is loaded.

These other codes have placed it on the tick event of the timer.

    private void timer1_Tick(object sender, System.EventArgs e)
    {
        progressBar1.Value=progressBar1.Value+4;
        if(progressBar1.Value>=100)
        {
            this.Visible=false;
            Form8 f8=new Form8();
            f8.Show();
            timer1.Stop();
        }
    }

The codes above are written in c++, am using vb 6.0, please guide me on how to open the coding field and how to open form and then connect them with codes. Thanx. Harry

Edited by mike_2000_17: Fixed formatting

2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by Matotore
0

Looks like an attempt at C++/CLI via C#.

>am using vb 6.0
Um, is your code failing to compile? I'd imagine that it is. :icon_rolleyes:

0

Looks like an attempt at C++/CLI via C#.

>am using vb 6.0
Um, is your code failing to compile? I'd imagine that it is. :icon_rolleyes:

Hi Narue, Please this codes are giving me hell ot time and i want to built a project in C++, if u can help then i will send you all the information u help me solve this thing coz it is giving me sleepness nights. Thanx
Harry

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.