DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   Projrct in C++ (http://www.daniweb.com/forums/thread147844.html)

Matotore Sep 26th, 2008 5:04 pm
Projrct in C++
 
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[/COLOR][/B]

Narue Sep 26th, 2008 5:11 pm
Re: Projrct in C++
 
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:

Matotore Sep 28th, 2008 4:57 pm
Re: Projrct in C++
 
Quote:

Originally Posted by Narue (Post 699731)
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

Matotore Sep 28th, 2008 4:59 pm
Re: Projrct in C++
 
I need more help with this codes please


All times are GMT -4. The time now is 12:06 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC