199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for atplerry

Hello ! I am a student of a university i and we are group into different categories in executing a project. The Template of the project was design by our lecturer and they want us to read , interprete and edit a website written in php and was givien to …

Member Avatar for newbiecoderguy
0
585
Member Avatar for scunnywhite

[code]/*Imports Java library files*/ import javax.swing.JOptionPane; import java.text.*; /*Filename for programs class*/ class KwikKapers { /*Runs program- method*/ public static void main(String[] args) { KwikKapers optpane = new KwikKapers(); } /*Constructor*/ public KwikKapers() { /*Instruction to begin start menu method*/ Startmenu(); } /*Method for main start menu*/ public void Startmenu() …

Member Avatar for Ezzaral
0
86
Member Avatar for chellethecat

I decided to try and redo a site I'd had active ages ago and while looking over things to see what needed to be fixed, tweaked, and just in general redone I discovered that while viewing the site in IE everything works just as it should, but in Firefox the …

Member Avatar for langsor
0
224
Member Avatar for plike922

When i run the program it shows the first line then blank i dont know whats wrong! [CODE]#include <cstdio> #include "simpio.h" #include "strlib.h" int main() { int i, d, t; printf("This program generates all perfect numbers from 1 to 100.\n"); t = 0; for (i=1; i<=100; i++) { for (d=1; …

Member Avatar for Aia
0
94
Member Avatar for rob spade

I was trying to create a control script for an HP procurve switch. The chararcters being returned from the python telnet read_until command appear to contain a variety of unexpected characters. See example below. When accessing the same device using the default redhat telnet client the characters do not appear …

Member Avatar for Gribouillis
0
943
Member Avatar for ccclay

Looking for help : I run abc.py with normal output as I expect, but get error in abc.pyc. Below is what I have done. Would you tell me what I have mistaken ? Thank you very much !! abc.py #!/usr/bin/python import datetime test_time = open('test.time', 'w') test_time.write('oh, today is\n') test_time.close() …

Member Avatar for Gribouillis
0
181
Member Avatar for cardician

Hello all, I'm hoping someone here might be able to provide some assistance. Let me see if I can describe the general problem I have and perhaps someone can offer some ideas on the best way to approach solving it. I've got a text file that is basically a dump …

Member Avatar for KevinADC
0
97
Member Avatar for swanqute

I have been working on a vertical accordion but seems not to be working, Can some one please check where the error is? Thanks in advance; At the Head Event.observe(window, 'load', loadAccordions, false); function loadAccordions() { var verticalAccordions = $$('.accordion_toggle'); verticalAccordions.each(function(accordion) { $(accordion.next(0)).setStyle({ height: '0px' }); var Accordion = new …

Member Avatar for jel3
0
129
Member Avatar for perun_x

Hi, I need to check keys pressed in another process. How can I it reach? I'm writing simple utility for linux/debian, which runs video player in process no.1. On background is another process, which will read pressed keys and will interact with the 1st process. Problem is, that it cant …

Member Avatar for vijayan121
0
111
Member Avatar for kristian_CMS

Can somebody show me how to delete .dbf record/s in VB? i have this code [ICODE]conn.execute "Delete from records"[/ICODE] but its just marking the records for deletion, it wont delete the actual records until i issue the PACK command from foxpro. Please Help.. THanks

Member Avatar for aktharshaik
0
2K
Member Avatar for neknek

We were asked to create an applet in which it will get the current date, then the user will input a number (n), when the user presses 'ok', the date+n after will display. Here is my code so far [CODE]import java.applet.*; import java.awt.*; import java.awt.event.*; import java.util.*; import java.util.Calendar; import …

Member Avatar for neknek
0
96
Member Avatar for Tekito

As I learn class modules, one issue that seems to come up repeatedly involves class modules inside class modules - how the "child" class module can never see anything inside the "parent". Say, for example, I'm writing a program involving a card game, and so I have a class module …

Member Avatar for Tekito
0
115
Member Avatar for texantrail

HI I need some help on how to go about in java program to design a Strict two phase locking schema. where the input file is given as notepad and input as follows through a notepad as follows b1; r1(Y); w1(Y); r1(Z); b2; r2(Y); b3; r3(Z); w1(Z); e1; w3(Z); e3; …

Member Avatar for texantrail
0
823
Member Avatar for bhoot_jb

i am currently working with VC++ 6.0. i have just begun with it and wrote my first non-MFC code in it..however i have faced a problem in which my program terminates immediately on executing it..and i mean immediately..it doesnt even show the window that i create through that program.. however..later …

Member Avatar for William Hemsworth
0
191
Member Avatar for tactfulsaint

hello everyone I still need code snippet help with authentication of username and password on both java and web application..

Member Avatar for ~s.o.s~
0
569
Member Avatar for MDGM

Hi all. I basically need to know how to get a link's href value using the getelementbytagname code and storing that value in a variable so it can be used later in the same function. Thanks, Max

Member Avatar for MDGM
0
3K
Member Avatar for servis

All Dears, I want to create images horizontal thumbnails view in 3 columns rather than vertical list view in 1 column. I have created vertical list view in 1 column, but now i am not understanding how to create thumbnails view in 3 columns php script. Please help in this …

Member Avatar for synking
0
112
Member Avatar for hell_tej

Hi, Frends Now I m Telling You How to insert Image Dynemically in Crystal Report 8.5 for the use in VB 6:-/ I Create an Job placement Software Crystal Report Which has some Fields and Photo of Candidate so First I Create an Crystal Report in 8.5 then Save it …

0
728
Member Avatar for mdew_47

i have been given a 2-phase compiler containig the lexical phase and the syntax phase as my final year project. for that i need to know how to call a C program from a Java applet using a button called "compile". A little help will make me thankful.

Member Avatar for mdew_47
0
204
Member Avatar for genesis_react

Can anybody help me with this.. we are to make a diamond pattern of asterisk..I had the codes below..My problem is.. we are only allowed to use one asterisk and one space to make the program and inside the diamond pattern we are to put the letters A,B, and C.. …

Member Avatar for VernonDozier
0
126
Member Avatar for Linz-30

Hi everyone, I am a complete novice and need to write a pseudo-code for a query (photo.xql): xquery version "1.0"; (: Generate a photo page :) declare namespace request="http://exist-db.org/xquery/request"; declare namespace transform = "http://exist-db.org/xquery/transform"; import module namespace history = "http:// localhost/history" at "history.xqm"; let $id := request : request-parameter ('id', …

Member Avatar for VernonDozier
0
78
Member Avatar for dinilkarun

Hi, I am using the following syntax in VB 6.0 to copy distinct values from strTableName to TableName [code]strOpen = "Select distinct * into" & " " & strDupTableName & " from " & strTableName rst.Open strOpen, db, adOpenDynamic, adLockOptimistic[/code] But I am getting a runtime error "-2147217833". I have …

Member Avatar for bogenbroom
0
172
Member Avatar for Tom Tolleson

Hi, guys. I've got a simple registration form that is submitting new user's contact information into a MySQL database. However, now when the form is submitted, I need the data to be sent in an email to the site's admin. Anybody know a good resource for this? Thanks! Tom Tolleson

Member Avatar for Tom Tolleson
0
422
Member Avatar for Tom Tolleson

I have an html form with multiple fields. Some of the fields are required, others are not. I have a JavaScript validation form that will send an alert if a field is empty. However, I only want it to send an alert if a required field is empty. How do …

Member Avatar for Tom Tolleson
0
183
Member Avatar for Tom Tolleson

Any input is appreciated. [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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="text/javascript"> function validateForm(form1) { alert("Please enter your name."); } </script> </head> <body> <form name="form1" id="form1" method="post" onSubmit="validateForm(form1);"> <input type="text" id="name" name="name" /> <input type="submit" name="SubmitName" value="Submit" /> …

Member Avatar for Tom Tolleson
0
130
Member Avatar for gouki2005

I have a class named Account so I have a question. In the declarations of a new instance Dim Newaccount as Account -----but I can declare this like.. Dim Newaccount As Account = New Account which are the differences between both declarations?? are the same or not? excuse me english... …

Member Avatar for manal
0
121
Member Avatar for cosby

hi everyone can anyone help me with the php pattern that search the following string and get relevent pattern. "2004_8.rtf" (November) S v Mimi(000/00) [2004] NAME 8; "2005_9.rtf" (November) S v Mimi(000/01) [2005] NAME 9; i want the regular expression patterns that match this : [2005] NAME 9 ; or …

Member Avatar for cosby
0
75
Member Avatar for astrogirl77

Hi, I'm new to C++ and am hoping to find help with coding a simple C program, am wanting to obtain code and functioning exe's. I code in an old version of Visual Basic 4.0, I have a simple app that is about 3 and a half pages of code …

Member Avatar for William Hemsworth
0
133
Member Avatar for Opsive

How do you convert a UTC tm structure to a UTC time_t structure? mktime would work except it converts the time back to local time. Here is what I have so far: [code] time_t t = time(NULL); tm *ptm = gmtime(&t); [/code] Thanks, Justin

Member Avatar for Radical Edward
0
2K
Member Avatar for BradenMurphy

I've got 3 classes 2 subclasses that link to a main class. (electric tools, fuel tools connect to Core tools). What i've done is made a handler class(Hardware) from these classes which has a void display in it. [CODE] vector<Hardware> hardware_stock; Hardware record; record.read(cin); hardware_stock.push_back(record); for(vector<Hardware>::size_type i = 0; i!= …

Member Avatar for BradenMurphy
0
102
Member Avatar for symas

Suppose I have structure like: typedef struct { int a; int b; } my_struct; Is there any way to get/print the name of the fields of that structure (i.e. "a" and "b") programmatically?

Member Avatar for Radical Edward
0
300
Member Avatar for Dancealot

Hi all. I have a problem when I am trying to run an application on my mobile. The app compiles on netbeans, but when I copies it to my mobile telephone, it sais: java.lang.NoClassDefFoundError. I have been told that I should have references to everything and that i might need …

Member Avatar for Dancealot
0
178
Member Avatar for IT_Techno

Hello I have aproblem i wish some one to helpe me to solve it. i have some C# windows applicalions every time i have to make setup package for my Application then install it on my PC before that i should install (Dot Net Frame Worke + Crystal Report + …

Member Avatar for IT_Techno
0
117
Member Avatar for yazooney

When compiling a program i get this: Cannot open include file: 'afxwin.h': No such file or directory This is because I dont have an MFC library. This is because microsoft visual studio C++ 2008 express edition does not have an MFC library (need to buy the proffessional edition). Anyone know …

Member Avatar for ArkM
0
137
Member Avatar for dmlandrum

I'm trying to create a exception handling class for a large-ish project I'm working on which inherits from std::exception. I found this [url=http://www.cplusplus.com/doc/tutorial/exceptions.html]tutorial[/url] at cplusplus.com and followed its basic instructions and used its derived class as a template. Here is my Exception class as it stands right now: [code=C++]#include <exception> …

Member Avatar for dmlandrum
0
835
Member Avatar for skinbug

Hi, I have a series of checkboxes that may or may not be checked. This means that when none of them are checked, the implode function has nothing to implode so returns an error...I think that's why I get the error. The form is processed and I was wandering if …

Member Avatar for skinbug
0
110
Member Avatar for micheal_lobster

hye, anybody know how to convert 8bit grayscale image to halftone or dither? Would you share the source code for that? :)

Member Avatar for micheal_lobster
0
619
Member Avatar for Shanti C

hello friends.... I am PHP programmer using mysql as my database... Now it is the time to make fast all my queries ,which im using in my programming... I heard about indexing... Tel me what is indexing,how to put indexing to my table... mainly what are the advantages and disadvantages...or …

Member Avatar for pritaeas
0
109
Member Avatar for jynx_o7

I'm going to build a tutorial website.. this is the link that im going to build on my website.. HOME Can you please give me an idea of what will i write on my home page?.. SERVICES TUTORIAL CONTACT any suggestion on the said link?.. Thanks!

Member Avatar for jynx_o7
0
83
Member Avatar for bomtk

Hi every one, i got a trouble with opening and reading multi files (200 files) in. These files include 4 columns and 1010 rows. event i have tried many times but it still can not work. if possible, could you please give me some suggestion on my code as the …

Member Avatar for bomtk
0
133
Member Avatar for twgood

So far it looks pretty good, except in the GUI I can not get the Modify, Save, Delete, Add and Search buttons to work. They produce error codes : Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javaapplication54.ModifyButtonHandler.actionPerformed(Inventory6.java:488) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6041) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) …

Member Avatar for darkagn
0
100
Member Avatar for death_oclock

I have the following globals defined (the relevant ones, anyway): [CODE] DWORD dwNumMaterials; LPD3DXBUFFER lpMaterials; LPD3DXMESH lpMeshBody; [/CODE] And the call to D3DLoadMeshFromX is here: [CODE] D3DXLoadMeshFromX(L"body.x", D3DXMESH_SYSTEMMEM, lpD3DDevice, NULL, &lpMaterials, NULL, &dwNumMaterials, &lpMeshBody); [/CODE] When this is called, it returns a generic error (0x80004005). Also, if it is needed …

Member Avatar for death_oclock
0
129
Member Avatar for vinodcprm

Hi good morning! I have developed XSLT for transforming xml into xml. Ex : input xml <item> <name>sample1<name> <desc></desc> </item> output xml <item> <name>sample1<name> [B][COLOR="Red"]<desc/>[/COLOR][/B] </item> In the transformed xml file I am getting self closing tag for the empty data element. But for us our parser does not support …

Member Avatar for MattEvans
0
415
Member Avatar for bimaljr

Hi, I have a single page website. It contains only a form to signup.. and I want to make it secure. I have self signed certificate to test. My admin has setup a self signed certificate. But I don't know how to access it. I want to impliment it in …

Member Avatar for bimaljr
0
110
Member Avatar for NadaAngel

i am developing a milt-language dynamic website in Classic ASP. the site is in English, arabic and French and the data is all stored in an Access database. my problem is specifically with grabbing the "FRENCH" submenus in a dynamic heir menu: [code] <script type="text/javascript" language="JavaScript1.2" src="includes/stmenu.js"></script> <% cl="Arabic" clF="French" …

Member Avatar for Thirusha
0
536
Member Avatar for shyamli

hi friends. . One again plea for help in project idea. . Doing my final yr. . Need some good project idea. . nothing hi-fi something innovative. . Thanks pls do help

Member Avatar for srvishnukumar
0
87
Member Avatar for Tootlol

Hi! I am a newbie, and recently I have installed php, apache, and mysql on my computer. However, after type some codes the browers left ÈpartÈ of the php code on the brower. It almost seem like the browser doesnèt recognize the code or something. below is what my browser …

Member Avatar for ryan_vietnow
0
151
Member Avatar for mancode1007

Hey guyz.. I want to know how to print certain line from the text file and certain part of the record for example data.txt... [CODE] 123 John Smith 80 222 chris brown 50 325 christine 60 [/CODE] I only want to print out the name from the record in the …

Member Avatar for Salem
0
128
Member Avatar for saikishore

Hi.. anybody help plz.. diff ..between mozilla & IE. here some pages r differ(alignment) from mozilla to IE.. plz solve this problem..how can i rectify.. Thanks in Advance..

Member Avatar for saikishore
0
97
Member Avatar for mahlerfive

My goal here is to write a small class to keep track of memory I allocate/deallocate so that I can more easily find memory leaks. To do this I overloaded the operators new, new[], delete, and delete[]. In those methods, I allocate/free memory as usual, but also make a call …

Member Avatar for Duoas
0
136

The End.