199,112 Archived Topics
Remove Filter ![]() | |
I am trying to create at user search for my website and I'm not sure where to start. My table name is users with user_id, user_name, name I'd like to be to search and have a page come up with the top 5 closest results. Sorry if this question has … | |
I can run the program and step through the code and it is showing the right query data, but whenever the process is complete the changes are not committed in the database, I am needing to change teh value of grouping with this web app but the changes are not … | |
Hi All, I have a vb net program that shows a datagridview which pulls data from a mySQL database. When the user clicks on a row (I am checking for a 'cellclick' event), a text box is filled with data from a hidden column in the datagridview. This works fine … | |
Hello, I am learning classes, and find it a bit difficult... :-( Mine intention is to add subject(predmet) and mark to the objet janko but if I search in self.predmety, I get False, means that it can't recognise predmet in self.predmety list State of self.predmety is as folloving: [<__main__.Cpredmet instance … | |
I'm study Compressing and Decompressing Data Using Java APIs from [url]http://java.sun.com/developer/technicalArticles/Programming/compression/[/url] but when i compile this example: [CODE] import java.io.*; import java.util.zip.*; public class UnZip { final int BUFFER = 2048; public static void main (String[] args) { try { String fileName = "your zip file" //but your zip file … | |
Hi, I'm having issues getting the datepicker to display. I've done quite a bit of research on it and found other people have had the same problem but I tried their fixes and it still doesn't work. The page is here [URL="http://www.purpleblaze.com.au/test%202/"]http://www.purpleblaze.com.au/test%202/[/URL] I'm really struggling on this and I've spent … | |
Hi! How can i remove from a file a spesific line which includes "abc" string by using RandomAccessFile libary? Thanks | |
hi friends.. I need an alternate query without using UNION for below query.. [CODE]select DIST_NO from acquired_tbl WHERE FOLIO_NO='l01917' And STAT_FLAG <> 'Matched' union select DIST_NO from transfrd_tbl WHERE FOLIO_NO='l01917' And STAT_FLAG <> 'Matched'[/CODE] | |
#Guess my number #The computer picks a random number between 1 and 100 #the player tries to guess it an dhte computer lets #the player know if the guess is too hight, too low #or right on the money import random print "\tWelcome to 'Guess My Number'!" print "\nI'm thinking … | |
Simple question: is it a performance issue or bad form to have if statements without a else following? As an example, an event that is triggered when a listbox selected index changes depends on the selected index value to run, and during the change, the value switches from some integer … | |
Hi There i am developing a little Game Center (console application) for school. The Tic Tac Toe (singelplayer and Multiplayer) is already done. Now i want to develop a snake. When i test the snake, i get a force close. When i use a debugger, i have a SIGSEGV Error. … | |
Hi all, I have dropdown in html consisting value country name. Instead of entering country name one by one into the mysql table I want to transfer by php programming . Is it possible ? If so ,any one can suggest....... Thanks in advance. Subrata | |
I have searched high and low for an answer to this question and the answers I have found don't generally apply to what I am looking at and was hoping someone might have some suggestions. I have a form that is bound to a dataset that retrieves its data from … | |
Ok so for some reason I can't get the current item I selected in my datagrid to display on my textboxes I'm new to vb net and programming itself so please bear with me. here's my code: [code] Imports System.Data.OleDb Public Class Form1 Dim con As New OleDbConnection Dim ds … | |
I am using C# on visual studio 2010. i have tried downloading a spreadsheet from yahoo by finding the location of the download and then using: [CODE] WebClient wc = new WebClient(); wc.DownloadFileAsync(uri, filename); [/CODE] for the example i tried taking apple as an example: [CODE] Uri uri = new … | |
This is my Vb.net Project for company i want to generate code for each individual slip so that i get one field as unique field for that i want to use date & slip no to generate unique key. i have attached screen shot my project in this date 21/12/2011 … | |
ok so i have an array like this which contains an id, a myState of type State and pointer next which points to the next id [CODE] struct PCB { int id; STATE myState; Process *next; }; [/CODE] i have the following function which should decrement all the current values … | |
I have 2 tables: 1. users - user_id(PK), firstname, middlename, lastname 2. user_shift_schedule - shift_code(PK), user_id(FK), effectivity_date I want to get all rows with the latest effectivity_date for each user_id. This is what I've got so far: [CODE]SELECT users.user_id ,users.firstname ,users.middlename ,users.lastname ,user_shift_schedule.shift_id ,MAX(user_shift_schedule.effectivity_date) FROM users JOIN user_shift_schedule ON users.user_id=user_shift_schedule.user_id … | |
Hello all! I want to ask you , how to pass variable, there's the example: I have variable String X in pageone.jsp then i open a new tab page to pagetwo.jsp (using JavaScript window.open) , Is it possible to use the variable X (from pageone.jsp) in pagetwo.jsp ? Please Explain, … | |
Hi everyone, I have a form with one combo box and text box and buttons. please refer the snapshot with i have attached. I have the following code: My Stored Procedure for inserting the data: [code] /* Name: usp_InsertBranchSetup Description: Insert the Record to dbo.hrBranchSetup table Author: Tashi Modification: Insert … | |
hey everyone. i am creating a seating system using php. it is to determine which people to their seats in the event. the problem is if I want to visualize the position of the seating using pictures in php is it possible? if yes, how can i do this? The … | |
![]() | [CODE] <?php // initiate curl and set options $ipin = '69.72.129.3'; $ch = curl_init(); $ver = 'v1/'; $method = 'ipinfo/'; $apikey = '100.hva7qa7893wzcsc3x8dk'; $secret = 'uHZVvYK5'; $timestamp = gmdate('U'); // 1200603038 // echo $timestamp; $sig = md5($apikey . $secret . $timestamp); $service = 'http://api.quova.com/'; curl_setopt($ch, CURLOPT_URL, $service . $ver. $method. … ![]() |
Hey, Im trying for a message box to pop up with a price, depending on the time. Before 11:30 costs £3.00, afterwards costs £4.50. This is what i have tried but it this code gives me the message for £3.00 when the time is over 11:30 [CODE] Dim day As … | |
hi, i have written a small form application in c#. I have enabled shortcut key by using low level keyboard hook to give focus to application when needed. All is working fine, I press the short key i.e. LControlKey+LControlKey for the first time the application get proper control. But when … | |
Good day everybody i am wanting to make a new application, an application for sales, but i don't know where to start, any ideas? i want to make an sales application with charts, stock sales, ... and all functionalities(add sales, modify, delete, ...). What an enterprise or a business need? | |
Hi All; Im just making a simple Desktop app. Ive got a need so that the user could be able to add data to the table dynamically. Ive done implementing the table and also code for adding rows. Issue is after i add the row it is not displayng in … | |
hello all I use notepad++ to create my code I use dos command to javac the code some times when there is error in my code the the dos console shows many lines of error message my question is : if the error lines's message is 100 lines or more … | |
I'm teaching pointers to myself through my book and I'm stuck on one of the practice problems. Here it is: [CODE]//What is the output of the following C++ code? int x; int y; int *p = &x; int *q = &y; *p = 35; *q = 98; *p = *q; … | |
Hi Forumer's, I have 3 tables, my objective is to compare the returndate from receiptdate and trandate and get the most recent receiptdate or trandate based on returndate. [CODE] Create Table #USPRODUCT (ESN Nvarchar(35), returndate datetime) Insert Into #USPRODUCT (ESN, returndate) Values ('268435458805382753','2011-04-21') Insert Into #USPRODUCT (ESN, returndate) Values ('268435458805382753','2011-08-08') … | |
hi. can anyone here tell me how can i allow certain characters only into a text box. for instance, a user can only input from these three letter (ABC) thank you so much. | |
Hi all, I am trying to separe my data DNA because it has a lot of name. It has about 43 litte file in one data. I made the small script to solve one name of data but I did not succes. The result was not enough. My script is … | |
hi every one I have a exercise when i going to use boolean. Im need to do 3 intergervaribals var1 var2 var3 and then i get same claim im going to get in to it like one of it is: The number var1 is evenly divisible by 7. i figuer … | |
Hello, could someone explain recursion to me? It would be much appreciated! | |
Hi, I need some help how to loop in ms cobol 2.20,inorder i can input 5 times. after displaying the customer name and address.i am going now to input the itm-no. but i find difficulties on it. here is the scenario. If i will input the itmno if it is … | |
[code=c] #include <string> #include <vector> #include <iomanip> #include <istream> #include <fstream> #include "...\myUtils.cpp" void inputCases(string[], vector<double>); void inputPrice(string[], vector<double>); void displayReport(string[], vector<double>, vector<double>); using namespace std; int main() { double tmpCases, tmpPayRate; vector <double> cases; vector <double> payRates; ofstream file; file.open("salsaCase.txt"); string tmpName[5]; tmpName[0]="Mild"; tmpName[1]="Medium"; tmpName[2]="Sweet"; tmpName[3]="Hot"; tmpName[4]="Zesty"; char mans=0; … | |
I just started learning asp.net and i started with the hello world program.. i followed these steps.. 1) installed IIS server on my windows 7 ( but only installed , i dont know if it has anything to do with my program) 2) installed visual studio 2012 3) then in … | |
The error : syntax error, unexpected T_STRING But I checked all string objects and they worked separately.. [CODE]mysql_query("INSERT INTO downloadlogs(id, name, ip, time) VALUES('" . $Gid. "', '" . $nFile . "', '" . $IP . "', '" . date("l jS \of F Y h:i:s A") . "')")or die(mysql_error()); [/CODE] … | |
Problem Fetching foreach 100000 record from sql 2008 Performance problem,Browser hanging Automatically. Any one know alternative solution. foreach (var TBL_Inventory_Combined in I_Class.Take(maxItems_ci)) { } | |
hello all, I have a question about assigning variables values based on values stored inside an sql database. I have the connection part down, but here is my basic set-up. I have a table with the values {username, password, isAdmin}, where username and password are strings and "isAdmin" is a … | |
![]() | if i have a dictionary like this {ric:24, ric1:46, ric2:23, mike:1, mike1:47} and have a list that has 'ric' and 'mike' how do i get all the values whose key contains 'ric' or 'mike'? i want to ignore the last numbers |
Hello hi, My program is like this, PLEASE ENTER DESTINATION NUMBER: ( THEN USER INPUTS A SERIES OF NUMBERS LIKE 238947864) How do i play wav files of dtmf tones corresponding to the numbers given? i have used swith case, but it doesnt work. Only if one number is entered … | |
Hi, I have this program that uses OLEDB connection in order to import the excel sheet into datatable, now I am using windows xp and the server that I'm about to use would be in windows 7, what connection string do I need in order for me to connect to … | |
I have a DataGrid table like this: [img]http://ni8.upanh.com/b1.s24.d1/f869170161faa9e6ad2c272d6f66228e_40513398.capture.png[/img] How could I change the plain-looking arrows in the RowHeader into row number (Like 1,2,3...)??? Thanks for any help from you guys! | |
Hello I have been at this for a few days, and I have not figured it out but feel as if i am very close. I must create A program that takes a users input, then tells the user if that number is prime or composite, if composite it must … | |
Good day, I want to delete a record from a single table but some of the filed on sigle record is related to other table on my database. how would i delete it.. i used this script delete from faculty deptid = (select deptCode from dept) all i want is … | |
Hello all, I've been having an issue with php variables recently. I don't have much experience working with sessions, but I know that domain.com and [url]www.domain.com[/url] are viewed differently when working with sessions. The problem I have is with included files. I am calling .../logbook/header.php from ...logbook/Graphs/index.php. When I use … | |
Dear All, I have a database with two columns, to keep several files of text with lots of text lines in each text: ----------------------- |---name -|- Text---| ----------------------- I want the column |-name-| to be a primary key, and to upload the text file I'm using the command: [CODE] LOAD … | |
I have a Sudoku puzzle and I need to make sure that each row and column have each number 1 through 9. What is the easiest way of doing this? The code snippet that I have so far is below. public static boolean rowsAreValid(int[][] array){ for(int i = 0; i … ![]() | |
Hi, i'm doing a school schedule and i have this: [URL="http://desmond.imageshack.us/Himg13/scaled.php?server=13&filename=22875721.jpg&res=medium"]http://desmond.imageshack.us/Himg13/scaled.php?server=13&filename=22875721.jpg&res=medium[/URL] as you can see i have the times on the first column and that is from table "tempos_letivos". now i have a "schedule" table where is the hours of class of the courses, but in this table the cod_prof … | |
hi i am trying to make a hangman game and what ineed to do is when there is wrong answer to put pic of part of the hangman but dont no how to do it, here is my code thanks [CODE]int charPos = +1; String letter = ALetter.getText(); charPos = … |
The End.