199,114 Archived Topics
Remove Filter ![]() | |
Hi guys, I have 2 forms which do practical the same thing. They are supposed to show a preview of a file which has been selected from a treeview. However the first form works fine and the second one doesn't. When I look into it the second form produces a … | |
I have this simple javascript function which counts the number of characters the user is able to enter in a text box/ text area: http://jsfiddle.net/9XhDK/ how can I cater for any backspaces? (I a user deletes a character the number of characters left increases by 1)? Thanks ![]() | |
Hello, I have one query, $sql_query = db_select('Int_schedule_Table', 'c'); //name given as **c** $sql_query->fields('c',array('Int_Schedule_Id', 'cand_id', 'Int_Panel_Id', 'Interview_Date', 'Interview_Time','Interview_feedback_status', 'Interview_for_vacancy', 'hr_name', 'Int_Type')); //took fields from C $sql_query = $sql_query->extend('TableSort')->extend('PagerDefault')->limit(20); // I fired qury here $result = $sql_query->orderByHeader($header)->execute(); // after this I have simply applied my logic of displaying fields on $result. … | |
This is probably a very commonly asked question but is it possible to make an app with python? | |
Hi group! I hope all is well! As part of my connection string and database insert/update, I have an exception command in it to display an error message. Can this also be read or made into a true/false answer? I would like to have my program run very short command … | |
I'm a Java programmer for the most part. I'm very familiar with the Python syntax, but I've never used it for big projects. When I started a larger project in python, I found myself confused about where to start in the design process. I think the biggest issue I encountered … | |
I have a problem that is probably very easy to solve for someone who knows PHP, and I feel sick for 3 days. Namely, it is a Facebook application for the a photo contest, and when the user is uploading an image, the image uploading, but ejects the following error … | |
Hello there, I'm not sure whether to post this problem in this forum or in Javascript forum. I have a frameset.It has two frames.Left frame and Right frame. The left frame has drop downbox and has a lot of selection conditions. The right frame has a datagrid which takes the … | |
I am almost done with my assignment but am having problems with the spacing when I echo the file. Any help please? this is what I have: #include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; int main() { //Declare variables to manipulate data char reply; string name; … | |
0 down vote favorite I am trying send Newsletter with images, I am able to send email but not getting images, I tried to search lots of solution but its not working.Please check this link for [Simple Newsletter](http://www.shooters.com.au/newsletter/newsletter.html) When I am trying to email this newsletter, I am getting newsletter … | |
Hi, I have a png image wihtout background and want this png to be my JFrame where the transparent section must be transparent; I have tried different ways I used the setOpaque(), setOpacity(), ImageIO but no clue. I want only my transparent png as JFrame. Any idea and solution will … | |
Hello, I am trying to use sso login on my website where my clients can login to a certain company X without signing in again. I spoke to the developers at the company X. they told me that they are using SAML 2.0 for exchanging authentication and authorization. I was … | |
Is there a way for JSP to get value from id element in a html? Just like what javascript doing document.getElementById.value | |
| |
Hi, I have two buttons (button1 and button2) in a form which does two different things. button1 instantiates class A and does something and similarly button2 instantiates class B and does something. private void button1_Click(object sender, EventArgs e) { A a = new A(); a.DoSumthingWithA(); } private void button2_Click(object sender, … | |
Does anyone know how it's possible to add up the values in a list? | |
I have a directory called 25 and I want to print the list of files in that directory using PHP. How can I ? | |
Please i need a code to search my access database through vb.net 2010 . Also i want the record searched to be displayed on a datagrid or listview with. please help me i am new to programming | |
I few weeks ago, I posted some code that I need help converting to MySQLi, now I need some help converting it to PDO. The code allows you to enter queries and commands and brings back the column headings and the information that I am looking for into a table. … | |
as the title , i want to create module for my application . i found that module is used for global declaration or function / procedure defination. but here i want to ask that how to create a module in vb.net which is applicable to all the window forms of … | |
Does anyone have a clue how to fix this and make the program work smoothly? #I've been trying to make a python module called math.py def add(no1, no2): num = no1 + no2 print num def subtract(no1, no2): num = no1 - no2 print num # That all works fine … | |
I'm trying to run a cron job on my web server. I used the cron module at the cPanel to add the file and used this command.. `sh ./public_html/crark/run.sh` The problem was that it takes the root folder context for all the followed processes i.e. I call run.sh from cron … | |
i have a folder that has 1000 text files i want to read all of them character by character and sore them in different matrices . the data in a text file is like 101010101001000100000000001 101010010101000000000000101 101010010100101001010010100 000101001010010010100100101 i want to make a matrix from this data and similar 999 … ![]() | |
I stumbled upon the fact that one can't bind a temporary variable to a reference unless it is a constant and found it to be indeed true in the given code. However, i am not able to find out the difference in my other code snippet where I didn't use … | |
Please am trying to create a database table that store image and display the image. I want to use vb.net to design the form for user to add their details and picture. i don't know how to go about it please help.Thanks | |
So I'm getting this error message from MYSQL when I load this page. The first message is what's it displaying on the PHP code, the 2nd message is the result of mysql_error(). [ICODE](1) Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in [I][redacted][/I] on line 19 (2) You … | |
I have 2 processes (producer and consumer) sharing an int deque in shared memory, I have the producer process put 2 numbers in the deque and then it gets in a wait state losing its mutex lock. I then have the consumer process removing the numbers and printing them. It … | |
i dont recieve any mail in my box, can someone help and tell me whats the problem!! | |
Hello I need to filter data from database. Use selects the data he need from selectboxes and inputs. Not all inputs must be filled. Those that arent have value of -1. I have put together a SQL statement that should work. Probably would work without the prepare but I need … | |
Plz..guys i want to know is there any function that can give ASCII value of character? and do i need to use any header file to use that function | |
Hi, I programmed this code to solve the equation: x/2! + x^n-1/n! where n is the size of series The program functions, but appears to be giving me the incorrect result. For example if I enter 3 for n, and 2 for x I am expecting 1.67 as the result … | |
this code runs at my other sample prog. but when I try to use it to my actual prog., it wont work. (variables changed, connection's ok) . . . cant show data at listview [CODE] Imports MySql.Data.MySqlClient Public Class Form1 Public sconnection As New MySqlConnection Private Sub Form1_Load() If sconnection.State … | |
![]() | I use visual c++ compiler 2008 express edition, because express edition doesn't support resources is it possible to make a win32 dialog box in express edition, if so how might I create one? Thank you for reading ![]() |
Hi There, can you please explain briefly what is the difference between Parallel and Distributed Database? Is there any similarilites between them? Can anyone give me any link or some briefly explaination of both type of database? Thanks. | |
Hello, I am having a few problems when trying to execute the a Makefile that will *hopefully* create a static library that I can use for future use. Here is my code below: #----------------------------------------------------------------------------- # Usage of make file #----------------------------------------------------------------------------- # Clean operation: # make -f MakeClient clean # # … | |
Please help me to correct this, because its relpy: Access denied for user 'flasycom@localho'@'localhost' (using password: YES) and this is my database setup <?php //################################################################# //Only edit the following 4 varibles $SQLhost = /* SQL Host */ 'localhost'; $SQLuser = /* SQL Username */ 'flasycom_admin'; $SQLpass = /* SQL Password … | |
#RewriteEngine On #RewriteBase /csnew/ I commented out those two lines in my HTACCESS file, whenever I type in my domain address with a directory and/or file added on that doesn't exist, it keeps loading my web site because it's constantly searching within the directory /CSNEW/ but commenting it out, isn't … | |
Hi there, I'm just new to programming and C++ ... I have trouble with my code At first I am using "int" for variables but then I realize that i need a much larger range of numbers and also support for decimal operations so I change all "int" to "float"... … | |
Dear Sir or Madam, I am working on VB. I have 3 columns in my DGV the first column is First Name, Second is Last Name, and the third is Phone Number. I would like to show the First Name of the users while we type the keywords into a … | |
i have a login box, but when i click login, it will now display (SELECT*FROM members WHERE email='wareez' AND password ='lord' The login box is not working. also the registration form too will submit the form to the database but it did not load the user homepage after the successfull … | |
I have not programed or written code in over 10 years when I was in College. I was / am a Networks Administrator. How, ever I find my self needing a custom interface for a DB system we recently ackwired where I work. I have been doing it in Visual … | |
Hi there, I'm just new to programming and C++ ... I have trouble with my code At first I am using "int" for variables but then I realize that i need a much larger range of numbers and also support for decimal operations... My First Code: #include <stdio.h> #include <conio.h> … | |
<?php session_start(); include_once("db_connect.php"); if(isset($_POST['update'])) { $ret_id=$_POST['ret_id']; $ret_name=$_POST['ret_name']; $ret_street=$_POST['ret_street']; $ret_city=$_POST['ret_city']; $ret_phone=$_POST['ret_phone']; $ret_fax=$_POST['ret_fax']; $ret_user_fname=$_POST['ret_user_fname']; $ret_user_lname=$_POST['ret_user_lname']; $ret_email=$_POST['ret_email']; // checking empty field if(empty($ret_name) || empty($ret_street) || empty($ret_city) || empty($ret_phone) || empty($ret_fax) || empty($ret_user_fname) || empty($ret_user_lname) || empty ($ret_email)) { if(empty($ret_name)) { echo "<font color='red'>Retailer Name field is empty.</font><br/>"; } if(empty($ret_street)) { echo "<font color='red'> … ![]() | |
Hi guys, I don't even know where to start, the ideea is that I want to develope an API that responds with certain data, but I don't have a clue for what to look. The ideea is that there is a panel like google analytics but with no stats, but … ![]() | |
I need to calculate the number on selections. Im using the value as reference I dont need my function to add the values I need to add the number of fully successful, exceptional, or need imporvements. Here is a code I have but it calculating the total based on the … | |
// Author: Frank R. Mendez // Title: Object Oriented Calculator Program // Date: 7/13/13 #include <iostream> using namespace std; class Calculator { public: void add(int i, int a); void subtract(int i, int a); void mult(int i , int a); void divide(int i, int a); void modulo(int i , int a); … | |
This may be the ugliest bit of javascript you've ever seen... but can someone tell me why the elements come through un-styled even though I am clearly writing to divs that are classed and the stylesheet is pulled in? Definitely falling victim to some noob error here, but which one? … | |
Hi, i have 2 pieces of code that i created, both of which do exactly the same thing and i am trying to benchmark them to see which is generally more efficient. As such i used the code suggested by perldoc in the following format: use Benchmark; $t0 = Benchmark->new; … | |
Hey, I think it's a simple code but I can't resolve how to do it.. I have a combobox and I want to "Add All" to a listbox, but without removing them from the combobox.. Here is my code, please help me fix it: If ListBox1.Items.Contains(ComboBox1.Items) Then MsgBox("You can't add … |
The End.