No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Software Developer
22 Posted Topics
I have a VB.net Windows form that contains a checklistbox. I need to check or uncheck each item based on boolean values I have stored in an xml file. I also need to update that xml file when each item's checkbox is changed. My VB is competent, but nowhere near … | |
I need to combine several TXT files, the number of files may vary, and the data contents of the files will need to be in specific places in the combined file. Some of the data files will be similar as will contain values at different time steps. Each of the … | |
I'm trying to add 'session ending warning' and 'session expired' pop-ups to a site that displays secure data. The session timeout is after an hour. The pop-ups are controlled by javascript using the code below, which checks the time left in the session every minute. BUT... the call to the … | |
I'm a complete beginner when it comes to JSP, so I'm really not sure what I'm missing here. I'm trying to add some fields to a form in an existing webapp, but when I try to use html:text for my input fields, the complete form and the rest of the … | |
My code is below. Lines that are not indented are debug lines or things I've been trying to get this to work. Basically, the 'filename' hidden input's value is not setting so on submit, the code that checks the $_POST values is returning an error because 'filename' is missing. This … | |
I've never worked with Flash before, but I need to find a way of displaying a static image if Flash is not installed or not supported. I found several methods but not seem to work (see below). Any suggestions would be greatly appreciated. My website is mostly PHP/HTML. Everything I've … | |
I'm not sure if this is the right place for this, but I'm having an issue I'm trying to solve for a customer, and it's not going well. Searching online I'm seeing this has been a common problem for many people, but there aren't really any solutions that I can … | |
I have a PHP script running in the background that's in the cron to perform specific tasks on a daily basis. When it's completed it's daily tasks, I want to be able to start a 2nd PHP script, but not exactly sure how to go about it. This 2nd script … | |
I'm trying to load a CSV file into a database table, but having some issues. [CODE] LOAD DATA LOCAL INFILE 'Report_1.csv' INTO TABLE report_1 Fields terminated by ',' ENCLOSED BY '\"' LINES terminated by '\n\r'( company,key_code,dlr_code,rep_code,dlr_name,first_name,last_name) [/CODE] This gives me the following error: [ICODE] File 'Report_1.csv' not found (Errcode: 2) … | |
I need to add two different fields in two separate tables, but the second sum is double what it should be. Here's what I'm using: Select A.dc,A.rc,B.acctno, ((Sum(If(B.ttc In ('X','Y','Z'), 0, B.ua))) - (Sum(If(B.ttc In ('X','Y','Z'), B.ua, 0)))) As Total_UA, (Sum(C.cub)) As Total_CUB From Table_B As B Left Join Table_C … | |
My SQL isn't the best. Here's my situation: My table consists of three fields. I'll call them A, B, and C (for simplicity). For each A, there should be only one B-C combination. No matter how many times A is in the table, it should always have the same B … | |
Another MySQL question I have (wish my SQL knowledge was better). I want to compare a column in one table to two columns put together in another table. For simplicity sake: Table A has columns X and Y, Table B has column Z. The values in X and Y put … | |
I'm pulling a date value (not a datetime value) from a MySQL database, but I need to subtract 30 days from that date, and not sure how to do it. I found a sample using mktime() to break up the day-month-year and subtracting 30 days from the 'day' component, but … | |
I have a MySQL query that's using SUM() to take the sum of a column, BUT what I need it to do is basically this: If the string in another column is 'BUY', then I want to add the number in my column, but if this other column has 'SEL', … | |
I'm a novice when it comes to MySQL so I'm not too sure about how to go about this. I have two tables, and both tables have two fields I need to deal with. Table investors has fields Dealer and Rep. Table advisors has fields dealer and rep. investors.Dealer = … | |
I'm using the Kohana PHP framework, not very familiar with Kohana and only a novice with PHP and javascript. I'm working on a project where I have a form::dropdown filled with a list of categories and another dropdown (second one using multiple selections) which needs to be filled dynamically based … | |
I'm creating a Windows app and have a form where the user can fill out his/her name and email address, a subject line, and a message, then clicking a Send button to send an email to me about any question or issues they may be experiencing using my app. I'm … | |
I'm trying to get my items in my domainUpDown control to spin for a few seconds rather than just increment/decrement one item at a time and then stop randomly on any item, but not sure how to go about it. I have the Wrap property set to True so the … | |
Call it my lack of experience with VB6, but I can't understand why my code (sample below) is giving me a Type Mismatch error when I use the Fields argument in my call to write things to a debug log. Can anyone help or explain? [code] Public Sub Update(ByRef myChain … | |
I have a SortedList filled with keys and values. When I try GetKey(index), I get my key, and when I try GetByIndex(index), I get my value. But when I try to use IndexOfKey() or ContainsKey(), I get the following error: "Failed to compare two elements in the array." I need … | |
I'm a newbie to VB and have been given the bugfixing/maintenance task at the company I work at for one of their products that was written in VB. One of our customers is experiencing a "freeze" in the application at a certain point and the only way around it is … | |
I have two Windows forms. Form1 has a button which, when clicked on, opens up Form2 (which looks like a drop down/combobox type of control). Form2 is a grid of buttons that look like a telephone keypad. When one of these buttons is clicked on, Form2 closes and the text … |
The End.