November-06's Profile User Rating: *****

Reputation: 46 Craftsman
Group:
Active Members
Active Posts:
428 (0.28 per day)
Joined:
04-January 11
Profile Views:
16,041
Last Active:
User is offline Feb 25 2015 08:52 AM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0
Icon   November-06 has not set their status

Posts I've Made

  1. In Topic: Controls in the Windows Form won't show

    Posted 21 Feb 2015

    Thanks. I got it. It was a simple mistake actually that I overlooked.

    When I set the default values in the constructor, I forgot that I removed the InitializeComponent()

    I got used to coding in web forms that I overlooked that one.

    Sorry and thanks again.
  2. In Topic: Controls in the Windows Form won't show

    Posted 21 Feb 2015

    I didn't modify the Program.cs

    In my Form constructor, all I did was set default values for my global variables.

    Since it's a simple calculator, the controls involve buttons for numbers and simple operations like addition, subtraction, multiplication, division and equals.

    I couldn't find the coded UI test when I created the project in VS 2010 Premium. So, before I created the calculator, I added a test project first to see if I have a coded UI test in my VS version.
  3. In Topic: Beginner problem - Method name does not exist

    Posted 29 Jan 2015

    Are you sure your program and your class are using the same namespace? If they're not, you should call the namespace before the class name.

    Read more about calling namespaces, classes and methods.
  4. In Topic: Beginner problem - Method name does not exist

    Posted 29 Jan 2015

    I did not see it before.

    Your fillPositive is inside another class, which is ArrayMethod. You should call it by calling the class first.

    
        int[] taskOneArray = ArrayMethod.fillPositive(15);
    
    
    
  5. In Topic: Beginner problem - Method name does not exist

    Posted 28 Jan 2015

    I think the problem concerns this line

        int[] taskOneArray = new int[fillPositive(15)];
    
    


    I rarely use arrays but from what I know, enclosed in the brackets should be a number.

        int[] taskOneArray = new int[15];
    
    


    In your case, fillPositive is returning an array of int, int[], instead of just int.

    Since you need an array, you should remove the "new" keyword and directly set the value of taskOneArray to the return value of the function.

    
        int[] taskOneArray = fillPositive(15);
    
    
    

My Information

Member Title:
D.I.C Regular
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Interests:
Programming, Playing Chess
Programming Languages:
C#.NET
VB.NET
ASP.NET
LINQ
VB 6.0
Java
C
MATLAB

Contact Information

E-mail:
Private
Yahoo:
Yahoo  sixth_of_november@yahoo.com

Comments

November-06 has no profile comments yet. Why not say hello?