Forum: C# Aug 13th, 2009 |
| Replies: 2 Views: 312 Sort them individually, then with one loop interleave them while comparing them for matches. |
Forum: C# Aug 10th, 2009 |
| Replies: 6 Views: 433 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# Aug 8th, 2009 |
| Replies: 5 Views: 273 Wearing sandals, swim trunks, and a t-shirt with Einstein on it are big attention getters for these meetings!
First impressions are everything. Even if the client dresses down like that, you... |
Forum: C# Aug 5th, 2009 |
| Replies: 9 Views: 437 How about a color wheel. The angle on the wheel is used to calculate the RGB required to display that color!
You select a ilumination level, 0.0=black 1.0=white, and then rotate through a 360... |
Forum: C# Aug 4th, 2009 |
| Replies: 4 Views: 235 I'm assuming you mean less then not lower?
if( x <= 50)
{
y = 5;
}
else
{
y = 2;
} |
Forum: C# Jul 6th, 2009 |
| Replies: 5 Views: 654 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: 654 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: 644 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 19th, 2009 |
| Replies: 10 Views: 665 Other visual Studios will be installed in their own folder. You can have several on your system simultaneously! But note that the last one installed will be launched automatically if you click on the... |
Forum: C# Jun 19th, 2009 |
| Replies: 10 Views: 665 Compatibility issues. Tools change all the time. Previous functionality is quite often thrown away for new functionality. It never fails that rebuilding code with new tools requires reworking of the... |
Forum: C# Jun 19th, 2009 |
| Replies: 10 Views: 665 Sorry just re-read your post.
Direct Show?
You'll definitely have to go back in time. Older SDK, older IDE. |
Forum: C# Jun 19th, 2009 |
| Replies: 10 Views: 665 Visual Studio 2008 changed stuff.
You'll be fighting with it. Try to find something older like Visual Studio 6.X
Anything .NET related has changed and there's incompatibilities with older... |
Forum: C# Jun 19th, 2009 |
| Replies: 10 Views: 665 Install an older DirectX SDK. Rev. 7 or 8 should do nicely. Direct Draw was still supported then.
Plenty of samples get shipped with them. Also watch your version of Visual Studio. There are... |
Forum: C# Jun 18th, 2009 |
| Replies: 5 Views: 282 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... |