Forum: C# Oct 16th, 2006 |
| Replies: 3 Views: 5,208 It's new in .NET 2.0, but you don't really need it for the method I was showing. It just saved me the effort of making the form look pretty by hand. ;) |
Forum: VB.NET Oct 14th, 2006 |
| Replies: 2 Views: 1,962 I don't understand. When you decrease the resolution, everything looks bigger. Are the actual relative sizes changing, or do the controls just look bigger? |
Forum: VB.NET Oct 13th, 2006 |
| Replies: 15 Views: 4,156 It is. :) Well, not quite that easy, but it's close. In fact, the code I posted before shows the easiest way I could think of to set it up. The only thing missing is the design code for the form... |
Forum: VB.NET Oct 13th, 2006 |
| Replies: 15 Views: 4,156 Hmm, but think of how much you must have learned from all those tries. :) Time is never wasted, even if you don't feel productive. But let's get you a jumpstart on the problem. What have you tried... |
Forum: Computer Science Oct 12th, 2006 |
| Replies: 3 Views: 1,807 The stuff you know already is a part of system engineering. SE is the whole shebang. From start to finish, the design, implementation, and maintenance for any given 'system' or project is system... |
Forum: C++ Oct 10th, 2006 |
| Replies: 10 Views: 8,561 Whatever way the system/compiler offers. :) If you just need the file sorted beforehand, I don't know of an OS that doesn't give you an easy to use sort program from the command prompt. If you need... |
Forum: C++ Oct 10th, 2006 |
| Replies: 14 Views: 11,029 You never need arrays to be as big as possible 'cause there's always a way to work around painful memory drains. Since you use an old compiler, you should think like we did when we were using them.... |
Forum: C# Oct 9th, 2006 |
| Replies: 4 Views: 2,408 One thing I know for sure is that I'm not smart enough to use typed datasets. They've given me so much trouble that I'm more productive when I write the underlying code for them manually. :rolleyes:... |
Forum: C# Oct 9th, 2006 |
| Replies: 8 Views: 20,901 MSDN gives example code (http://msdn2.microsoft.com/en-us/library/system.windows.forms.combobox.aspx) that adds items. I don't mind, but other people won't like it if you ask a question that's... |
Forum: VB.NET Oct 9th, 2006 |
| Replies: 5 Views: 4,330 Happy to. :) Double click on the form you want to anchor the control in. To keep it simple, and to avoid accidentally double clicking on another control, just double click the title bar of your form.... |
Forum: C# Oct 9th, 2006 |
| Replies: 8 Views: 20,901 It's the same way, not the same syntax. Sorry, I should have been more clear. :( The property in J# is called get_Items() to account for language details. It's always a good idea to look for... |
Forum: VB.NET Oct 9th, 2006 |
| Replies: 5 Views: 4,330 PictureBox has an Anchor property because it inherits from Control. If it's not listed in the designer view for some reason, you can set it in the form load event in your code view. When in doubt, go... |
Forum: ASP.NET Oct 8th, 2006 |
| Replies: 5 Views: 5,866 What mistake? Is the query string what you thought it was? What happens if you print the query instead of run it and then paste it into SQL to run manually? |
Forum: C Oct 8th, 2006 |
| Replies: 20 Views: 4,519 Ya, that's the point, more or less. :) The first thing you should do if possible is ditch the old compiler and get a newer one that's designed for your OS. That way you can error check your... |
Forum: C# Oct 8th, 2006 |
| Replies: 8 Views: 20,901 |
Forum: C++ Oct 7th, 2006 |
| Replies: 3 Views: 2,737 I'm gonna say iter isn't valid. Don't worry, I'll explain my thought process. But bear with me because it's twisted. :D You initialize iter in the Database constructor.
Database::Database()
{
... |
Forum: VB.NET Oct 7th, 2006 |
| Replies: 15 Views: 4,156 Windows Forms apps are pretty basic. ;) The first thing you need to do is build the interface. That's just a game of dragging controls around and playing with properties until you have a good... |
Forum: C++ Oct 7th, 2006 |
| Replies: 4 Views: 4,205 Do you wanna use C++ instead of PHP 'cause there's a real benefit? Or is it just 'cause you like C++ better or know it better? The likes and dislikes of the programmer usually aren't a good excuse... |
Forum: VB.NET Oct 7th, 2006 |
| Replies: 15 Views: 4,156 The only wrong way is the one that doesn't meet your requirements. Anything else is fair game. :D
Using 2 boxes is harder, I think. You have to keep track of multiple input controls when you... |
Forum: C# Oct 7th, 2006 |
| Replies: 4 Views: 3,050 okey dokey. How much experience do you have with networking in .NET? At the very least you'll need a client/server setup, prolly something like IRC except without all of the extra the goody happy... |
Forum: Community Introductions Oct 6th, 2006 |
| Replies: 1 Views: 1,156 I was going to introduce myself. Really! I just couldn't think of what to say. I still can't, but I'll wing it as usual and see how things go. :)
Hi! My name is Aileen and I'm the "Lovely... |
Forum: C++ Oct 6th, 2006 |
| Replies: 7 Views: 6,262 kk, if this is C then you use a test against '\0' to look for the end and do sumthin' like this.
int i;
for (i = 0; str[i] != '\0'; i++)
str[i] = (char)tolower(str[i]);
One of the few... |
Forum: C# Oct 6th, 2006 |
| Replies: 4 Views: 3,468 It's hard to say. Harder still 'cause I don't work with TableAdapters. I do my stuff by hand... :( Can you paste the GetDataBy method? |
Forum: VB.NET Oct 6th, 2006 |
| Replies: 15 Views: 4,156 No fair! For a novice you've got your head screwed on pretty good. That's basically the same setup I was thinking of, and I can boast a few more years of .NET experience. ;)
I look forward to... |
Forum: C# Oct 6th, 2006 |
| Replies: 4 Views: 3,468 You are passing a string. What does LoginAdapter.GetDataBy look like? |
Forum: C Oct 6th, 2006 |
| Replies: 11 Views: 1,974 The string can hold 9 characters, but there's also room for a null character at the end. Thusly, the array size is 10. |
Forum: C++ Oct 6th, 2006 |
| Replies: 21 Views: 4,611 Mine or yours? :cheesy: I'm good at misunderstanding things.
It's not '0', but it is the rest of 'em. The value 0 is pretty versatile after all. ;) |
Forum: C Oct 6th, 2006 |
| Replies: 11 Views: 1,974 'cause you still need to reserve space for the string you want to read. Sayin' &lala doesn't change the fact that lala is still a single char. It's also a bad thing because scanf assumes you reserved... |
Forum: C++ Oct 6th, 2006 |
| Replies: 21 Views: 4,611 0 is 0, but 0 is not '0', and '0' is the representation of 0 that isdigit is looking for. :cheesy: Makes perfect sense, right? ;) |
Forum: VB.NET Oct 6th, 2006 |
| Replies: 15 Views: 4,156 kk, the functions themselves are easy. Just do some such like this.
Private Function Add(lhs As Integer, rhs As Integer) As Integer
Return lhs + rhs
End Function
If you pull numbers from... |
Forum: C++ Oct 6th, 2006 |
| Replies: 7 Views: 2,876 You'd sort the numbers in descending order and pick the last two. Order is cool, it makes everything easier. :) Without order you can either write a kludgy brute force algorithm, or an insanely... |
Forum: C++ Oct 6th, 2006 |
| Replies: 6 Views: 18,737 It's possible, but very hard and the result won't be good at all. To decompile you need to disassemble into assembly and translate the assembly into C. If you've seen a disassembly, even a good one,... |
Forum: C Oct 6th, 2006 |
| Replies: 20 Views: 4,519 I like Visual Studio 2005. There's an Express version that's free, but it takes some getting used to if you haven't used a powerful IDE before. Another good one is Dev-C++, but the IDE is awkward to... |
Forum: C# Oct 6th, 2006 |
| Replies: 4 Views: 3,050 Lotsa ways! What kinda chatting do you wanna do? |
Forum: C Oct 5th, 2006 |
| Replies: 20 Views: 4,519 Hmm, you're sure that you're running bcc on both at the same time?
C:\>bcc file1.c file2.c
Unless my command line compiler skills are shot, that should work just fine. :) |
Forum: C Oct 5th, 2006 |
| Replies: 21 Views: 2,382 You've got my respect for being able to understand those nested switches! :) I would have just used array indexing. Anyway, the problem is that you break the number down in reverse. To get it back... |
Forum: C Oct 5th, 2006 |
| Replies: 20 Views: 4,519 Just a hunch, but try this and paste the error that you get.
/* file2.c */
#include <stdio.h>
int get_j(void);
int main()
{
extern int i; |
Forum: Geeks' Lounge Oct 5th, 2006 |
| Replies: 3 Views: 1,208 I could use a free hug... :cheesy: |
Forum: C++ Oct 5th, 2006 |
| Replies: 21 Views: 4,611 It won't test the null character. The first part of the loop expression stops it. But if isdigit did test the null character, it would return false because 0 doesn't represent a digit. |
Forum: C Oct 5th, 2006 |
| Replies: 20 Views: 4,519 I'm prolly forgetting the name of the executable. It might be bcc16 or bcc32 as well. Check the bin directory of where you installed the compiler and you'll see it. |