Search:
Type: Posts; User: CarlMartin
Search:
Search took 0.02 seconds.
-
January 25th, 2010, 10:52 PM
Did that, and it does compile. I knew where the errors were, I am just not proficient in C# to do what I need to do. That was my attempt at whet I thought would be the proper code, but I was...
-
January 25th, 2010, 10:19 PM
here you go. File attached.
-
January 25th, 2010, 09:17 PM
How about this:
public struct Contacts
{
public string FirstName;
public string LastName;
public string Street;
public string City;
...
-
January 25th, 2010, 09:12 PM
ok, thanks, be back when I get some progress happening.
-
January 25th, 2010, 08:45 PM
thanks. Yes, the code has no errors, it compiles, and it works pretty much. The reason I am storing the structures into an array is because that's what the directions ask for. Basically, I want each...
-
January 25th, 2010, 07:01 PM
OK, I started all over. Here is what I have so far:
public partial class frmAddressBook : Form
{
public frmAddressBook()
{
InitializeComponent();
}
-
January 25th, 2010, 06:29 PM
Thanks for the advice, I am working on this right now, and I will update if I get confused, have an issue, or get it done. We shall see. Thanks.
-
January 25th, 2010, 06:07 PM
I am new to C# as a language. I am more familiar with VB, but by no means an expert. I am working on this as we speak, so I will keep you all updated. I wish this book explained how to do some of...
-
January 25th, 2010, 04:28 PM
-
January 25th, 2010, 02:00 PM
There are lots of errors, too many to post. I am going to start all over on this and use an array of structures, then go from there.
-
January 23rd, 2010, 10:34 PM
I just started working on this again. I created a structure, as you can see in the code. When I change the Array data type to the structure name, I get like 5 errors in the code, even if I change all...
-
January 22nd, 2010, 03:51 PM
wow, ok, thanks. I will let you know how it goes. This is one I should just skip, lol.
-
January 22nd, 2010, 03:42 PM
I have a question on this method you have here. I see where you declare the number of contacts. In this problem, I need to have a MAXIMUM of 20 contacts, but it may be any number between 1 and 20....
-
January 22nd, 2010, 03:18 PM
I will give this a shot. I guess I can then try to store each contact (instance of the class) into an array. Maybe an array of structures would be easier. I don't know. I will see. This problem...
-
January 22nd, 2010, 02:46 PM
The class I created was striking similar to yours, but I tried to substitute the "text" you have here with variable names, and the names of the textboxes, and I got errors. I don't know how to get...
-
January 22nd, 2010, 02:32 PM
My issue is adding the contact info INTO the Class FROM a textbox, not getting the info out and displaying it into a textbox. And I need to use an array to store the data, also.
-
January 22nd, 2010, 02:07 PM
Wow, this is super complicated. After reading the chapter in the book on Classes, I am super confused. What I do not understand is how does the class get the data input into the textboxes by the...
-
January 21st, 2010, 07:41 PM
Yeah, there have been many lessons in this book that are designed to illustrate the material, but are way more complicated to use than other methods...many lessons! I guess it is good to learn how to...
-
January 21st, 2010, 07:35 PM
Thanks for the advice. I was trying to avoid going to class by teaching myself, as you can see, for some of the same reasons. I like how the directions can still be followed, but it can still be done...
-
January 21st, 2010, 07:30 PM
I agree with you there, I just hate to not follow directions. It's just me. Anyway, let me ask you a question. Do you think the better way to do this, and still use an array to store the data, is...
-
January 21st, 2010, 07:19 PM
I think that, if I can use classes, but use an array to store the data (per the requirement), then thic will still technically be correct. It does say simply that an array must be used to "store" the...
-
January 20th, 2010, 10:44 PM
I understand that. I did do it his way after reading the post, but I will not be able to let it go without doing it the original way, just to be able to do it. I need to prove to myself that it can...
-
January 20th, 2010, 10:42 PM
Got it to work. Here is the code.
Private Sub cbxAccounts_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbxAccounts.SelectedIndexChanged
...
-
January 20th, 2010, 10:01 PM
If you read my post, I am trying to learn C# on my own, so I bought a book, and I am trying to do the problems in the book as I go through it. I need to learn C#, so I thought I would do it this way.
-
January 20th, 2010, 08:28 PM
Wow, that is going to make it complicated, lol. Thanks.
|
Click Here to Expand Forum to Full Width
|