64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Majestics

I have a string , i want to give it a blink effect ... is there any specific function for it .

Member Avatar for arpit_yadav
0
143
Member Avatar for bhavna_816

I have a table having columns like values, like this col1 col2 col3 1000 10 2 1000 20 3 1000 30 4 2000 10 5 2000 20 6 2000 30 7 3000 10 8 3000 20 9 3000 30 10 I want to fetch records like if i enter col2 …

Member Avatar for bhavna_816
0
74
Member Avatar for strus_jan

#!/opt/bin/perl $[ = 1; # set array base to 1 $, = ' '; # set output field separator $\ = "\n"; # set output record separator $FS = ';'; line: while (<>) { chomp; # strip record separator @Fld = split(/[;\n]/, $_, 9999); $id = $Fld[1]; if ($. == …

Member Avatar for strus_jan
0
98
Member Avatar for Diode

I'm trying to figure out how to parse options such as -h out of the arguments passed on the command line when the program is called. Here is my code so far. I compiled it with gcc -Wall -o options options.c and got no warnings or errors. Although, when I …

Member Avatar for Diode
0
102
Member Avatar for AUGXIS

help me.i woul like to make my access 2003 database be network database.im using vb6 as front end.thanks

Member Avatar for AUGXIS
0
84
Member Avatar for Expotential

I am trying to remove a list item in a listbox... the problem is I have to remove it by the what is visible to the user the program doesnt keep record of the index number in the listbox so we have the following in a list box Bob Fred …

Member Avatar for Expotential
0
187
Member Avatar for Jennifer84

I have a richTextBox where I am trying to replace all strings that look like this: "stringvec[11][12]". I have this for loop so far that would work if the string always had the same lentgh but the thing is that I will not know if the string also can look …

Member Avatar for Jennifer84
0
96
Member Avatar for Hercf

Hi everybody! I’d like to set up a dynamic “name” in coldfusion 8, with dreamweaver CS-3! I have 2 Cf checkbox forms: “my” , “your” and 2 Cf Image fields: “name”, “site”. Depending on selection, result must be: “myname” or “yourname”; “mysite” or “yoursite”. Could anybody give me a hint? …

Member Avatar for cmhampton
0
77
Member Avatar for sivaslieko++

I have installed eclipse and I need to learn JSP as quickly as possible.. I think firstly I need to install JSP plugin for eclipse but I could not find it. Do you have any suggestion for plugins? The syntax of jsp is similar to php or asp.net? or anything …

Member Avatar for peter_budo
0
90
Member Avatar for Run.[it]

Weve been given this example to work with and Im not sure about the line 9 [B][I]char cont = 'n';[/I][/B] - is there even a need for it? The rest of the program I understand. [code=c++] #include <iostream> #include <stdio.h> using namespace std; int main() { int no = 1; …

Member Avatar for Run.[it]
0
151
Member Avatar for rashmigs84

hi i got a problem regarding inserting value into database. i have 2 labels and one textbox.. but in database only one cell is there to store these three values.please let me know the solution for this.. thanks ....

Member Avatar for ravichandra
0
93
Member Avatar for rmurphy1061

I am having a problem reading a date format in a file I am trying to count the difference between two dates. the format I have is 010108. I tried to break up the date mmddyy but have run into other errors. [CODE=python]import datetime as dt # US format month/day/year …

Member Avatar for vegaseat
0
131
Member Avatar for quophyie

Can one of you gurus give me some help please. I am a new programmer so please bear with me. I have a header file called Deck.h and a cpp file called Deck.cpp. In my header file, I have a class called Deck which has prototype function called createPack as …

Member Avatar for quophyie
0
392
Member Avatar for Lensva

[code=c+] #include <iostream> #include <string> using namespace std; int main() { string a; cout<< "enter string" <<endl; cin>> a; string b; //======================================================== for (int j=a.size(); j>0; j--) { for (int i=0; i<a.size(); i++) { b[j]=a[i]; } } cout<< b <<endl; return 0; } [/code] i want the first character on …

Member Avatar for Lensva
0
124
Member Avatar for ¤| battousai |¤

Hello all, A few days ago I tried to use a mail script and recieved an error: "Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25....." Which was wierd because I had set the smtp server to my isp's mailserver. When I changed the smtp_port to 30, …

Member Avatar for ¤| battousai |¤
0
147
Member Avatar for bornok15

i have written a simple class for OOP in mysql and php and when i tested if even if the values that i used also in my normal connection process is the same the mysql won't connect me to it.. this is my class: [CODE] <?php class DBlink{ protected $link,$dbname,$uname,$passw,$db,$hname; …

Member Avatar for nav33n
0
133
Member Avatar for javagurlush

How To Filter Invalid(vulgar) words in JSP? when data was entered to a textbox it must not contain vulgar or bad words.The event is processed before data is saved and posted. Do I need to specify each word or there are some shortcuts for it? Can you give me a …

Member Avatar for peter_budo
0
317
Member Avatar for Ben10

Q- Use swapping concept to swap the elements of 1D array consist of 10 integers. Ask the user to enetr the values of array elements then print them out to the screen before and after swapping. e.g. a[0] ----> a[9] a[1] ----> a[8] a[2] ----> a[7] a[3] ----> a[6] a[4] …

Member Avatar for Ben10
0
214
Member Avatar for Iqbal_h_a

Hi All, I am struck with following problem. Please help me out. I have defined a Oracle procedure as follows. [code] PROCEDURE JOB_EXPORT IS cur CWTYPES.cursorType; l_nextdate DATE; -- JOB_NEXT_RUN l_interval VARCHAR2(64); BEGIN OPEN cur FOR SELECT JOB_NEXT_RUN, JOB_INTERVAL FROM JOB_EXPORT_CDRS WHERE ACTIVE_STATUS=1 AND JOB_INTERVAL IS NOT NULL LOOP FETCH …

Member Avatar for Iqbal_h_a
0
169
Member Avatar for bhakti.thakkar

hi all, Table 1: ID | COL1 1 | 1 1 | 13 1 | 64 Table 2: ID | COL1 1 | 14 1 | 13 Output needed: ID | COl 1 | 1 1 | 13 1 | 14 1 | 64 How will i accomplish this??? Thanks …

Member Avatar for bhakti.thakkar
0
81
Member Avatar for demroth

I am trying to match a string to see if it follows a given pattern. I have seen this example in my Orielly books but do not understand the logic. Here is the a small snippet of example code: [code=cplusplus] const string digits("0123456789"); const string float_digit = digits + '.' …

Member Avatar for Rajith Cherian
0
120
Member Avatar for bhavna_816

I have a function which have return type DataRow and the parameters for the fucntion are the parameters for the stored procedure. I have to execute the Stored Procedure with given parameters and populate the datarow so that the return will be the populated DataRow with the output of the …

Member Avatar for razool
0
337
Member Avatar for Barbarrosa

Hey, I am currently trying to read a text file, which looks something like this: 1 2 3 4 . . a b c . . . I would like to read the integers and characters into the same array. I tried using a char, string.. hoping that it would …

Member Avatar for shuban
0
94
Member Avatar for mcx76

I am trying to add FLASH(swf) file on site.But unable to do.Can be seen [URL="http://www.cravingcatering.com/osc/index.php"]here[/URL] white big space.Movie not loading. Or i place the swf on wrong place.Please guide.Thanks I use this file to update. [CODE]<?php /* $Id: languages.php,v 1.15 2003/06/09 22:10:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions …

0
82
Member Avatar for marcosjp

Hi there! I'm new to Java and just arrived at this forum. I hope I can get some help here - getting a little desperate. Well, I have to develop a small game in Java and in this game the user must be able to click on different spots on …

Member Avatar for marcosjp
0
158
Member Avatar for adnanius

Hi, I'm trying to 'reduce' a vector using the erase algorithm within a for loop. The idea is to scan a table looking for equal successive elements. Once equal elements are found, it erases one of the 2 elements. I'm suspecting a problem in the for loop, due to the …

Member Avatar for adnanius
0
302
Member Avatar for linux0id

Hello everyone! I am writing a function to multiply two matricies together. I have written a simple algorithm for a matrix 3x3 - [CODE]void multiply() { int a[3][3], b[3][3], c[3][3], i, j , p, val = 0; a[0][0] = -1; a[0][1] = 0; a[0][2] = 1; a[1][0] = 5; a[1][1] …

Member Avatar for linux0id
0
86
Member Avatar for jcato77

I am having trouble figuring out my code and was hoping someone could point me in the right direction. Below is my code what I need to due is create a method to add and display the value of the entire inventory. I have what I think is the correct …

Member Avatar for jcato77
0
150
Member Avatar for petersrin

I am very new to programming in general, and of course, it follows: to Python. Yet, I am in desperate need of a particular database program, and I am attempting to write it via objects, since I need to learn the ways of OOP anyway. I am currently trying to …

Member Avatar for petersrin
0
148
Member Avatar for sukhy_1

Hello i want 2add the name of the person who logged in at the top of the page, but the name comes from a SQL database called details, but the username and password is kept in another table called member they both are linked by id, this code below luks …

Member Avatar for Suomedia
0
87
Member Avatar for nikk

Hello friends, i've a "editAccount.jsp" page wherein i accept various details from users. And then check their input (Eg. Email field should not be blank)through a function in javascript. But my JSP does not check the input and directly stores the values in database(even if email field is empty) I …

Member Avatar for nikk
0
182
Member Avatar for Lukezzz

I know there is a function that if you put the mousecursor over a buttoncontrol, it is possible to have a litte "window" that occur over this button that tells what this button does. I have looked into the members and seen something like this. I am not sure if …

Member Avatar for Lukezzz
0
139
Member Avatar for resduq

hi everyone for my comp sci class i'm supposed to write a piece of code which will take in 10 ints and put them into an array of such size. unless the input is either a 3 or 7 in which case wats left of the array will be written …

Member Avatar for resduq
0
281
Member Avatar for Lukezzz

I have a general wondering about std::vector<string>. If you declare something like this, I have set 1 million elements to this vector. If I run this program just declare it like this without filling the elements with any strings. Does this take up any RAM memory just because I have …

Member Avatar for Lukezzz
0
155
Member Avatar for eloans

Fair warning, I'm new at this. I'm having trouble getting a submission form to work. The end result now is that it will submit, but the submission never reaches my e-mail. Please tell me what I'm missing from the following code. [code] <form method="post" action="mailto:phoenixsociety3806@yahoo.com"> <td align="left" valign="top" style="font-weight:bold;">YOUR NEONAME</td> …

Member Avatar for Ramy Mahrous
0
82
Member Avatar for Geekerz

Hi there, i'm from Malaysia. first of all, i would like to say that I'm quite bigginer in Java programming. However, I had released my own virus based on Java last month. I feel too stupid to release it. So, I need your help to open the door for me …

Member Avatar for StephNicolaou
0
126
Member Avatar for StepIre

Hi All, I am writing a little program that i should be able to get working i think! basically i have this file full of content and i want to search it for a list of words. And add to a score variable each time i find a word [CODE] …

Member Avatar for woooee
0
91
Member Avatar for ufonator

Hi, I have a problem with my implementation of Drag and Drop lists. Particulary I have 3 scrollable divs, which represent lists. The divs contain "LI s" which represent particular units. Code (ddHeader.php5) Header: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs"> <head> <meta http-equiv="Content-Type" …

0
118
Member Avatar for rje7

dear all, wat should i do to clear the input buffer stream? and also make me clear regarding flush and fflush. both do the same functions?

Member Avatar for rje7
0
111
Member Avatar for BluePaper

I'm using Visual Studio and I'm learning ASP.net, to learn I'm following the VWD Videos available on the Microsoft website. I watched one of the videos and the guy used a Global.asax file, I followed exactly as I did but at the top of the file where the [icode]<%@ Application …

Member Avatar for BluePaper
0
2K
Member Avatar for Dani

I am using an XSL document to pretty print my RSS feed. However, special characters don't parse - they appear within the feed as &nbsp; and &amp; What line(s) do I need to specify in my RSS and XSL XML documents in order to get these to work? It's my …

Member Avatar for aparvaiz
0
244
Member Avatar for demissew

As you know mysql is not compiled into php as of version 4, so you have to do some configuration for your php script to properly communicate with mysql server. I’m new to php/mysql development environment; at first everything was frustrating and you don’t get the help you require promptly. …

Member Avatar for peter_budo
0
134
Member Avatar for assgar

Hi I am trying to display appointments in a database and would like to display all appointments for a week. The time of the day appears on the left and vertical columns with the names of appointments on the right. The code below only generates a single column of names. …

0
83
Member Avatar for EnderX

I am working on a program designed to map a networked drive to a Linux Samba share. I have been requested to give the end users a way to select what drive they want to map. I know that some drives are off limits for use; (A:, C:, and the …

Member Avatar for Duoas
0
1K
Member Avatar for november_pooh

Hi all.... i m already got startup path and now i want to copying my exe file into startup. how i can do this?? please help me. any help will be appreciated

Member Avatar for Jx_Man
0
177
Member Avatar for jem00

Hey Guys, I have started using Visual basic 6.0 but i'm running into a few troubles. How can i write this psuedo code into visual basic: [CODE] BEGIN even and odd numbers PUT "Enter a number : " GET num even = 0 odd = 0 WHILE num <> -1 …

Member Avatar for Jx_Man
0
119
Member Avatar for rogelioz

Hi, I'm trying to save some data taken from a ISO-8859-1 encoded page into a SQL SERVER 2005. The problem I have is that when I retrieve the information and put it in a XML there are characters missing. I'm using the URLEncoder.encode method to escape the "bad" characters from …

Member Avatar for rogelioz
0
118
Member Avatar for Jennifer84

If I want to find the start and end position of the word "how" on these two rows in a textBox. Is there any other approach then substring each line or is it the substring method I am going to use. ? //text in textBox Hi, how are you good …

Member Avatar for Jennifer84
0
127
Member Avatar for RossSCann

I am now using Visual C++.net 2002 edition. My main ongoing project, an application that teaches the game of bridge, is now 350 K + llines of code, 95 % of which is application logic. The 5% dealing with GUI is just SDK for speed. I am just a retired …

Member Avatar for RossSCann
0
178
Member Avatar for Matt Scherer

What would I need to add so that I can return a count of the number of rows retrieved in the query? I am not sure where to include the COUNT (another query?) and then what syntax to use to print the result. thanks [CODE]$data = mysql_query('SELECT * FROM `bus_basic` …

Member Avatar for Suomedia
0
108

The End.