• Member Avatar for hericles
    hericles

    Replied To a Post in import excel data with a calculation to a database

    Sorry, is what not possible? Do you want to export a spreadsheet immediately into a database, with no intermediate step? If you want to carry out calculations on the data …
  • Member Avatar for hericles
    hericles

    Began Watching Textbox value Count

    Hi, i take here, Total = textbox1 + textbox2 + textbox3 + textbox4 + textbox5 if textbox3=textbox1+textbox2; textbox4 = textbox2+textbox3; textbox5 = textbox3 + textbox4 ; in C# pls reply …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Textbox value Count

    I don't know what you're trying to do with the IF statement but the total line should be like this: (if you want to add integers at least) int total …
  • Member Avatar for hericles
    hericles

    Began Watching import excel data with a calculation to a database

    I have an excel file that i managed to perform some calculation.It's to know the asset value of bridges in a current year.I have 21 fields in the file.Out of …
  • Member Avatar for hericles
    hericles

    Replied To a Post in import excel data with a calculation to a database

    Databases hold data, thats all there is to it. If I understand you correctly you want to add values to a form or program, run the calculations and save the …
  • Member Avatar for hericles
    hericles

    Began Watching Help with exception handling

    I am having trouble understanding exception handling, unfortunately it just really confuses me. So, I have to implement exception codes that have been created by my teacher in another code …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Help with exception handling

    An IF statement by itself won't direct your code to the exception because failing the IF statement isn't an exception. You need to THROW the exception but not quite as …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Laptop crashes when connected to internet!!!

    I use Comodo firewall and anti-virus. Its free and seems to do a good job. The latest version starting showing small ads intermittantly (to upgrade to pro, not ads for …
  • Member Avatar for hericles
    hericles

    Began Watching Two Variables

    I'm doing this $query = mysql_query("SELECT M.msg_id, M.uploads, M.message, M.description, M.type, M.text, M.views_count, U.username, C.name as country_name FROM users AS U INNER JOIN messages AS M ON U.uid = M.uid_fk …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Two Variables

    $query is not a string, it is a mysql_query so your concatenation isn't working as you would think. Build your string and then create your query. $select = "SELECT M.msg_id, …
  • Member Avatar for hericles
    hericles

    Began Watching Array Index Out of Bounds Exception:0

    Hi to all, Im going through JDBC currently, I got struck with Java.lang.ArrayIndexOutofBounds Exception:0. I'm not getting the solution to this exception. Please help me to solve this exception, thanks …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Array Index Out of Bounds Exception:0

    Are you sure rm actually has rows? You're not checking for that and then trying to access the element at position 1. If there is no element at position 1 …
  • Member Avatar for hericles
    hericles

    Began Watching Laptop crashes when connected to internet!!!

    Hi all, I have a 2010 Sony Vaio laptop...and whenever I am connected to the internet, it crashes (blue screen). I have gone on the Sony website and downloaded every …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Laptop crashes when connected to internet!!!

    What anit virus are you running? I'd do a scan with whatever you have installed AND also ue a decent online tool like Panda to do secondary check. Its possible …
  • Member Avatar for hericles
    hericles

    Began Watching Converting VS projects

    So this is a general discussion. I basically want to know what your experience has been like when converting a VS 2005 project to a VS 2013 project, and from …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Converting VS projects

    Wow, I had plenty of issues moving a 2005 project to 2008. I don't even want to think about what would need to be done to go from 2005 to …
  • Member Avatar for hericles
    hericles

    Began Watching Populate gridview from dropdown selected table

    I want to load database tables in dropdown list and display selected table in grid view. I am trying to convert the following code into asp. Net. I am getting …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Populate gridview from dropdown selected table

    DisplayMember and valueMember aren't properties of the DropDownList. You simply can't use them as they aren't relevant to that control.
  • Member Avatar for hericles
    hericles

    Began Watching Arable area per human?

    WolframAlpha data dump: - US total area: 9 631 000 km^2 - US arable land: 1 650 000 km^2 - US population: 319 000 000 people **How many km^2 of …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Arable area per human?

    The world bank data file says 0.51 hectares per person for the US so times that by 10 million and convert to km2
  • Member Avatar for hericles
    hericles

    Began Watching general failure in windows 8 cmd

    hi everyone i am trying to ping www.google.com but i am getting general failure message. can anyone knows how to fixe. thnk bogoreh
  • Member Avatar for hericles
    hericles

    Replied To a Post in general failure in windows 8 cmd

    Check network discovery is on in the Control Panel - Network and sharing screen. Or possibly your firewall could be blocking it if you have it set for super security …
  • Member Avatar for hericles
    hericles

    Began Watching Tell me is whether url shortner logic is or not

    I am building a url shortner application in php and mysql and i am using the follwing logic to create short urls, pls tell me how is it First i …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Tell me is whether url shortner logic is or not

    Without knowing more about the queries users will be placing against the database it is hard to be sure but making sure all inputting transactions are wrapped in transactions should …
  • Member Avatar for hericles
    hericles

    Began Watching copy remove selected task to html button on weg page

    As seen in image, I need a copy of the remove selected ( marked in red ) to be available as a button down. ( it will remove the top …
  • Member Avatar for hericles
    hericles

    Replied To a Post in copy remove selected task to html button on weg page

    I'm a little unclear of what you need exactly but you canhave a button point to any code you want. Just make sure the code you want to run is …
  • Member Avatar for hericles
    hericles

    Began Watching Error 403 (uploading on somee.com, asp.net webhost)

    Hy guys, haven't been here for a while, and I m having a problem that I didn't use to have before. When I was uploading via filezilla ftp client program …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Error 403 (uploading on somee.com, asp.net webhost)

    Yeah, I tried a range of standard start pages (index & default) with a host of extensions but got 403 for all of them. It looks like you have no …
  • Member Avatar for hericles
    hericles

    Began Watching Data type mismatch Error

    I need help in fixing this bug (Data type mismatch).Im using a datagrid to insert data to access database but get this error. I can update and delete during runtime …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Data type mismatch Error

    Are any of the columns used in that insert statement integers, double, floats, etc? If yes, you would need to parse the matching input from text to whatever the column …
  • Member Avatar for hericles
    hericles

    Began Watching interesting sequence

    I have a c++ project that is due on friday. please help :( Codes should not be too advanced. Use loop or array. >Introduction: An interesting sequence of numbers can …
  • Member Avatar for hericles
    hericles

    Replied To a Post in interesting sequence

    Is there any particular part you are stuck with? Posting up what you have done already makes it far more likely someone will help you. Requests to do your homework …
  • Member Avatar for hericles
    hericles

    Began Watching WATABLE

    //create the sortable headers for (var i = 0; i < colsSorted.length; i++) { var column = colsSorted[i]; var props = _data.cols[column]; $(document).on('click', '.'+column+'ascen', function(){ col=$(this).parents("th").find("a").html(); if (priv.options.debug) console.log('col:{0} clicked'.f(col)); …
  • Member Avatar for hericles
    hericles

    Replied To a Post in WATABLE

    Is there a question that goes along with this code?
  • Member Avatar for hericles
    hericles

    Began Watching parse error please help

    **Parse error: syntax error, unexpected T_VARIABLE in this line "$validate_user_information = sqlsrv_query "select * from `userinfo` where `badgenumber` = '"$user_ssn"'";" //Login Page Starts here elseif($_POST["page"] == "users_login") { $user_ssn = …
  • Member Avatar for hericles
    hericles

    Replied To a Post in parse error please help

    That syntax doesn't look right. At the very least there should be () around the string and, if memory serves, sqlsrv_query takes more parameters than that... but I could be …
  • Member Avatar for hericles
    hericles

    Began Watching Banish Arial from DANIWEB

    Right now I'm typing in consolas, a favorite font among programmers but as soon as I submit this post, all that I've written will be in Arial. I'm sorry but, …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Banish Arial from DANIWEB

    You can stand comic sans...? If we're doing this, can I put in a vote for Calibri, always liked it :)
  • Member Avatar for hericles
    hericles

    Began Watching Crystal report error

    Please help. Thank you.
  • Member Avatar for hericles
    hericles

    Replied To a Post in Crystal report error

    Um, there is absolutely nothing here to guide us. How do you expect us to help?
  • Member Avatar for hericles
    hericles

    Began Watching Access 2007 Connection

    Hi guys pls help, Im trying to connect to access 2007 database in vb.net 2005 woth no luck.....im using a login form with two text boxes and two buttons, Im …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Access 2007 Connection

    As I mentioned in your other post, use the exception object to determine the ACTUAL reason for the error (located by looking at ex.Message). It will, normally quite clearly, point …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Login Form Connection-access 2007

    I've just gone over your code properly and it could use a couple of pointers. 1) You're putting user input directly into you sql query. Bad idea, use parameters instead. …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Login Form Connection-access 2007

    Well, getting the actual error message would be a fantastic place to start. Change this: catch ex As Exception MessageBox.Show("Please exit system and login again.", "Login Error", MessageBoxButtons.OK) End Try …
  • Member Avatar for hericles
    hericles

    Replied To a Post in php max_execution_time is not working

    It's starting to look like something else is the problem. Not sure how much more help I can be...
  • Member Avatar for hericles
    hericles

    Began Watching Applying conditions on 'non group by' columns

    Hi, Could anyone please tell me how to apply conditions on columns whihc are not a part of 'group by' clause? For example, I wish to filter out those sections …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Applying conditions on 'non group by' columns

    You mean wish to apply WHERE gender != 'M' right? So males are not included in the query? `select section_no,max(age) as 'Maximum Age' from table1 WHERE gender != 'M' group …
  • Member Avatar for hericles
    hericles

    Replied To a Post in order price from multiple tables

    How about having 2 price columns in the one table then? Replicating all that data to hold a different price in another table isn't a particularly good idea.
  • Member Avatar for hericles
    hericles

    Replied To a Post in php max_execution_time is not working

    Not really although you could set it to 1200 to match the execution time or -1 (its default value). I think the max_execution_time shows in phpinfo(). Can you output that …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Login Form Connection-access 2007

    OK, catch the actual exception, ex.Message, and see what that says. Naturally, "please exit system..." is the error message you supplied.

The End.