199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for thecameraman

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 …

Member Avatar for thecameraman
0
594
Member Avatar for monkeybut

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 …

Member Avatar for thines01
0
122
Member Avatar for toomutch

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 …

Member Avatar for toomutch
0
250
Member Avatar for vlady

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 …

Member Avatar for vlady
0
92
Member Avatar for mohamed moamen

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 …

Member Avatar for mohamed moamen
0
337
Member Avatar for kimmi_baby

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 …

Member Avatar for baig772
0
2K
Member Avatar for dave_t

Hi! How can i remove from a file a spesific line which includes "abc" string by using RandomAccessFile libary? Thanks

Member Avatar for DavidKroukamp
0
1K
Member Avatar for kartisathis

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]

Member Avatar for pritaeas
0
74
Member Avatar for VinceW

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

Member Avatar for themoviegeek
0
332
Member Avatar for zachattack05

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 …

Member Avatar for zachattack05
0
1K
Member Avatar for tischn

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

Member Avatar for tischn
0
1K
Member Avatar for subrata_ushasi

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

Member Avatar for subrata_ushasi
0
146
Member Avatar for zachattack05

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 …

Member Avatar for zachattack05
0
524
Member Avatar for dweebmasterkun

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 …

Member Avatar for poojavb
0
967
Member Avatar for shush0606

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 …

Member Avatar for shush0606
0
120
Member Avatar for jigarsangoi

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 …

Member Avatar for poojavb
0
166
Member Avatar for ruval002

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 …

Member Avatar for WaltP
0
893
Member Avatar for cartergarth

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 …

Member Avatar for cartergarth
0
267
Member Avatar for nore

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

Member Avatar for javaAddict
0
244
Member Avatar for tashee2007

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 …

Member Avatar for tashee2007
0
160
Member Avatar for rahman86

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 …

Member Avatar for rahman86
0
410
Member Avatar for nova37

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

Member Avatar for nova37
0
232
Member Avatar for taylormsj

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 …

Member Avatar for oderbang
0
9K
Member Avatar for vikramaditya234

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 …

Member Avatar for vikramaditya234
0
150
Member Avatar for NewUserVB.Net

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?

Member Avatar for M.Waqas Aslam
0
109
Member Avatar for Zaad

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 …

Member Avatar for Zaad
0
1K
Member Avatar for dennysimon

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 …

Member Avatar for dennysimon
0
168
Member Avatar for yongj

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

Member Avatar for Eagletalon
0
184
Member Avatar for jovillanuev

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

Member Avatar for jovillanuev
0
163
Member Avatar for yeeitsneo

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.

Member Avatar for Cruize_Invades
0
379
Member Avatar for biojet

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 …

Member Avatar for biojet
0
158
Member Avatar for Sanna.1

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 …

Member Avatar for JamesCherrill
0
294
Member Avatar for pwolf

Hello, could someone explain recursion to me? It would be much appreciated!

Member Avatar for TrustyTony
0
214
Member Avatar for jemz

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 …

Member Avatar for jemz
0
157
Member Avatar for theBear

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

Member Avatar for Cruize_Invades
0
2K
Member Avatar for kunal_k66

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 …

Member Avatar for itzarun
0
140
Member Avatar for Warl30ck

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

Member Avatar for vaultdweller123
0
302
Member Avatar for shanmugaraj.c

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)) { }

Member Avatar for mani-hellboy
0
124
Member Avatar for atticusr5

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 …

Member Avatar for Reverend Jim
0
158
Member Avatar for apeiron27

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

Member Avatar for snippsat
0
74
Member Avatar for trinetra31

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 …

Member Avatar for trinetra31
0
186
Member Avatar for jbutardo

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 …

Member Avatar for jbutardo
0
236
Member Avatar for Eternal Newbie

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!

Member Avatar for Eternal Newbie
0
218
Member Avatar for geoffy0404

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 …

Member Avatar for WaltP
0
989
Member Avatar for cyberdaemon

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 …

Member Avatar for cyberdaemon
0
128
Member Avatar for grant.baker

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 …

Member Avatar for grant.baker
0
227
Member Avatar for softDeveloper

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 …

Member Avatar for softDeveloper
0
174
Member Avatar for rupes0610

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 …

Member Avatar for hfx642
0
312
Member Avatar for PF2G

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 …

Member Avatar for PF2G
0
87
Member Avatar for thepanther

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

Member Avatar for Ezzaral
0
458

The End.