199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lobebe

I want [ICODE]<?php } ?> <?php if (isset($this->request->get['route']) && $this->request->get['route'] == 'information/contact') { ?> $('#tab_contact').addClass('selected'); <?php } ?> [/ICODE] to replace [ICODE]<a href="<?php echo $wishlist; ?>" id="wishlist_total"><?php echo $text_wishlist; ?></a>[/ICODE] How can i do this?

Member Avatar for lobebe
0
264
Member Avatar for Cross213

What's wrong with this code because I'm getting errors but everything looks fine though.

Member Avatar for Cross213
0
98
Member Avatar for jwala

I tried to broadcast an object using object serialization and UDP connection. I am using netbeans IDE and i use a Java Desktop Application for both sending and receiving ends.Obect is broadcasted when a button is clicked. And i get the following exception... Oct 29, 2011 1:50:04 PM receive1.Receive1View jButton1ActionPerformed …

Member Avatar for peter_budo
0
370
Member Avatar for jwala

I have a server to which clients are connected using TCP connection. All the clients broadcast to each other using UDP braodcasting.I want to disconnect one of the client from the UDP connections from server. what can be the possible ways to do this? please suggest.

Member Avatar for jwala
0
269
Member Avatar for munna_90

Hi , My requirement is user entered data needs to pass in to url Ex : user entered : Munna_90 The entered value has to be pass in to link http://details.orgnaistion/emp?function=directAccess&action=displayname="Munna_90" (user entered details) After clicked on submit button it has to redirect me to the full deials page of …

Member Avatar for munna_90
0
162
Member Avatar for flywheeljack

Hi there, Im new to vb and i am using visual basic express 2010. i have put together a database and can do quite a lot with the app i have created. i am not very familiar with detailed programming so i have created my update query thru the dataset …

Member Avatar for GeekByChoiCe
0
145
Member Avatar for mike2828

i need to Pass in three integers corresponding to an RGB value and use the appropriate Color constructor to set the background color. [CODE]import java.applet.*; import java.awt.*; public class AnAppletSubclass2b extends Applet { int r; int g; int b; //Color color = new Color (r,g,b); public void init() { String …

Member Avatar for PkayC
0
182
Member Avatar for ali11

I need help in creating a RPN calculator! I'm currently stuck in making a stack. here is my codes so for.This is my first time I am using stack. [code] import java.util.Stack; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.math.*; public class JavaCalculator extends JFrame{ Stack s = new Stack(); …

Member Avatar for stultuske
0
546
Member Avatar for varsha0702

Can any body tell me the difference between file descriptor and filepointer in C on linux? and when to use what?

Member Avatar for karthikvb17
0
460
Member Avatar for swissknife007

[CODE]#include<stdio.h> #include<conio.h> struct bnode{ struct bnode *child[5]; int count; int value[5]; }; typedef struct bnode node; node * root=NULL; void insert(int val); int put(int,node*,int *,node**); void fillnode(int ,node *,node*,int); int search(int,node *,int *); void insert(int val) { int i,flag; node * c,*n; flag=put(val,root,&i,&c); if(flag) { n=(node*)malloc(sizeof(node)); n->count=1;//setting count 1 n->value[1]=i;//setting …

Member Avatar for gourav1
0
576
Member Avatar for vinaysrk

when i login the page then it navigate to the home page and when i logout then i came back to the login page, the problem is that when i click the back button in the browser then the page navigate to the home page without login it..

Member Avatar for anand01
0
56
Member Avatar for python-noob

I am relatively new to python and am having a hard time with an assignment. We just started using dictionaries and I can't quite grasp what is going on. I am just having trouble figuring out where to even start exactly. This is the code my teacher gave me and …

Member Avatar for TrustyTony
0
2K
Member Avatar for lele07060

I really need help with the computer science class & the tutors at my school do not fit into my schedule. Would anyone be willing to help me with some of my labs?

Member Avatar for stultuske
0
104
Member Avatar for pseudorandom21

What is the equivalent of the "setw" stream manipulator for C++ in Java? I've been messing with the java.util.formatter class, but haven't figured this out yet? [url]http://www.cplusplus.com/reference/iostream/manipulators/setw/[/url]

Member Avatar for stevanity
0
141
Member Avatar for jinglylime

Hi how do you delete the input on the textfield after a button is pressed. Thanks

Member Avatar for jinglylime
0
73
Member Avatar for gyno

In my quest towards becoming a guru in [B]Web Development[/B] led me to start learning [B]Scripting[/B] few weeks ago and i started with [B]Javascript[/B] there is this video tutorial that i have on my drive which was putting me through, the going was good but i got stuck when some …

Member Avatar for jmichae3
0
124
Member Avatar for paresh_thummar

Hi friends I am learning GOOGLE API I got error : Invalid Signature Here my code Any body have idea And thx in Advance [CODE] function GetRequestToken() { $consumer = 'MY_CONSUMER KEY'; $secret = 'MY_COSUMER_SECRETE'; $callback = 'http://localhost/Gcontacts/welcome/redirection'; $sign_method = 'HMAC-SHA1'; $version = '1.0'; $scope = 'https://www.google.com/m8/feeds/'; $path = "/accounts/OAuthGetRequestToken"; …

Member Avatar for paresh_thummar
0
271
Member Avatar for ali11

I need help in creating a RPN calculator! I'm currently stuck in making a stack. here is my codes so for. [CODE]/** * * * */ import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.math.*; public class JavaCalculator extends JFrame{ private JFrame f; private JPanel p1,p2; private JTextField jtfMain; private JButton …

Member Avatar for JeffGrigg
0
294
Member Avatar for csMinorGirl

So I wrote C for newtons version of critical point calculator and then needed to turn it into mips for my lab.. I really could use some help on getting the stack ptr in the correct sport.. The debugger.. also is confusing me.. Any help please? .data msg1: .asciiz "Please …

0
160
Member Avatar for lbgladson

I wrote a program called Geometry that finds the volume and surface area of a sphere, cone and cylinder. I have to use JUnit 4 Testing to test the separate classes. I have written the following code but when I run the test it says it fails even though my …

Member Avatar for JeffGrigg
0
188
Member Avatar for MrNo

Ok so, I'm working on a program that is suppose to solve a function: (1+ (x^2) / sqrt(3x+6)) / (x^2 - 5x) As you tell by the function the denominator cannot be = to 0. So here's my code that I'm having trouble with. [CODE] #include <stdio.h> #include <math.h> int …

Member Avatar for MrNo
0
128
Member Avatar for pfm200586

hello everyone, I am trying to check each letter of a word if that word doesn't contain (AEIOUY) then I have to append (-way) to the end of the word. Now I have this if statement and it doesn't work: If OriginalWord.ToUpper Like "*[!AEIOUY]*" Then Label1.Text = OriginalWord & "-way" …

Member Avatar for Unhnd_Exception
0
110
Member Avatar for pelin

the question is a year is a leap if it is divisible by 4, unless it is a century year that is not devisible by 400. write a program that calculates whether a year is a leap or not [CODE][/CODE] def main(): year = eval(input("Enter a year")) if year/4 and …

Member Avatar for pelin
0
121
Member Avatar for amanu092

How can I integrate bluepay payment method API with joomla?Is there any one to help me please? Thanks

Member Avatar for chrishea
0
199
Member Avatar for markdean.expres

I actually want to ask two things, first, how do I set Textbox1 to get focus so that the user will not have to click the textbox if he wants to write something, the .focus() method does not work also, how do I highlight texts inside a textbox programmatically. I …

Member Avatar for markdean.expres
0
281
Member Avatar for dkXIII

I have received cipher documents which are believed to be secret messages. So, my mission is to break the encoding and reveal what the secrets are that each file contains. However,it is believed that each file contains a message protected with a "null cipher" which surround the real characters in …

Member Avatar for raptr_dflo
0
194
Member Avatar for spelltox

Hello to all ! Sorry in advance for the long post. I'm trying to get the value of a specific <div> from an html. This div has a class attribute of "itemPrice6", but problem is that this class appears few more times for other <div>s in which i'm not interested …

0
104
Member Avatar for aanders5

How would I get a value in between the two quotes after value=? So, value="hi my name is bob" /> would return: hi my name is bob or value="Ouch! "that hurt" lol..." /> would return: Ouch! "that hurt" lol... so basically I know the value=" TEXT_HERE " /> will always …

Member Avatar for aanders5
0
340
Member Avatar for WillT

I've disassembled a program to attempt to understand the application's structure for importing the data files. I have an extensive background is Java and C++ but I can't find any resources explaining importing files and reading them in assembly. What I'm hoping to find is someone who can simply tell …

Member Avatar for AceStryker
0
234
Member Avatar for Hikari123

Hi, I am suppose to create a code that takes the values between 1-1000 and produces the hailstone sequence for them, then it prints out the initial value that produced the longest sequence along with the sequence's length. I have tried to use an array but it didn't seem to …

Member Avatar for Hikari123
0
843
Member Avatar for fatzky_04

Hello! Can you please help me understand these problem. I don't have any idea what is the supposed output. Given a matrix M stored in array m[10][10]. Check if M is lower triangular, i.e. every element below the main diagonal is zero.

Member Avatar for StuXYZ
0
93
Member Avatar for _electricblue

#include <iostream> #include <fstream> #include <cstdlib> using namespace std; const int numRows = 22; // Number of rows in the board const int numColumns = 80; // Number of columns in the board int row; int column; char Drawing[numRows][numColumns]; // environment representing all the cells and their state. char point[6]; …

Member Avatar for mazzica1
0
876
Member Avatar for DaniwebOS

Question for you guys, what am I doing wrong here? I am able to enter the 5 digits in one input and I just want it to display the first character; just to test to see if it works. Afterwards I will be displaying all 5 characters like "1 2 …

Member Avatar for hfx642
0
167
Member Avatar for bluehangook629

I need some help setting the maximum size on a picture box. I thought the syntax for setting size was picturebox.MaximumSize = (Width,Height) but doesnt seem to work. Did syntax change from VB6? Thanks in advance

Member Avatar for bluehangook629
0
130
Member Avatar for markdean.expres

Guys can anyone tell me how to change fontsize of my listbox programmatically? This code does not work listbox1.font.size = 10 or listbox1.font.size = new size 10 What is the right code?

Member Avatar for Reverend Jim
0
678
Member Avatar for mjohnson

I need to write censor program that 1-reads in the text from a file 2-creates a new file where all the four-letter words have been replaced by “****”. can you help? this what I have so far [CODE]import string def main(): filename = raw_input("File: ") text = open(filename,'r').read() text = …

Member Avatar for mjohnson
0
496
Member Avatar for sofia85

I'm a beginner at python programming and now I want to try to write a function consisting of my already written programs. The goal is to get all probabilities when I'm calling on the function in the main program. My already separately written programs looks something likes this and the …

Member Avatar for Gribouillis
0
194
Member Avatar for truss86

Hello! I am working a programming assignment and the goal is to turn the static arrays into dynamic arrays. The program reads in a file of names, votes and outputs the winner and number of votes. I have the first dynamic array for votes complete, but I am having trouble …

Member Avatar for mazzica1
0
179
Member Avatar for weeraa

how to get 10 th record from record set using SQL server? there are a lot of code in the internet that can get first 10 results using "TOP" keyword in sql. but i want to get 10th row valus. I'm using VB 2008. please help me.... Regards Pra$ad.

Member Avatar for weeraa
0
158
Member Avatar for dakerao

Hello this is my problem below How would i do this: Got a text file called directorycontents.txt in this directorycontents.txt there is a bunch of text each one is a filename with a filename extension i want to be able to go like this if there is a filename extension …

Member Avatar for WaltP
0
193
Member Avatar for fatalaccidents

Hey guys, This is a quick formatting question that I'm having trouble with. I'm trying to create columns of numbers, but I want the columns to only be as large as the largest number in that column. I was trying to use format() width, but that is creating a width …

Member Avatar for fatalaccidents
0
172
Member Avatar for PM312
Member Avatar for nchy13

hi all!! i wanted to know the name of book which covers all the basic syntax and concepts of java keeping in mind that i have the basics of c++.

Member Avatar for stevanity
0
118
Member Avatar for SakuraPink

Hi everyone, I am trying to change hundreds of data files using sed command. Text file1 have 10 lines which look like the following [QUOTE]{ x=34280; y...} { x=34281; y...} { x=34282; y...} { x=34283; y...} { x=34284; y...} { x=34285; y...} { x=34286; y...} { x=34287; y...} { x=34288; …

Member Avatar for SakuraPink
0
148
Member Avatar for mmonclair

Hello, I've been wrestling with a problem for a few days, and after trying to Google the answer, I need to pose the question. I would like to create a new datasource for use by an application I'm working on. However, I do not have administrator access to my ColdFusion …

Member Avatar for arrgh
0
2K
Member Avatar for rrr12345

Hello, I have made a store inventory system in console in C++. I would like to know how can i convert it into full fledged graphical user interface. Any article,book,tutorial,video would be very helpful Thank you.

Member Avatar for rrr12345
0
227
Member Avatar for VB 2012

This Code allows you too countdown seconds and minutes but im not sure how to add hours or maybe even days to it:( =========================================================================================== [CODE]Imports System.Threading.Thread Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If InStr(timetowait.Text, ":") Then Dim time() As String time …

Member Avatar for VB 2012
0
148
Member Avatar for IanArcher

I am trying to write a php script that will take find the path of a webpage or a url, and convert the css from the server or local folder to inline code. I've looked pretty much all over the internet and looked for many solutions that could help me …

Member Avatar for pritaeas
0
594
Member Avatar for bigredaltoid

Hi guys, first off just wanted to say that this website has been immensely helpful to me for my programming class. I asked a question to help with a lab a couple of weeks ago and was able to figure out the issue with the forums help, so thank you. …

Member Avatar for TrustyTony
0
2K
Member Avatar for mameemonster

hello. i have a problem in selecting destination and time. when i select any number in destination the program always tell me that i choose number 1 (taiping). and the time it always show 1030 even i input number that is not 1. please tell me where i'm wrong here. …

Member Avatar for mameemonster
0
115

The End.