199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ogsirus

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 …

0
224
Member Avatar for cirbab4

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

Member Avatar for stbuchok
0
204
Member Avatar for Priti_P

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. …

Member Avatar for Priti_P
0
147
Member Avatar for entropic3105

This is probably a very commonly asked question but is it possible to make an app with python?

Member Avatar for svf_
0
183
Member Avatar for Papa_Don

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 …

Member Avatar for Reverend Jim
0
184
Member Avatar for mgold

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 …

Member Avatar for snippsat
0
178
Member Avatar for bojan123

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 …

Member Avatar for bojan123
0
309
Member Avatar for Letscode

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 …

Member Avatar for geniusvishal
0
610
Member Avatar for erinkay528

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; …

Member Avatar for JasonHippy
0
158
Member Avatar for Hakoo

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 …

Member Avatar for geniusvishal
0
395
Member Avatar for tanha

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 …

Member Avatar for tanha
0
2K
Member Avatar for rowly

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 …

Member Avatar for rowly
0
2K
Member Avatar for mydreamgirl

Is there a way for JSP to get value from id element in a html? Just like what javascript doing document.getElementById.value

Member Avatar for stultuske
0
2K
Member Avatar for davy_yg
Member Avatar for imBaCodes
0
112
Member Avatar for sumitrapaul123

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, …

Member Avatar for sumitrapaul123
0
105
Member Avatar for entropic3105
Member Avatar for Priti_P

I have a directory called 25 and I want to print the list of files in that directory using PHP. How can I ?

Member Avatar for Priti_P
0
351
Member Avatar for alfdon1

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

Member Avatar for tinstaafl
0
117
Member Avatar for joshmac

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. …

Member Avatar for joshmac
0
3K
Member Avatar for Learner010

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 …

Member Avatar for shann_
0
223
Member Avatar for entropic3105

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 …

Member Avatar for entropic3105
0
338
Member Avatar for timetraveller1992

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 …

Member Avatar for rch1231
0
366
Member Avatar for bansal123

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 …

Member Avatar for iamthwee
0
197
Member Avatar for nchy13

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 …

Member Avatar for nchy13
0
840
Member Avatar for yudop

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

Member Avatar for JorgeM
0
151
Member Avatar for jrotunda85

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 …

Member Avatar for Gears.of.Codes
0
371
Member Avatar for rudasi

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 …

Member Avatar for rudasi
0
520
Member Avatar for yachile

i dont recieve any mail in my box, can someone help and tell me whats the problem!!

Member Avatar for mmcdonald
0
213
Member Avatar for Martin C++

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 …

Member Avatar for Martin C++
0
248
Member Avatar for sargarpramod

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

Member Avatar for tilakkumar
0
3K
Member Avatar for JoeD1

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 …

Member Avatar for JamesCherrill
0
185
Member Avatar for camillemimi

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 …

Member Avatar for Alvin_1
0
2K
Member Avatar for Fjdd

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

Member Avatar for Fjdd
0
4K
Member Avatar for strRusty_gal

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.

Member Avatar for strRusty_gal
0
165
Member Avatar for phorce

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 # # …

Member Avatar for mike_2000_17
0
787
Member Avatar for wareez

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 …

Member Avatar for Banderson
0
239
Member Avatar for Siberian

#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 …

Member Avatar for Siberian
0
220
Member Avatar for jandanielsaclolo

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"... …

Member Avatar for Gonbe
0
228
Member Avatar for Phalla_1

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 …

Member Avatar for Phalla_1
0
233
Member Avatar for wareez

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 …

Member Avatar for wareez
0
109
Member Avatar for Sebastian_1

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 …

Member Avatar for tinstaafl
0
1K
Member Avatar for jandanielsaclolo

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> …

Member Avatar for jandanielsaclolo
0
257
Member Avatar for sanbhu2105

<?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'> …

Member Avatar for Zagga
0
156
Member Avatar for zahidhcy
Member Avatar for Unimportant
0
192
Member Avatar for Szabi Zsoldos

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 …

Member Avatar for diafol
0
300
Member Avatar for yankeefan24

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 …

Member Avatar for theHop
0
229
Member Avatar for frankleslie8311

// 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); …

Member Avatar for AndrisP
0
6K
Member Avatar for capmarketing

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? …

Member Avatar for theHop
0
170
Member Avatar for anglaissam

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; …

Member Avatar for anglaissam
0
190
Member Avatar for yagelnnn1

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 …

Member Avatar for tinstaafl
0
151

The End.