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

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:

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

I need more help with this codes please

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.