Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 16 of 16
Search took 0.01 seconds; generated 3 minute(s) ago.
Search: Posts Made By: bobc
Forum: C# Mar 3rd, 2005, 8:09 PM
Replies: 2
Views: 269
Posted By bobc
Loop through the controls in your place holder...

Loop through the controls in your place holder and increment a counter. If your counter is 0 then there are no controls on your place holder.

bobc
Forum: C# Mar 3rd, 2005, 7:00 PM
Replies: 9
Views: 944
Posted By bobc
You have to do something like this... private...

You have to do something like this...

private void button1_Click(object sender, System.EventArgs e)
{
int i = Convert.ToInt32(this.textBox1.Text);
Button[,] b = new Button[i,i];
int x =...
Forum: C# Feb 26th, 2005, 8:01 AM
Replies: 9
Views: 944
Posted By bobc
gencor45, I have given you the code for your...

gencor45,

I have given you the code for your previous school projects in regards to the non repeating random number generation and the input validation problem threads that you posted.

Personally I...
Forum: C# Feb 18th, 2005, 6:45 PM
Replies: 13
Views: 701
Posted By bobc
Are you new to programming? If so... It is very...

Are you new to programming?

If so... It is very important that you understand the code that I posted. It's pretty basic stuff, and if you don't understand it... You are going to have a very tuff...
Forum: C# Feb 18th, 2005, 6:36 PM
Replies: 13
Views: 701
Posted By bobc
This code works fine. You need to start a new C#...

This code works fine. You need to start a new C# Windows Application Project and over write the code on the form with this code.

using System;
using System.Drawing;
using System.Collections;
using...
Forum: C# Feb 17th, 2005, 10:22 PM
Replies: 13
Views: 701
Posted By bobc
Ok... Here ya go... using System; using...

Ok... Here ya go...

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace RandomNumber
Forum: C# Feb 17th, 2005, 1:56 PM
Replies: 13
Views: 701
Posted By bobc
Try something like this... lblHint.Text =...

Try something like this...

lblHint.Text = "";
char[] hintArray = {"-","-","-","-"};
for(int i = 0; i < 4; i++)
{
if(randomArray[i] == textboxArray[i]
{
hintArray[i] = "+"
lblHint.Text +=...
Forum: C# Feb 15th, 2005, 11:57 PM
Replies: 8
Views: 435
Posted By bobc
Try this... using System; using...

Try this...

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace RandomNumber
Forum: C# Feb 15th, 2005, 9:41 PM
Replies: 8
Views: 435
Posted By bobc
Yes. Is it a windows app?

Yes. Is it a windows app?
Forum: C# Feb 15th, 2005, 6:23 PM
Replies: 8
Views: 435
Posted By bobc
If you just want to see if your textbox number...

If you just want to see if your textbox number matches your random number, you only need to check for a match. If all other conditions are invalid then there is no need to check for non-numbers or...
Forum: C# Feb 9th, 2005, 11:28 PM
Replies: 3
Views: 399
Posted By bobc
Glad I could be of help. The more I learn... The...

Glad I could be of help.

The more I learn... The more I realize I don't know... :confused:
bobc
Forum: C# Feb 9th, 2005, 11:23 PM
Replies: 1
Views: 370
Posted By bobc
I don't know if this is what you are looking for...

I don't know if this is what you are looking for but...

private void button3_Click(object sender, System.EventArgs e)
{
bool bFlag = false;
if (textBox2.Text != textBox3.Text ||...
Forum: C# Feb 9th, 2005, 11:08 PM
Replies: 3
Views: 399
Posted By bobc
I think it's something like this to select the...

I think it's something like this to select the last item...

listBox1.SelectedIndex = listBox1.Items.Count - 1

Hope this helps...
bobc
Forum: C# Feb 9th, 2005, 1:11 AM
Replies: 2
Views: 1,020
Posted By bobc
Here is a simple one using a form, a label, and a...

Here is a simple one using a form, a label, and a button to generate the random number (4 digits padded with zero's).

private void button1_Click(object sender, System.EventArgs e)
{
Random rnd...
Forum: C# Feb 9th, 2005, 12:32 AM
Replies: 61
Views: 2,266
Posted By bobc
I took a course at Penn State. It was about 7...

I took a course at Penn State. It was about 7 months and 5 classes each with 7 sessions. At the end I got a certificate.

I think if you are already familliar with programming and OOP. You should...
Forum: C# Feb 8th, 2005, 11:56 PM
Replies: 0
Views: 185
Posted By bobc
Handling exceptions when using threads

Hi, I am having a bit of trouble handling exceptions for a process running on a thread. I will try to explain this as best I can.

The main form creates a sub form...

The sub form creates a client...
Showing results 1 to 16 of 16

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:46 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC