• Member Avatar for DaveAmour
    DaveAmour

    Began Watching Polymorphsm

    Can someone explain polymorphsm to me? Or upload a program that include polymorphm. Need some examples. Thanku
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Polymorphsm

    Poly means many and morph means form or shape. It is the phenomenum of things being able to exist in different forms. If you have a Cat class which inherits …
  • Member Avatar for DaveAmour
    DaveAmour

    Edited Blue Pill or Red Pill

    I love optical illusions and they normally work on me but in the following one you are supposed to be able to see a red pill and a blue pill …
  • Member Avatar for DaveAmour
    DaveAmour

    Created Blue Pill or Red Pill

    I love optical illusions and they normally work on me but in the following one you are supposed to be able to see a red pill and a blue pill …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Blue Pill or Red Pill

    I love optical illusions and they normally work on me but in the following one you are supposed to be able to see a red pill and a blue pill …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Create folder type image gallery

    Well you are currently displaying images from your database. Instead of that, display your categories from your database. Display these as a collection of links. Wach link can have a …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching how to analyze snippets of codes

    hi guys j is there a way on how to analyze java snippet of codes, like for loops, while loop to check to see what will be the result of …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in how to analyze snippets of codes

    This might help http://www.jetbrains.com/idea/index.html
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Redirecting a user

    I agree its important to know your tools and how to use them correctly. http://i1.wp.com/www.bitsandpieces.us/wp-content/uploads/2013/07/umbrella-fail.jpg?resize=566%2C720 http://cdn.webfail.com/upl/img/e928d92f9d2/post2.jpg
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Quality Of Post From New Users

    Has anyone noticed that there seams to be a large number of new users that are just copy and pasting their homework requirements into their post and that's it? Do …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Quality Of Post From New Users

    I agree Its difficult to poilce this automatically but how about a rule where all new users first post has to be approved? I don't know how many admins are …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching need help creating score calculator with array

    I did a previous program takes scores from the user and computes the total of the scores, score count, and score average.Now I am supposed to add an array that …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in need help creating score calculator with array

    Are you able to post all of the form code so I can copy and paste it and it will work? This includes auto generated code for the controls etc.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Redirecting a user

    I just re read my answers and realised I didn't read your question properly and got mixed up with your contact page and the final page so just ignore all …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Redirecting a user

    Eg <p><span>Name</span><input class="contact" type="text" name="your_name" value="<%=yourname%>" /></p>
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Redirecting a user

    Hello I have this line of VB.NET that redirects the user to a 'Thank you' page (thankyou.aspx) after submitting a contact form. Dim target = String.Format("~/thankyou.aspx?yourname={0}", Name) 'Redirect user to …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Redirecting a user

    I think you will need QueryString not Form Dim yourname As String = Request.QueryString("your_name") You can then either make the input a proper asp textbox and set it's value in …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Restrict to type more than 60 words in textbox problem

    Happy to help.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Odd issue with Debug.Write

    I'm printing some strings to the output console to visualise an array, so I'm looping though a string array and using `Debug.Write(array[x,y] + "\t")` etc... All was fine before I …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in check whether one date range is between another date range

    Ok so if you want to check whether they overlap OR fall within completley then just use: If ((Range1.FromDate > Range2.FromDate And Range1.FromDate < Range2.ToDate) Or (Range1.ToDate > Range2.FromDate And …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in check whether one date range is between another date range

    Ok so given date range 1 and date range 2 This is pseudo code: If ((Range1.FromDate > Range2.FromDate And Range1.FromDate < Range2.ToDate) And (Range1.ToDate > Range2.FromDate And Range1.ToDate < Range2.ToDate)) …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in filter data grid view

    Yep I often edit but couldn't this time so the 30 minutes must have passed :(
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in check whether one date range is between another date range

    Do you want to check only if one range overlaps another or whether it is completely within as well - ie any of them or just overlap?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in filter data grid view

    Sorry my previous post has a typo in which may make it unclear. It should read "Ok so first question is how do users choose which id to search on …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching check whether one date range is between another date range

    Hello, I want to check whether one given date range is falling under another range or not. Is there function for this? Because when I am calculating this using To …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in check whether one date range is between another date range

    What do you mean by "falling under another range"? I guess you could mean does one date range overlap another or does it exist completley within another date range. Which …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in filter data grid view

    Ok so first question is how to users choose which id to search on - is that typed into a textbox maybe?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching filter data grid view

    hello guys I have a data grid view with the following rows customerID, customerName, credit, debt. how do I implement filtering based on the customerID. I want to basically perform …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in filter data grid view

    Where are your customer records - are they in a database? Also this is WinForms right?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Create folder type image gallery

    Hi , I have no idea for this, I am displaying images from db dynamically, by clicking gallery link I dislay all the images, but I want to display by …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Create folder type image gallery

    What is folder type?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching If else statement explanation

    Guys what is wrong with my code? Why it gives me an output "hi"! Can you explain it to me. Please. Thank You! <?php $a = "Unemployed"; if ($a == …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in If else statement explanation

    You need: if ($a == "Employed, Locally" or $a == "Employed, Abroad")
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Restrict to type more than 60 words in textbox problem

    Hello, I am trying to restrict to maximum type 60 words in a textbox. I have tried to put a code that check if we have more than 60 words. …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Restrict to type more than 60 words in textbox problem

    Hi You are setting words1 to the length, change it to: var words1 = str1.split(' '); Then change your if statement to: if (words1.length > 60) Also you should probably …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Using Excel in app causing double notifyicon issue

    Destructors are used - read my article if you have time
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in How to check if value exists in database or not, on message

    Ok in any case apart from the fact that your code is structured badly (we canleave that for now), you are checking if ds is null. It never will be …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching How to check if value exists in database or not, on message

    private void btnSearch_Click(object sender, EventArgs e) { if (searchtext.Text == "") { MessageBox.Show("Plese Inter Employee's ID you are searching for"); searchtext.Focus(); } else { OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\Employees.mdb"); …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in How to check if value exists in database or not, on message

    This doesn't look like C, looks like C# to me!
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in subdomain problem

    No
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Using Excel in app causing double notifyicon issue

    Yes sure I wouldn't trust me if I saw my picture too!
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in subdomain problem

    Can we see the real url or is it secret?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching subdomain problem

    hi guys, i just create a new subdomain (cristi.myweb.com) but when i type that subdomain redirect's me automaticly to folder where the subomain it's.. (www.myweb.com/cristi) i don't wana this how …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in subdomain problem

    Is that the actual address?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Using Excel in app causing double notifyicon issue

    I'm happy to take a closer look if you want. If so do I need more code or the above all I need to make it all work?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Problem Help me

    Write a program that declares an array of 20 doubles and reads the values from the user. Now your program should compute the average of these numbers and then tell …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Problem Help me

    How can you tell this is homework? It could be a real business application, I know I'd buy it!
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Change value of only those options selected PHP

    Okay, this is my first time posting here, so if I'm doing something wrong please let me know. Here's my question: I've got a page full of pets (this is …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Change value of only those options selected PHP

    Hi I'm having trouble understanding what you need. Can you post your html and JavaScript for us to see?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Using Excel in app causing double notifyicon issue

    Hi. In my application I'm using Excel to get some data into an array from a worksheet. Here is my method. public string[,] WorksheetToArray(string path, bool visible = false) { …

The End.