199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CrazyProgrammer

Hi, I was wandering if someone could give me some idea of how i would design my application in regards to what to put in the exe and what to put into the dll. At the moment the exe is just getting bigger, and I have never built such as …

Member Avatar for CrazyProgrammer
0
153
Member Avatar for RazorRamon

I'm trying to code a site similar to the coding on the bottom. I need help though I'm not sure if functions for php can work this way. I want to be able to use the function greeting in many different if else statements. How can i do this without …

Member Avatar for twiss
0
325
Member Avatar for karthik_ppts

Hi Frendz, I have placed my custom marker on google map in my application. But it displays default marker. Whats going wrong with this code? [CODE=javascript] var icon = new GIcon(); icon.iconAnchor = new GPoint(6, 20); icon.infoWindowAnchor = new GPoint(5, 1); icon.image = 'images/car_blue.png'; var marker = new GMarker(point, icon); …

Member Avatar for karthik_ppts
0
301
Member Avatar for samueal

Hi, I am using HTTPRequest and HTTPResponse to get the page source of a site. and i'm getting a warning message "Enable JavaScript to view your site". Is there any request i should add to enable JavaScript

Member Avatar for samueal
0
206
Member Avatar for sganderson

Hi, I try to use sb.append in my jsp page, but it is not successful. There is no error message, but when I open the browser, it only show: [B]Not a member yet? Register here. It is FREE. :[/B] Please help... thanks!! [CODE] <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib …

Member Avatar for javaAddict
0
338
Member Avatar for davy_yg

Can anyone help me ? What might be the problem ? Parse error: syntax error, unexpected '>', expecting T_STRING or T_VARIABLE or '$' in C:\AppServ\www\wordpress\wp-content\themes\platform\footer.php on line 36 .. [CODE]<?php /* FOOTER This file controls the ending HTML </body></html> and common graphical elements in your site footer. You can control …

Member Avatar for Insensus
0
250
Member Avatar for taxmybrain

I have a web based project using VB 2010 that gets data from sql 2005 server and populates a gridview which was dropped onto the web page from the toolbox. My problem is i need to use a variable in the VB code and have searched and read hundreds of …

Member Avatar for aspproject
0
161
Member Avatar for xanawa
Member Avatar for xanawa
0
128
Member Avatar for niranga

Hi, I am working on a project which requires to update a JEditorPane or JTextField simultaneously by multiple clients. It is something like this. [B][1]. There are several users( i.e a group) with the same application which contains a JEditorPane. [2]. There is a group leader for a group( note: …

Member Avatar for JamesCherrill
0
279
Member Avatar for failbot

Hi, I am working on this code: [CODE]#include <iostream> using namespace std; send(to, from, count) { register int *to, *from; register int count; { register n=(count+7)/8; switch(count%8){ case 0: do{ *to++ = *from++; case 7: *to++ = *from++; case 6: *to++ = *from++; case 5: *to++ = *from++; case 4: …

Member Avatar for failbot
0
226
Member Avatar for kokfui

hi all i want to know is there any code which will print a data into the bottom of a exist table? let say now i have a table like below NAME TIME BID alan 9.40am RM100 after i execute the code....the new table will add the new thing at …

Member Avatar for kokfui
0
159
Member Avatar for rpjd

A user submits values in a form. On the action page I want to check if there is a table on the page whose id matches any values submitted via $_POST. I've seen examples using file_get_html(), but this it not listed as a function on php function list. What is/are …

Member Avatar for vibhaJ
0
72
Member Avatar for munitjsr2

[CODE] #include <iostream> #include <vector> #include <algorithm> using namespace std; class A { public : void getData(vector< A > &); void putData(vector< A > &); private : int x; char name[90]; }; vector< A > v; void A :: getData(vector< A > &Aref) { cout << "id = "; cin …

Member Avatar for munitjsr2
0
243
Member Avatar for coolbeanbob

Hi, I am getting a null pointer exception with the code below. From what I have read, it seems like something is null, but I do not understand how this could be a problem? The error is occurring on line 205 of the StudentContainer class. (This is at the very …

Member Avatar for jon.kiparsky
0
717
Member Avatar for Joe34

I continue to get, function not defined when calling the function build_blog() through the function start()? [CODE]<html> <head> <style> </style> <script type="text/javascript"> var SEO; var conversion; var SMO; function Start() { document.write("Blog Name: <input type='text' id='name'><br> Blog System: <input type='radio' name='system' id='system' value='blogger'> Blogger<input name='system' type='radio' id='system' value='Wordpress'>Wordpress<br><input type='button' value='Build …

Member Avatar for Airshow
0
83
Member Avatar for lxXTaCoXxl

I'm trying to get some information on the live XBOX stat's feed. Like recent games, gamer score, rating, and gamer picture. I want it to update continuously (like if you were on Microsoft's website viewing someone's XBOX Live profile, or on the XBOX itself looking at their live stats) and …

Member Avatar for jh00
0
135
Member Avatar for carinlynchin

here is my one class (controller) and the other (GUI) what is happening is inside the SearchListener inner class for the button, I am calling a method from the controller class (i have already tested the parameter sent and that part works fine) but when i click on a code …

Member Avatar for carinlynchin
0
3K
Member Avatar for Naruse

Hi, There are a way to separate the string by commas? Please Help. Best Regards

Member Avatar for Jx_Man
0
185
Member Avatar for Robbie Y.

Hey guys! I'm trying to write a program that involves a switch/case on Microsoft Visual Studion 2010. Unfortunately, some of my variables are not being initialized. I am a very novie programmer so please have mercy on me! Two of my options (1,4) are working but options (2,3) are not. …

Member Avatar for Robbie Y.
0
172
Member Avatar for bensewards

Hey everyone, I'm new at visual c++ and MFC Applications, and so I am going through Ivor Horton's Beginning Visual C++ 2010 to make a drawing application through Microsoft Foundation Class. I added menu bars for options, such as shape(rectangle, line, and ellipse) and select colors (black, red, blue green). …

Member Avatar for bensewards
0
293
Member Avatar for APCompSci

Consider the following two classes. [CODE]public class Dog { public void act() { System.out.print("run"); eat(); } public void eat() { System.out.print("eat"); } } public class UnderDog extends Dog { public void act() { super.act(); System.out.print("sleep"); } public void eat() { super.eat(); System.out.print("bark"); } }[/CODE] Assume that the following declaration appears …

Member Avatar for jon.kiparsky
0
2K
Member Avatar for cppjosh

Hey everyone! I was recently assigned this program in class and have only finished about half the work but am already very confused. I was just hoping that some of you could give it a shot and share what kind of code you came up with. Well here it is …

Member Avatar for pseudorandom21
0
120
Member Avatar for SillySpAz

I keep getting an output of zero, I don't know what's wrong.. #include <iostream> using namespace std; double determineCommissionRate(double totalCommission, double totalSales); double determineBasePay(double basePay, double yearsWorked); int main() { double yearsWorked, totalSales, totalPay, totalCommission, basePay; cout << "Please enter the number of years you have worked at this company" …

Member Avatar for SillySpAz
0
129
Member Avatar for almoj4ever

hi there ,,, im new to this forums and i really need somehelp in paython as i've got this homework and i need somehelp with it !! ,,, and im so stuck in it ! 1.Write a function to find average of a series of numbers entered by the user. …

Member Avatar for predator78
0
168
Member Avatar for jowana

Hello, I have a line on my image and i want to find the maximim grey-level value on that line . so i need to scan the line and pick the pixel with the highest value how can I do this? should I calculat the gradient magnitude ? Thanks in …

Member Avatar for jowana
0
124
Member Avatar for ramizgirach

hey m a newbie in php i would love some help on this one i have a section of jokes in my page the problem is i want the two columns 'name' and 'content' to be extracted from database and automatically put in a table where name is a title …

Member Avatar for diafol
0
88
Member Avatar for blahbla

need some help with this lab this class is to draw a line with *'s i guess in the command prompt since it uses System.out to print i was given the function names and the comments that tells me what the function does i wrote the code in the functions …

0
101
Member Avatar for lochnessmonster

Local * pLocal = *(Local**)0xE6EB54; // valid How would u interpret these in english i understand it has to do with a pointer to a double pointer? Local * pLocal = (Local**)0xE6EB54; // not sure if this is even valid if the above is valid as well how would u …

Member Avatar for mike_2000_17
0
92
Member Avatar for andimiami

I am doing a program involving an unsorted list of names that I have to turn form Firstname Lastname into Lastname, Firstname. So I wrote the main program, and my instructor told me that under my getList function, to retrieve the data just do data >> first and data >> …

Member Avatar for Greywolf333
0
135
Member Avatar for turpentyne

I have a form with two fields: shape and color. where people select a shape an image of the shape appears, and a default color image appears. When they select a color, it changes the color image. But if they go back and change the shape, I don't want it …

Member Avatar for Airshow
0
231
Member Avatar for ivan3510

Look this page: [URL="http://www.htmlcodetutorial.com/linking/linking_famsupp_75.html"]click[/URL]. How to do that with button?

Member Avatar for twiss
0
79
Member Avatar for veena1555

Hi friends i have dell inspiron laptop with i3 core processor..having Oracle 10g as database. i could n't run JDBC programs in my lapy. so many ppl spoke to me that dell lapy doesn't support type1 driver.. So i tried for third party type 4 drivers(OJDBC14.JAR) it is also not …

Member Avatar for veena1555
0
91
Member Avatar for turt2live

Ok, So I'm amking a game and need walls so you can't walk through walls (This is a top down view game, screenshot [URL="http://turt2live.servebeer.com/game_stuff/walls.png"]here[/URL]), although, my calculation for seeing if you are going to hit a wall slows down the game with the 3 walls I have (I stopped making …

Member Avatar for turt2live
0
196
Member Avatar for designalex

Please correct my syntax: im including a file with the following constants [CODE] define('IPADDRESS', $_SERVER['REMOTE_ADDR'] ); define('BROWSER', @$HTTP_USER_AGENT ); define('REFERER', @$HTTP_REFERER ); [/CODE] if i echo IPADDRESS; i get the ip address (127.0.2) so the include is fine. My mysql instruction is as follows: [CODE] $update = mysql_query("UPDATE login_errors SET …

Member Avatar for designalex
0
188
Member Avatar for JakeA

hi! i have a listbox binded to a list. the list contains checkboxes binded to a field/member of the list. what i want to achieve is that i want to delete the data from list when it's corresponding checkbox is checked... here's my xaml code: [CODE]<ListBox Name="ListBox1" ItemsSource="{Binding histList, Mode=OneWay}" …

Member Avatar for Mitja Bonca
0
191
Member Avatar for daviddoria

n windows I used GDI+ to capture a region of the screen. Is there something similar for linux? I want to do ScreenCapture(Top, Left, Width, Height); and save it to a file (png or something). What's the easiest way to do this? Thanks, Dave

Member Avatar for Mual
0
1K
Member Avatar for chester1908

Hello all. I got a project which includes many classes.One of them is a class extending JPanel which is used to load an image as a background for my JFrame. Now,there are 2 other classes,instances of which are used to represent people interfering with each other or moving within the …

Member Avatar for mKorbel
0
145
Member Avatar for michelle1

Hello, 2 hours later and Good Monday is loosing it's "good'ness"!! :) I need to make the first string below into the second string, that is only single white spaces are permitted so multiple white spaces (shown as "____" in the text below) must be replaced. "1/4 WELDING______LEVER____FRONT DRW_____14844-C__MAT____WMA1CM-WLFRONT" [B]into:[/B] …

Member Avatar for michelle1
0
90
Member Avatar for DeIntegro

I am having problems loading images from my database. I think it's something with the variable...i am new to PHP and have a project i need to finish by Tuesday. Your help is appreciated. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

Member Avatar for dos_killer
0
474
Member Avatar for vibhaJ

Hi Friends, I am having one contact-us php script. Here i have used php mail function to send email to admin. Even-though i have also used captcha coding, admin is still continuously getting spam (dummy texts) contact us emails. Actually I am not sure how spammers do such activity. If …

Member Avatar for Batch Devil
0
128
Member Avatar for xnutcracker

So I need to write a program..this is the basic outline: Start -Print "Enter input:" -Accept String and store from $2000 -> then print all letters in upper case -Count String length -> print -Count lower case letters -> print End **Got to use variables letterstotal = 0 and modifiedtotal …

Member Avatar for xnutcracker
0
194
Member Avatar for ROTC89

Hi I am new to python. I am trying to get my fraction program to work but I keep getting this error message: Any advice would be helpful! [ICODE] File "main.py", line 5, in ? from fraction import* File "/home/students/bf133052/CS4223/fraction.py", line 10 def__init__(self,numerator,denominator=1): ^ SyntaxError: invalid syntax [/ICODE] here is …

Member Avatar for ROTC89
0
3K
Member Avatar for coolbeanbob

I am using a keylistener and I need to know when the backspace and delete keys are used. Does anyone know how this is done? I have not found anything online.

Member Avatar for niranga
0
1K
Member Avatar for bibiki

hey there, I am trying to make my first connection to a mysql server with java. I took the following code from another thread: [CODE] import java.sql.Connection; import java.sql.DriverManager; public class Connect { public static Connection ConnectDB() { Connection conn = null; try { String userName = "root"; String password …

Member Avatar for bibiki
0
166
Member Avatar for Usmaan

Hey forum, When we make a button on our WPF form and double click on it, we get the following code generated for us: [CODE] private void button1_Click(object sender, EventArgs e) { }[/CODE] Now obviously, the button is a _Click method which basically means that whatever code that goes within …

Member Avatar for Usmaan
0
393
Member Avatar for techie929

Hi, I want to make a JLAbel clickable. For example if a user click on the jlabel he is directed to some url like [url]www.google.com[/url]. Any help would be appreciated. Thanks.

Member Avatar for JamesCherrill
0
98
Member Avatar for superjj

I'm making a project in c + +. I am now creating help, so if you push a button or F1. but I do not know how to make this. can someone help me Thanks in advance jongen joeri

Member Avatar for superjj
0
108
Member Avatar for ihatehippies

how do I catch changes to a mutable object ie: [CODE=python] class test(object): def __init__(self): self.x = [] def __getattr__(self, atr): print 'retrieving atr %s' % atr return self.__dict__[atr] def __setattr__(self, atr, val): print 'setting atr %s to value % s' % (atr, val) self.__dict__[atr] = val [/CODE] >>> instance …

Member Avatar for ihatehippies
0
229
Member Avatar for vishalbhavsar

hi all, i tried following code for session management bt i dnt knw where it went wrong? can anyone please help me solve the problem. i want to restrict user going on the prevoius page after logging out when he clicks on the browser's BACK button. ****************************************************************** 1) i created …

Member Avatar for vishalbhavsar
0
407
Member Avatar for zebnoon

Hye dear ! please till how barcode reader read and put code in VB6 textbox.for example in the General store software.If you have any example please send me. zeb noon

Member Avatar for zebnoon
0
181

The End.