Curtis Rutland's Profile User Rating: *****

Reputation: 4610 Guru
Group:
Moderators
Active Posts:
8,262 (4.79 per day)
Joined:
08-June 10
Profile Views:
79,655
Last Active:
User is online A minute ago
Currently:
Viewing Board Index

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Who Cares
Favorite Gaming Platform:
PC
Your Car:
Chevrolet
Dream Kudos:
1000
Expert In:
C#, LINQ, Dynamics CRM 2011

Latest Visitors

Icon   Curtis Rutland has been promoted!

Posts I've Made

  1. In Topic: Anyone interested in creating forum?

    Posted 26 Feb 2015

    No, you won't find anyone here to host your site for free. That's not what our members are about, and hosting costs money. Bandwidth costs money too.

    You can use "free" hosting for very small sites, but if you are planning on this forum being successful, you don't want to do that.

    Basically, free hosting aside from all the other restrictions come with it will always be given lowest priority, whether that be bandwidth, processor time (because free hosting is also shared hosting, as in multiple different people and applications on the same server), or even support. It's not that it is or isn't "suitable" for forums specifically, it's just not suitable for any site with more than a tiny audience.

    I suggest that you put this project on hold and do some research on how websites work and are hosted. This will be greatly beneficial to you in the long run. You wouldn't plan on building a car if you didn't know how engines work, right? Don't plan on having a website built unless you know how to deal with it once someone gives you the code.

    Once you have that kind of knowledge, you can re-evaluate your ideas and see if they're worth how much proper hosting would actually cost.

    There aren't a lot of hobbyists running big websites. That's because it's expensive to run a website that has any real volume (more than a few dozen visitors a day).



    New members do not have access to edit their posts. This is because many students would post their homework, get help, then delete all the text in their first posts so they don't get caught. Once you're a member of the forum for a while, an edit button will appear for you to use.

    Also, if you use the "Reply" button at the bottom of the page, or the quick reply box that's already there, you won't end up quoting the previous post.
  2. In Topic: Anyone interested in creating forum?

    Posted 26 Feb 2015

    What I meant was that you can't host a forum for free. You can get one made, but to have it available for people to actually browse it, it has to be hosted, and hosting generally isn't free. That's not to mention the fact that you will have to buy a Domain Name as well.

    You can find some free hosts, but they come with a ton of restrictions, like a bandwidth cap, and/or no direct server access, stuff like that.

    That means that you will have to pay money for the site to be hosted. I was assuming you knew that. Because the site costs money to host and serve, you will either be paying for this out of pocket, or making money from the site (perhaps from advertisements) to pay for the site to be hosted.
  3. In Topic: Getting properties from different classes/objects

    Posted 26 Feb 2015

    View PosttlhIn`toq, on 26 February 2015 - 10:35 AM, said:

    Quote

    It sais "An object reference is required for the nonstatic field, method, or property"(Line 66 in the first code). I googled the problem, and it`s because of something is static, and something else is not.


    You missunderstand. An object has to be set equal to something otherwise its null.


    It's not quite the same thing as a NullReferenceException...in this case, has his explanation backwards. It's not because something is static and shouldn't be, it's because something isn't static and it's being used incorrectly.

    Namely, almost every time you use your Monster3 class, you're using it incorrectly. The specific error you got is here:

    String drawString = ("You have: " + botMonster.Monster3.poeng3);
    


    This is also why coding standards are so important. People like me (and probably tlhIn`toq) would assume that botMonster is a local or private class variable because of the name. But it's not, it's a class. Classes should always start with capital letters (and typically they should be Nouns, whereas methods are verbs).

    The fact that it's a class means that when you do botMonster.Monster3.poeng3, it thinks that there is a static field called poeng3 on the class Monster3 inside the class botMonster (which is another design problem in and of itself...why the outer class? It doesn't add anything except confusion).

    In your daBoot method, you create three new monsters. This is correct; you do need to create instances of the class with the new keyword before you do anything with them.

    But that's the problem; you don't do anything with them. You create them in local variables. As soon as the daBoot method exits, those three monsters you created vanish; they only existed inside the daBoot method. If you want to be able to keep those monsters and use them throughout the program, you'll need to make a class level variable to hold them.

    Unfortunately, you've also got an amazing amount of logic inside the constructor for that class. That's a really anti-standards way of doing things; you're spinning off a lot of actions implicitly. Rather, you should make those be able to be kicked off by a public/internal method.

    You need some refactoring work. You should look at proper OOP and class design, then start from there. I promise it will make your programming life better.

    You should also consider looking into Tasks instead of Threads; Threads are clunky and if you don't need the flexibility it provides, Tasks are a vastly simpler component to use.
  4. In Topic: Anyone interested in creating forum?

    Posted 26 Feb 2015

    I'm sorry to sound cynical, but you're coming to a forum, and asking its users to leave and create a different forum (for you, for free). I can't imagine you're going to get many takers on that proposition.

    What kind of benefit are you offering the person who will be doing the work? You already say you aren't paying...but you're eventually going to monetize the site, right? You can't host a popular forum for free (bandwidth and server costs alone will require you to have some kind of income from the site), so you have to have some idea for making money from the site. Are you offering profit sharing to the developer that assists you, or is this something they should do completely for free, with no side benefit other than saying "I created that!"?

    Because if it is, again, I can't imagine anyone lining up for that "opportunity".
  5. In Topic: retrieve geolocation in c# windows form

    Posted 26 Feb 2015

    That's a good option too. If you make a model that matches your JSON, you can deserialize the JSON directly into C# objects.

My Information

Member Title:
(╯□)╯︵ (~ .o.)~
Age:
30 years old
Birthday:
August 29, 1984
Gender:
Location:
San Antonio
Forum Leader:
C#
Full Name:
Curtis Rutland
Years Programming:
7
Programming Languages:
C# -- Forms, WPF, Silverlight, WCF

Contact Information

E-mail:
Click here to e-mail me
Website URL:
Website URL  http://curtisrutland.com
Skype:
Skype  insertAlias_bytes
Twitter:
curtisrutland

Comments

  • (2 Pages)
  • +
  • 1
  • 2
  1. Photo

    NewRandomUsername Icon

    06 Jun 2014 - 20:59
    Did you get my messages(emails) sir?
  2. Photo

    BenignDesign Icon

    03 May 2013 - 13:29
    I see you were staring at my profile. I also stare randomly at profiles. We have much in common. We should probably hook up sometime. Just sayin.
  3. Photo

    eric wallace Icon

    31 Jan 2013 - 02:53
    can you help for visual basic
  4. Photo

    no2pencil Icon

    06 Dec 2012 - 08:34
    It still isn't good enough.
  5. Photo

    ikram002p Icon

    27 Jun 2012 - 10:51
    "It Doesn't Work!" That's not good enough!
    It Still Doesn't Work!.
    I didnt undestand it ??
  6. Photo

    tlhIn`toq Icon

    18 Mar 2012 - 11:22
    Congrats on breaking 3000
  7. Photo

    Curtis Rutland Icon

    08 Sep 2011 - 14:13
    "Leveling up." I like that!
  8. Photo

    MATTtheSEAHAWK Icon

    08 Sep 2011 - 13:55
    Yar ya see, i remember when yee wer purple!
    Anyways congrats! It's weird seeing people who've been one way so long "leveling up" :P.
  9. Photo

    Curtis Rutland Icon

    08 Sep 2011 - 12:59
    Thanks!
  10. Photo

    Sergio Tapia Icon

    08 Sep 2011 - 12:29
    Congrats on becoming a mod. :D
  11. Photo

    Ace26 Icon

    15 Jun 2011 - 13:39
    Hi mate, interesting to see we are age mates. Nice work you do in the forums.
    Just dropped by to say hi, anyways.
    Cheers.
  12. Photo

    RetardedGenius Icon

    20 Apr 2011 - 18:56
    Excellent C# tutorials, they've taught me a lot I didn't know. Please keep more of the good stuff coming! :D
  13. Photo

    Curtis Rutland Icon

    24 Mar 2011 - 14:55
    Yeah, felt like "professionalizing".
  14. Photo

    Dogstopper Icon

    23 Mar 2011 - 17:08
    Woah. Name switch! I took a double take...
  15. Photo

    CodingSup3rnatur@l-360 Icon

    01 Mar 2011 - 14:35
    No problem at all. Glad I could contribute :)
  • (2 Pages)
  • +
  • 1
  • 2