943,708 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 476
  • C++ RSS
Sep 26th, 2008
0

Projrct in C++

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

C++ Syntax (Toggle Plain Text)
  1. private void Form1_Load(object sender, System.EventArgs e)
  2. {
  3. timer1.Start();
  4. }
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.
C++ Syntax (Toggle Plain Text)
  1. private void timer1_Tick(object sender, System.EventArgs e)
  2. {
  3. progressBar1.Value=progressBar1.Value+4;
  4. if(progressBar1.Value>=100)
  5. {
  6. this.Visible=false;
  7. Form8 f8=new Form8();
  8. f8.Show();
  9. timer1.Stop();
  10. }
  11. }
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]
Last edited by Narue; Sep 26th, 2008 at 5:10 pm. Reason: added code tags
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Matotore is offline Offline
3 posts
since Sep 2008
Sep 26th, 2008
1

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.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Sep 28th, 2008
0

Re: Projrct in C++

Click to Expand / Collapse  Quote originally posted by Narue ...
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.
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Matotore is offline Offline
3 posts
since Sep 2008
Sep 28th, 2008
0

Re: Projrct in C++

I need more help with this codes please
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Matotore is offline Offline
3 posts
since Sep 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: error c2447(missing function header) old style formal list school style
Next Thread in C++ Forum Timeline: author of a file





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC