199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for arsh_arsh

i have a problem in which i have to remove char from strings by sending one string and char ata time to a function. in the below code it works fine for first string but for each successive string initial characters are not passed ..like for second call first chatcter …

Member Avatar for gerard4143
0
111
Member Avatar for alexa868

Hey guys... I want to write a program that transforms numbers into letters and letters into numbers... for example 20 would be transformed into twenty I have this but I don't know what's missing or what's the problem... help please [CODE]#include <iostream> #include <string> using namespace std; using std::string; void …

Member Avatar for rati
0
147
Member Avatar for veledrom

Hi, Code below returns this. [code] Array ( [0] => 3 [id] => 3 [1] => John [name] => John [2] => Goog [surname] => Goog ) [/code] Everything repeated. Why? Also, I need to serialize. I need it for some other reason. [code] $sql="SELECT * FROM friends WHERE id='3'"; …

Member Avatar for network18
0
95
Member Avatar for kapcom01

How do i stop the following thread? [CODE] from threading import Thread from scapy.all import sniff class SnifferThread(Thread): def __init__ (self,filter): Thread.__init__(self) self.filter = filter def run(self): sniff(filter=self.filter, prn=self.pkt_callback, store=0) def pkt_callback(self,pkt): print pkt.sprintf('%TCP.payload%') if __name__ == '__main__': sniffer = SnifferThread("tcp port 80") sniffer.start() #here i will make a GUI …

Member Avatar for kapcom01
0
1K
Member Avatar for hdk

hi, Please could you help me with displaying the png image file I am saving. I want it to display just after it is saved so within the same function onPLOT [CODE]import wx import cx_Oracle import datetime import wx.grid import csv import numpy as np import matplotlib.pyplot as plt import …

Member Avatar for hdk
0
1K
Member Avatar for iraberyl

hi, got a new prob, how can i create a php page that automatically refreshes each time i access the page.

Member Avatar for iraberyl
0
153
Member Avatar for shibbard

Hi all, I have a single table with both parent and child nodes, and each has an order number in it. I am trying to write a single query to output them in order, its for a navigation list with categories and sub-categories. I could manage it in code rather …

Member Avatar for shibbard
0
120
Member Avatar for Clawsy

Hi I'm making a login panel which sends data to the same page and I use a class made by me and called 'user' that stored user information and autentification. When I refresh the page I check if any session was created before (it was created at first successfull login …

Member Avatar for darius_#2
0
240
Member Avatar for tkud

hey, everyone. I am still learning templtes and I have 2 questions: 1-Why is it that all the examples of templates I have seen are about arrays?Is that all templates are used for? 2-after pondering about the above question, I decided to try something else witha template..a generic unction. However …

Member Avatar for tkud
0
100
Member Avatar for kent01981

How to store string words into individual variable For example: string str1(“Today is a very nice day!”); [B] then we need to store[/B] string s1 (“Today”); string s2(“is”); string s3(“very”); string s4(“nice”); string s5(“day”) Thanks a lot!

Member Avatar for jbennet
0
3K
Member Avatar for phpangel

Hi guyz, i'm aiming for a php and My SQL dabase website, can anybody guide me plz? appreciate the help:)

Member Avatar for GL.Za
0
175
Member Avatar for shishtawitch

hi, i am trying to upload an image with comment......!! mycode is like below...... if($_POST){ getting posted variables for comment mysql_query(adding into database); if(image is posted){now getting image variables mysql_query(inserting into database); } } if works fine for me but problem is that i have two different tables one for …

Member Avatar for network18
0
85
Member Avatar for firoz.raj

i have place Masked # # # # # # # # # . and i have put MS Sans Sarif Font But it is not going in the Boxes Properly Kindly let me know the Idea.Kindly find the attachment also.and kindly let me know any way.So that Amount as …

Member Avatar for AndreRet
0
99
Member Avatar for ceyesuma

The name of this question is oracle project Hello and Thank you in advance for any assistance. [B] System info: [/B] I presently use Netbeans6.7,MySQL,glassfish to work with learning JSF and java apps etc. [B] The Purpose of this post is: [/B] I recently was presented with a tutorial to …

Member Avatar for ceyesuma
0
180
Member Avatar for deepas

How can selected date could be entered in the web form using c#.net 2005, and show the calender icon instead of the actual calender size that we add from toolbox... any samples done on it is apprecited...thanx

Member Avatar for avirag
0
83
Member Avatar for aman rathi

helllo last day i did program related to recursion that is factorial of numbers i red lot of books in my library but i found only this program only in every book. i also thought lot on recursion but i did not find any more program please can anybody tell …

Member Avatar for Cmad
0
119
Member Avatar for Muazam

Why doesn't this work? I choose English and it doesn't do anything... neither does Norsk work. Anyone help please, thanks. [CODE]<?php //nodag = Norwegian day //endag = English Day // dag = day if(!isset($GET_['ok'])) { //start if ?> <form action="" method="get"> <select name="lan"> <option value="eng">English</option> <option value="no">Norsk</option> </select> <input type="submit" …

Member Avatar for network18
0
151
Member Avatar for vamsivizag

hi i have a plotted a graph in zedgraph and i had a problem that the line was stopped in the middle and not completely drawn. I have thought that i have not completed the zed graph point pair list. But when i checked it programatically it was completed and …

0
78
Member Avatar for The Champ

[CODE]L = [ 0 , 2, 1 , -1 , -1 , -1, -1 ] for i in L: if i <= 0: L.pop ( i ) print L [/CODE] What I was expecting was that L = [ 0, 2, 1 ] but the result was [ 2 , …

Member Avatar for snippsat
0
128
Member Avatar for jeffrey4u

can anyone help me with the code. am trying to import the content of an excel sheet to my access database using common dialog in vb6. i tried this code below but is not working ........ [CODE] Private Sub sLoadExcel() If CommonDialog1.FileName = "" Then Exit Sub Dim exc As …

Member Avatar for AndreRet
0
780
Member Avatar for futhonguy

I would like to make some query using the SELECT function. However i wasnt able to get the results i want. My code is as follow: [CODE] $sql = "SELECT * FROM device WHERE ((device_num like '%$val_d%') OR (dib like '%$val_dp%')) ";[/CODE] can i write it in this way? pls …

Member Avatar for network18
0
90
Member Avatar for sentinel123

Hello. This time it might be a bit more complicated. [CODE] def start_game(): global no_winner no_winner = True rows_cols() global board board = make_board() print_board() player_select() def rows_cols(): global rows global columns rows = int(raw_input('Height: ')) columns = int(raw_input('Width: ')) if rows < 4: rows = 4 if columns < …

Member Avatar for sentinel123
0
316
Member Avatar for kegathor

Hi, I have an insert statement that i need to refine...basically I need to trim the first couple of letters of whats trapped inthe field. so e.g. Z:\aaa\1.jpg needs to become aaa\1.jpg Im tried this but its not working [CODE]sImagelink = mid(request.form("Imagelink"),4,len(request.form("Imagelink")))[/CODE] any ideas?

Member Avatar for kegathor
0
120
Member Avatar for mshravs

i need to print the form in asp.net using vb coding. anyone can help by providing me the code for printing the form, using vb code thanks a lot

Member Avatar for Kusno
0
113
Member Avatar for farhan0795

Problem Statement: Merging and Sorting of character arrays You are required to write a program that takes character values in two different arrays as input from user. After getting input, make a third array and merge both these array in third array. Output array must be sorted in ascending order. …

Member Avatar for mrnutty
0
126
Member Avatar for MooAndStuff

Hey guys, first of all thanks for the time to even read this. Basically, Ive had some trouble in figuring out how to get this operator overloading to work. I think I'm having trouble in the functions calls that are within this function. These functions that are giving me trouble …

Member Avatar for MooAndStuff
0
108
Member Avatar for kitty7

Okay, well, I got my Address Book project done on time :) My current project is to turn it into a class. I have been working on this for a while and I keep getting set back to square one. My biggest problem is with writing some sort of user …

Member Avatar for jyoti bansal
0
227
Member Avatar for shashikant.v

hi friends when i am running my programe on cmd in C:\Programe File\jdk1.6.0_14\bin I got the message that file name.java uses or overrides a deprecated API . Recompile with -Xlint: deprecation for details . what it meant how it will solved . please help me thanks in advance for reply …

Member Avatar for masijade
0
204
Member Avatar for hallwayantics

I'm a first time Java programmer and I'm having trouble compiling/running code. I installed jdk and I'm using windows XP MCE. I can get javac.exe to create a .class file but when I try running it with java.exe I get an error Please help. Thanks! [URL="http://img121.imageshack.us/img121/6788/javanowork.jpg"]http://img121.imageshack.us/img121/6788/javanowork.jpg[/URL]

Member Avatar for Makoto1981
0
192
Member Avatar for omotoyosi

Hello all, I have a form of 4 tabcontrol, I want to put the next button on each tab so that when the user press it, it goes to the next tab. How will i do that. Please, help me out.

Member Avatar for se_raja_in
0
3K
Member Avatar for george_82

//The below mentioned code is not working on my C compiler.The //errors im getting is :(1)Extra parameter in call to_ inport b_. //(2)Too few parameters in call to "outport".(line 25) //(3)Not an allowed type(line 25) [code=c] #include<stdio.h> #include<conio.h> #include<dos.h> void main() { char data; int choice; clrscr(); printf("Enter the choice …

Member Avatar for Ancient Dragon
0
170
Member Avatar for mrjoli021

Why doesnt this code work. I keep getting false even when i type in the correct username and password [code] $user_name = mysql_query("SELECT * FROM users WHERE username = '".$Entered_UserName ."' AND password = '".md5($Entered_PassWord) . "'"); $user_name_password = mysql_fetch_assoc($user_name); if($user_name_password === false) { echo 'false'; } else echo 'true'; …

Member Avatar for cwarn23
0
110
Member Avatar for Rishi_Hamza

I am trying to import mails from Outlook to my Database during execution of code it is throwing the "Excepiton ComException unhandeled by User Code" [COLOR="Red"]Array index out of bounds[/COLOR]. it was working fine in the biggening but suddenly start throwing this exception. Here is my code [CODE] try { …

Member Avatar for kvprajapati
0
278
Member Avatar for glendavis

I have a servlet that gets a parameter that tells it which operation to carry out. in the servlet, i have if statements that check if the parameter is a certain number (1,2,3). I use getParameter to get the parameter as a string but somehow it does not go into …

Member Avatar for masijade
0
104
Member Avatar for applebiz89

I have a webform for users of the site to insert information about theirself and then an image. However I don't want to save the image into the database as it will slow everything down...is there a way to save the image to my hardrive then create a link in …

Member Avatar for network18
0
85
Member Avatar for sebassn

Hey guys, I'm just doing this code to see if it works where the user inputs a name and it outputs a menu where different options can be chosen. For example, if the user press 1 the outputs of the name is reversed, if 2 is pressed the name is …

Member Avatar for sebassn
0
88
Member Avatar for dominion

I'm using Visual Studio 2008 express and I'm simply trying to put my source in different files. I have my Definitions in my .h file, my definitions in my cpp file, and my main.cpp file. I thought this was the correct way of doing things but the linker still has …

Member Avatar for Ancient Dragon
0
105
Member Avatar for ShailShin

Hi All, I have to convert Excel data to MSAcess .MDB file using VB.NET. VB.NET Code read the Excel fi;le and write ti to .MDB file. For the same I have below code, but I am stuck at the writing it to .MDB file which I have already created with …

Member Avatar for bk_bhupendra
0
940
Member Avatar for levsha

I have an HTML form with three dropdown selects: month, day and year. I have four fields in my MySQL table: month, day, year, and date. The 'date' field is supposed to contain the concatenated values of the year, month and day separated by dashes. I write this in my …

Member Avatar for levsha
0
76
Member Avatar for earlofroberts

I am using .net 2005. I have created a GridView with one column having a command button. The DataAdapter, DataSource, DataSet were created in code, not with wizards. When the command button is clicked, I can't figure out the syntax for retreiving the value from the first cell in the …

Member Avatar for cynix008
0
101
Member Avatar for ceyesuma

The name of this question is Hello and Thank you in advance for any assistance. [B] System info: [/B] JSF,netbeans6.7 [B] The Purpose of this post is: [/B] My first successful JSF app. If someone wants to check it out. Found at: [url]http://cid-b5cb457363230793.skydrive.live.com/self.aspx/.Public/guessNumber.zip[/url] [B] The functionality of this code is: …

Member Avatar for ceyesuma
0
145
Member Avatar for get2tk

pls help me, i am new to asp.net.pls what is the easiest way of starting?i need to design a website using asp.net

Member Avatar for jbennet
0
160
Member Avatar for 1qaz2wsx7

Hi :) I want to click on a button and open the mail box so i can put message and send it, how can i do that ? Thanks.

Member Avatar for Seema
0
2K
Member Avatar for imolorhe

how do you make sure that when you maximise a form in vb, the controls in it are also maximised. Thanks for the help.

Member Avatar for abu taher
0
101
Member Avatar for C++ Beginner

Heres the homework problem: Write a program that displays the status of an order. The program should have a function that asks for the following data: 1. The number of spools ordered 2. The number of spools in stock 3. If there are special shipping and handling charges (Shipping and …

Member Avatar for sfuo
0
3K
Member Avatar for python user

hello, me again. When ever I try to add pictures it WONT LET ME ADD THEM. i download them, type all the code, and no image shows up at all. Can someone tell me how to correctly do it. do i have to define the code that imports pictures?

Member Avatar for vegaseat
0
114
Member Avatar for SteveTheRed

Hello, I'm refactoring a C++ program into a Java program (yes, it's homework). I have a problem where I add objects to an ArrayList of type Student, but when I try to access the objects, every valid index returns what should be only in the last element. For the sake …

Member Avatar for SteveTheRed
0
1K
Member Avatar for scott6480

I get the following error when I try to compile this code. Can anyone help me make sense of this error? I have tried defining keystroke as a string and a char, I get the error either way. 1>------ Build started: Project: Register, Configuration: Debug Win32 ------ 1>Compiling... 1>Register.cpp 1>i:\c++\register\register\register.cpp(121) …

Member Avatar for kvprajapati
0
573
Member Avatar for dupinoz

hi there, im sorry if this has been posted before i have searched through the threads and have not found what i am looking for, however it is entirely possible that i have missed it, i have spent the whole day looking at search results and basically i need some …

Member Avatar for langsor
0
151
Member Avatar for persianprez

How do I center my text in python? I have a title and a description, and wan't to center it all in my output.

Member Avatar for Stefano Mtangoo
0
106

The End.