Search Results

Showing results 1 to 5 of 5
Search took 0.03 seconds.
Search: Posts Made By: wildgoose ; Forum: C# and child forums
Forum: C# Aug 10th, 2009
Replies: 6
Views: 451
Posted By wildgoose
Compare file extension? If you don't trust the file extension then you'll need to read the headers in the file, and detect if it is a valid header for that image type!
Forum: C# Jul 6th, 2009
Replies: 5
Views: 679
Posted By wildgoose
You click a listbox or combobox, it returns the index of that item.
You use that index to get the name, or the user data value.

Not the other way around!
Forum: C# Jul 6th, 2009
Replies: 5
Views: 679
Posted By wildgoose
I'm not sure what you're asking for. You can get/set the user value associated with a list/combo item.

You can add and remove items.
Forum: C# Jul 6th, 2009
Replies: 2
Views: 682
Posted By wildgoose
Just a thought


const float Y1 = (2 * SQRT2) / 7 - 1 / 7;
const float Y2 = (4 * SQRT2) / 7 - 2 / 7;
const float Y3 = SQRT2 / 2;
const float Y4 = (3 * SQRT2) / 7 + 2 / 7;


7 is not 7.0f
Forum: C# Jun 18th, 2009
Replies: 5
Views: 291
Posted By wildgoose
Look for something not properly initialized!

Singlestep in the debugger and see if data contains expected values.

Other then that, the specific problem or code needs to be shown from view to...
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC