199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for asaidi

Hi i have 2 tables customer (cabinet_num which is integer) and cabinet (cabinet_num Autoincrement and cabinet_title) in my java i can display cabinet title to let the user choose a cabinet..but i want to collect the cainet_number in my customer table customet.cabinet package cabinet; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; …

Member Avatar for mKorbel
0
303
Member Avatar for sys73r

I'm working with a LIST that am getting from a soup which after the clean up gives me: lists of variable length ['7.0', '7.5', '6.8', '6.9'] or ['7.0', '7.5'] so my problem is when I try formating the output: code snippet: if grades: print '\r\n["' + str(student[0]), if len(grades) == …

Member Avatar for David W
0
424
Member Avatar for Jing_1

Good Morning Everyone, May i know how to extract all data from a excel file and copy the data all over to another excel file? Example from Excel A, we have data EmployeeID Name Department 1111 John MIS I want to copy the data over to Excel B... may i …

Member Avatar for du_1
0
670
Member Avatar for ravi142

Hello I am build pagination but its give me stuck. **admin_cont Controller Page** $this->load->library('pagination'); $config['base_url'] = "http://localhost/Job-portal-CI/admin_cont/search_me"; $config['total_rows'] = $this->db->get("admin_emp_job_description")->num_rows(); $config['per_page'] = 2; $config['num_links'] = 20; $this->pagination->initialize($config); $data['records'] = $this->db->get('admin_emp_job_description',$config['per_page'],$this->uri->segment(3)); $this->load->view('admin_jobseeker/search_lists',$data); **View Page** <?php echo $this-> table-> generate($records); ?> <?php echo $this->pagination->create_links(); ?> **Problem** Its give me Link but when …

Member Avatar for ravi142
0
2K
Member Avatar for Satyam_1

Hello I have a vb.net application with MS access database. I want to run LAN in 3 pc by this application. So it possible or which SQL method shuold I adopt for LAN connectivity. I started to convert my database in SLQ express but I am not succeed .

Member Avatar for OtepTheThird
0
1K
Member Avatar for Denvb

Hi i am trying to display records in access database that have pictures saves binary data i have created typed dataset that populate the crystal report but the problem is the images do not display code is as below i have attached sample report Imports System.Data Imports System.Configuration Imports System.Data.OleDb …

Member Avatar for OtepTheThird
0
615
Member Avatar for davy_yg

index.php <script type="text/javascript"> $(document).ready(function() { $("#login").click(function() { $(".login_box").slideToggle('fast'); }); }); </script> <div class="login_box" onblur="myFunction()"><br> Email:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> <input type="text" name="judul" size="20"><br><br> Password:<br> <input type="password" name="judul" size="20"><br> <a href="#">Forget Password</a><br><br> <button type="button" class="button">Sign-in</button> <button type="button" class="button" onClick="window.location.href = 'http:\index-1.html';">Create Account</button><br> </div> This program when someone click the button the login_box appears and if …

Member Avatar for davy_yg
0
301
Member Avatar for iamsmooth

I know there are benchmarking programs that exist, but I've decided that as an exercise, I want to try and create some sort of simple benchmark program to test schedulers of my Raspberry Pi (CFQ, noop, deadline). I have been switching the schedulers and testing some linux commands using time …

Member Avatar for griswolf
0
292
Member Avatar for sel15

I have implemented an FFT algorithm (by looking it up online) and integrated it into ImageJ but when I run it the image produced by the FFT algorithm is different from the image produced by the ImageJ software. I can't seem to find the error, I was hoping someone can …

0
185
Member Avatar for Brandy_1

Program runs without errors, unfortunately it will not calculate the days overdue. Any Suggestions? I have attached the code as a pdf, i have also done this as an IF, THEN, ELSE statement with the exact same results, but it will not let me upload it. Help! Private Sub calculateFees …

Member Avatar for Reverend Jim
0
398
Member Avatar for RikTelner
Member Avatar for eluciveLu

I would like to create a folder that has been specified by a user i a JSP. for example, in the jsp page below called index.jsp the user is asked to create a folder.. <form action="CreateFolder.jsp" method="post"> <h3> Create New Folder <h3> <input name="createfolder" type="text"> <input type="submit" value"Create Folder"> </form> …

Member Avatar for stultuske
0
2K
Member Avatar for lewashby

#!/usr/bin/env python3 import sys import re file = sys.argv[1] f = open(file, 'rb') seek_positoin = 0 artist_string = b'artist=' line = b'' f.seek(seek_positoin) while artist_string.upper() or artist_string.lower() not in line: line = f.readline() if artist_string.upper() or artist_string.lower() in line: seek_positoin = line.find(artist_string) f.seek(seek_positoin, 1) word = f.read(10) #line = str(line) …

Member Avatar for TrustyTony
0
398
Member Avatar for NuGG

I have been having trouble getting a result from this wondered if someone may be able to help me. I am trying to decode/parse this json output from a URL so that I can extract "result" and "success" and place them into variables. So far I cant even parse the …

Member Avatar for NuGG
0
328
Member Avatar for Dani

Just upgraded to Firefox 30.0 and sessions no longer seem to work. The cookie just doesn't set. Using `$this->session->set_userdata()` Not using Firebug, although reading on the web indicated it has been a culprit with similar issues.

Member Avatar for Dani
0
380
Member Avatar for Bile

-->>Hello,My problem is how will a trigger a php Function based up on Change event of a listbox value. My Page has the Field as those in the screenshot below the code: So when a driver is selected on the list all his/her details should be populated in the remaining …

Member Avatar for Bile
0
2K
Member Avatar for dwlamb

This might be a duplicate but I can not find a solution for the small challenge I am facing. I want to assign the href and text in an `<a>` tag to variables and use them in a jquery script. Examples I have found pertain to diving into the DOM …

Member Avatar for diafol
0
264
Member Avatar for castajiz_2

I ve been trying for the last 3 hours to get my autocompletetextbox working and tryed all sort of code. My Web service is working from wich I m actually fetching all the stuff but the jquery seems not to work, I m always getting the error when typing the …

Member Avatar for nikkitata
0
302
Member Avatar for Satyam_1

I have vb.net application with MDF-Sql database. I retrieves data from Table in MDF-Sql into datagridview by TableAdaptermanager/binding navifator. Although it displays data but when I want to save by this code, its not working.This code is working in vb.net with OleDb application but not here. Is there any another …

Member Avatar for samir_ibrahim
0
733
Member Avatar for tabish saroha

Dear All, I I want to develop an application using java language. In this application i want to get data by scanning an image from scaner and put this data into database. Please anyone can help me in this article.... Regards, Tabish Saroha

Member Avatar for JamesCherrill
0
1K
Member Avatar for Praveen_10

namespace gridStudent { public partial class Form2 : Form { public Form2(DataGridView dgvFromFom1) { foreach (DataGridViewColumn dc in dgvFromFom1.Columns) { dataGridView1.Columns.Add(dc.Name, dc.HeaderText); } foreach (DataGridViewRow dr in dgvFromFom1.Rows) { Object[] newRow = new object[dr.Cells.Count]; for (int i = 0; i < newRow.Length; i++) { newRow[i] = dr.Cells[i].Value; } dataGridView1.Rows.Add(newRow); } …

Member Avatar for ddanbe
0
241
Member Avatar for mattybennett

Hi all, Ok - there's nothing like a BIG challenge to start off my exploration into programming. Given that I'm a complete newbie with more build errors than a builder having a bad day (bad pun!), what I'm really looking for is someone to hold my hand a bit and …

Member Avatar for joel.queiroz
0
2K
Member Avatar for ravi_14

**The special rules for inline functions require that they be defined in each file in which they are used.The easiest way to make sure that inline definitions are available to all files in a multifile program is to include the inline definition in the same header file in which the …

Member Avatar for L7Sqr
0
207
Member Avatar for myk45

Hello All, Well this is not exactly a C++ question. More of a math one. But I've seen many guys work on GameDev in this forum. So, posting it here. Here it goes: I was reading an article to check if a point in view frustum and i read some …

Member Avatar for myk45
0
426
Member Avatar for castajiz_2

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 a month ago a asp.net built website I didn't have any problems whatsoever. Now I'm facing problems and always getting …

Member Avatar for JorgeM
0
2K
Member Avatar for CreeperFace22

Im new to Java and when tring to get some textures into my game I got this error stated ImageIO cannot b resolved. Here is my code: import java.applet.Applet; import java.awt.Graphics; import java.awt.Image; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; public class gameLoop extends Applet implements Runnable, …

Member Avatar for stultuske
0
295
Member Avatar for Bin_2

hi all! it might look similar to previous question but actually different.. i'm trying to calculate stock value. for this i want to use "average last purchase value" of item. like if closing stock is 14 and purchase detail is like this 2014/2/2 15pc @ 38000 2014/2/15 5pc @ 36000 …

Member Avatar for Bin_2
0
2K
Member Avatar for iamthwee
Member Avatar for cereal
0
354
Member Avatar for avijit_mitra

Imports System Imports System.IO Imports System.Text Imports System.Collections.Generic Class Program Public Shared Sub Main(ByVal args As String()) ' Set a variable to the My Documents path. Dim mydocpath As String = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) Dim sb As New StringBuilder() ' Enumerate the files in teh My Documents path, filtering for text files …

Member Avatar for Asskilled21
0
239
Member Avatar for mbowenitj

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 but I cant insert data to database. Following is my code: Try conn = New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Video Store\Video Store\DvDSystem.mdb") conn.Open() …

Member Avatar for mbowenitj
0
259
Member Avatar for kavi4u

hi, In my c # Sharp application, i want to use the arrow key as a short cut, if i press left arrow means the cursor has to move to the left side text box , if i press the right arrow key means the cursor has to focus the …

Member Avatar for vaynenick
0
2K
Member Avatar for Slavi

Before I even attempt doing anything in this direction, is it possible to enter a string and get it represented in ascii? I am reading an article about XSS and SQL injections part of a course that I am taking now, and some of the tips are that people in …

Member Avatar for Slavi
0
181
Member Avatar for davy_yg

Hallo, I wonder how to create a test maker with a php script. I have an elearning project and I have to create a test maker quiz project. Such as multiple choice and fill-in the blanks. How any free script like that? Thanks in advance. Davy

Member Avatar for veedeoo
0
258
Member Avatar for shivakr

hi... i am shiva i learned strut2 and i would like to develop a web application so anybody suggest me a design or some type of thought about the application.. i would like to test my struts skills on it.. so suggest me any idea for developing wep application..plz i …

Member Avatar for happygeek
0
195
Member Avatar for jakizak

I am having the most horrendous time searching for this. I swear I have trawled the web 10 times over. All I need is to get the URL of the link that has been clicked on, and open it in a new form window that is maximised with a web …

Member Avatar for cgeier
0
171
Member Avatar for davy_yg

Hello, I try to input messages like: <p>An Online learning platform to connect student in South East Asia to learn Chinese Mandarin with Professional Native teacher LIVE from university in China, combined with flexible scheduling, multimedia learning materials, and certification</p> <p><img src="file:///C:UsersToshibaAppDataLocalTempmsohtmlclip1�1clip_image002.jpg" style="height:235px; width:346px" /></p> Unfortunately the all pictures is …

Member Avatar for almostbob
0
231
Member Avatar for mbowenitj

Hy guys, . Please assist in advicing whch toolbox conncetion controls to add in my form. I want to connect to access 2007 using vb.net 2005 and im struggling. I have two textboxes(username and password) and two buttons(submit and cancel). When I click on the submit button it supposed to …

Member Avatar for mbowenitj
0
297
Member Avatar for mbowenitj

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 tring to log into the database using the below connection string....... (i only get the catch message box error)... Plz …

Member Avatar for mbowenitj
0
285
Member Avatar for mbowenitj

Hy guys, Please assist in advcicing which toolbox connection controls to add in my form. I want to connect to access 2007 using vb.net 2005 and im struggling. I have two textboxes(username and password) and two buttons(submit and cancel). When I click on the submit button it supposed to allow …

Member Avatar for mbowenitj
0
377
Member Avatar for iamthwee

Good morning dudes, I have a little issue, I have a rich text editor but on copy and pasting it retains a lot of the gunk, unwanted fonts classes. It is even worse when copy and pasting from microsoft word. Here are some of the things I want: * To …

Member Avatar for diafol
0
333
Member Avatar for iamthwee

So I'm becoming very familiar with codeigniter now and loving it, but I'm just wondering about the migration (for db tables and structures) class and how you would use it. Is it actually useable in a real world example. It sounds great in theory but I'm unsure. Can someone clarify …

Member Avatar for veedeoo
0
133
Member Avatar for صمتي
Member Avatar for Hiroshe
0
217
Member Avatar for LiBOC

Hi, I am using MS ACCESS. I want to validate a particular field. To check whether if its a valid email address with a @ So anyone have tutorials or website to reccomend or even reply off hand with the expression to check for @ in a string? Thanks alot.

Member Avatar for Nadosh
0
8K
Member Avatar for Nikhil_4

This code was to create a simple database with a table and add records with the following. toIm having trouble with the 'id' auto_increment. <?php $con=mysqli_connect("localhost","root","distortion","my_databs"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } // Create table $sql="CREATE TABLE empl(ID INT NOT …

Member Avatar for andrevanzuydam
0
4K
Member Avatar for Varunkrishna

Hi all I have a simple login form with Username and password as fields when the user clicks the login I wish to check the xml whether the username and password is present in the xml. How do I do this, could someone please give me some ideas ? My …

Member Avatar for cgeier
0
1K
Member Avatar for Bedhoel

Hello World, I have a problem. I want show 2 images or 2 link videos or 1 images 1 link videos together but image/videos not appear, because 2 difference class. class "img1" and "img2" #image <img alt="" title="" class="img1 or img2" src="images/<?php echo $vx->picture?>"> #video <a href="http://www.youtube.com/watch?v=<?php echo $vx->video?>" class="img1 …

Member Avatar for Taywin
0
207
Member Avatar for rowen_1

I need to print the output whereby when int x = 1, it will be show the first 4 elements in the arrayList. int x = 2, it will be show the first 6 elements in the arrayList. int x = 3, it will be show the first 8 elements …

Member Avatar for JamesCherrill
0
274
Member Avatar for supermastereu

Intend to carry out a simple online and print invoice to pdf. Suggestions are accepted ...

Member Avatar for NuGG
0
113
Member Avatar for صمتي

I want to order this program by name in descinding order. #include <iostream.h> #include <stdio.h> #include <conio.h> #include <string.h> #define MAX 10 struct std{ char name[20]; int age,year; }; class radixsort{ struct std arr[MAX]; int n,i; public: int a[]; int b[]; void getdata(); void showdata(); void sortLogic(); }; void radixsort …

0
160
Member Avatar for bobgodwin

I need to find the largest height & width values in a directory. I've tried to use: if ($handle = opendir('path/to/image')) { while (false !== ($file = readdir($handle))) { if (preg_match('/(jpg|gif|png)/', $file )) { $images[] = $file; list($width, $height) = getimagesize('path/to/image/'.$file); $max_w = max(array($width)); $max_h = max(array($height)); } } closedir($handle); …

Member Avatar for veedeoo
0
387

The End.