ragingben's Profile User Rating: -----

Reputation: 170 Stalwart
Group:
Authors
Active Posts:
637 (0.32 per day)
Joined:
07-October 08
Profile Views:
22,140
Last Active:
User is offline Apr 17 2014 03:32 AM
Currently:
Offline

Previous Fields

Country:
GB
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
Nintendo
Your Car:
Volkswagen
Dream Kudos:
250

Latest Visitors

Icon   ragingben has not set their status

Posts I've Made

  1. In Topic: Random Select Dictionary values not Displaying

    Posted 10 Apr 2014

    If you put a breakpoint on the following line and hover the mouse over the .Question part what is displayed?
    // Display question for dictionary position selected
    this.lblQuestion.Text = this.questions[this.position].Question;
    
  2. In Topic: How can I call a Event when user clicks a button.

    Posted 26 Mar 2014

    View PosttlhIn`toq, on 26 March 2014 - 12:31 PM, said:

    Next, if you weren't using the out-of-date WinForms model, and instead using the modern WPF model for your program you could just specify your color preferences in a ControlTemplate style for the tabs and you'd be done in about an hour. No event handler for all this. No painting overrides. None of that 1990's stuff.

    Agreed. WPF is the way to go these days. It is being widely adopted and does away with a lot of the nonsense on WinForms. It does bring it's own set of quirks, and definitely has a steeper learning curve, but it rewards good design.
  3. In Topic: Simple guessing game help

    Posted 26 Mar 2014

    You could have the user enter a path if you have are doing a console application. Or if you are using WinForms try the OpenFileDialog. When using a path be sure to note that your path has included the '@' which makes the string a verbatim string literal, which basically ignores escape characters such as "\n", "\t" etc is very useful when specifying paths, but the user will enter it without the '@' which will mean you need to use "\\" for every "\" to avoid them being seen as escape characters.
  4. In Topic: Simple guessing game help

    Posted 25 Mar 2014

    View Posttuned, on 25 March 2014 - 04:08 PM, said:

    What i want is to have all the columns in text file in order, how would i do that? For example like this:
    aaa:aa, bbb:baaa, ccc:1
    aaa:aass, bbb:s, ccc:12
    aaa:aa, bbb:baaa, ccc:1

    How do you want to order them? Alphabetically or the order they were entered?

    The data will only line up if you are using a monospaced typeface like, something like Courier New.

    aaa:aa, bbb:baaa, ccc:1
    aaa:aass, bbb:s, ccc:12
    aaa:aa, bbb:baaa, ccc:1
  5. In Topic: user writing a method during runtime

    Posted 25 Mar 2014

    And although it isn't exactly what you are after you could always use scripting. The Microsoft.Scripting and Microsoft.Dynamic dll's have a fair bit of scope for this. In one of the app's I work on all day at work we have a scripting section where users can write script files (or in a prompt) in IronPython and call them through our app.

My Information

Member Title:
D.I.C Addict
Age:
28 years old
Birthday:
May 11, 1985
Gender:
Location:
Somerset, England, Uk
Interests:
Football, punk rock, guitar, squash, badminton, retro games, fx building
Full Name:
Ben Pollard
Years Programming:
6
Programming Languages:
VB6, VB.NET, C#, WPF (XAML), MINT, Python (a bit)

Contact Information

E-mail:
Click here to e-mail me
Website URL:
Website URL  http://www.0xdfx.wordpress.com
Twitter:
0xdfx

Comments

Page 1 of 1
  1. Photo

    Frinavale Icon

    21 Sep 2011 - 09:22
    :)
  2. Photo

    Frinavale Icon

    20 Sep 2011 - 13:50
    ..I figuered if they phrased their question differently I could help...
  3. Photo

    Frinavale Icon

    20 Sep 2011 - 13:50
    The reason I posted my "useless" comment is to pull more information from the OP about the topic. I didn't realize how old the thread was. I simply started answering a few of the newest questions in the forum. I took the OP's code, and played with it: trying to envision what on earth they were trying to accomplish and couldn't. I figured if they phrased their question differ...
  4. Photo

    Frinavale Icon

    20 Sep 2011 - 13:50
    I'm not having a "hissy fit" I just found your comment a harsh and wanted you to be aware of it.
  5. Photo

    Frinavale Icon

    20 Sep 2011 - 06:52
    <sarcasm>Thank you very much for the wonderful "welcome to the forum" message you left me in thread. It's SOOO nice to be back trying to help people</sarcasm>
Page 1 of 1