199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for angel_devon21

hi to all any one pls help me with this id ont know how to edit mynnxx template of joomla.

Member Avatar for angel_devon21
0
87
Member Avatar for CRD

I was told once that If I wanted to know what functions were available in a given header that I needed to open a header file and look. code /* * stdio.h * This file has no copyright assigned and is placed in the Public Domain. * This file is …

Member Avatar for Ancient Dragon
0
265
Member Avatar for Aiban

Hi Everyone. I want to use this thread for some help as i'm sure this will not be the only question as i have just over 300 lines of code from my old python 3.1 script. I'm now using 2.6.4 and it is obvious some code isn't backwards compatible. Soooo …

Member Avatar for Aiban
0
141
Member Avatar for meowbits

I'm trying to randomly select 100 values from an array of 1000. How do I do this? Also, after selection, how can I add these 100 values into a new array. Do I need to do something like this with a loop? [CODE]for (x = 0; x < 100; x++){ …

Member Avatar for meowbits
0
2K
Member Avatar for Bluesilver

So basically my assignment is to write a few Java methods that contain arrays in the parameters, and then test each one using a main method within the same class. However, I can't figure out how to invoke the methods... I keep getting a compiler error that states "join(char[]) in …

Member Avatar for darkagn
0
194
Member Avatar for jk8204

Having problems succuessfully populating the listBox via arrays. Array size is input by user. Also, cant quite get the SaveFileDialog working with the option for the user to create own filename & location. [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; …

Member Avatar for DdoubleD
0
154
Member Avatar for whiteyoh

Hi All, Im wanting the following script to output to an XML file, but im getting an error on line 18 and i have hit a brick wall. Help would be appreciated. [code] <?php require_once("connect.inc.php"); $db = getConnectionMySql(); $stmt = $db->query("SELECT email, name, lastlogin FROM subscriber"); while ( $obj = …

Member Avatar for Stefano Mtangoo
0
134
Member Avatar for kingsboro2008

This is the first time I've posted a question so forgive me if I become vague. I will try my best to be as detailed as possible. I am creating a card game in Java that compares card hit points. The hit points are accessed from an input file. The …

Member Avatar for kingsboro2008
0
97
Member Avatar for ifezuec

how do i use netbeans to compile and run java. it seems complicated or rather direct me to a site

Member Avatar for Ezzaral
0
115
Member Avatar for miclo

Hey, I have a slight problem. I have managed to figure out how to copy and move files to XP's start up folder, and in some accounts Vista's startup folder. Now with Vista I can successfully copy and move the file to my own user account, but how do I …

Member Avatar for mikiurban
0
119
Member Avatar for shellthor

I am having a problem updating an access database with new information from an updated dataset. the database consists of 4 columns: User_ID, Login_Name, Password, Access. The following code makes a connection to the database, fills a dataset with the data from the database, reads a txt file with user …

Member Avatar for mikiurban
0
191
Member Avatar for Stefano Mtangoo

I have tried to do some Major C++ project with big failure as result. This produced great heart ache that made me recoil from doing further C++ projects. Here is the partial list of my failure: simple encoder with lame_enc.dll, simple CD Ripper with akrip32.dll, simple database manager with wxSqlite3.....et …

Member Avatar for Stefano Mtangoo
0
141
Member Avatar for june_me

for novices: what is' freopen()' function in C language and how it works?...thanks

Member Avatar for Nick Evan
0
98
Member Avatar for julzk

I have an SQL Query question that I'd like help with if possible :) I have two tables "tbl_jobs" and "tbl_jobs_done" Here are the fields for both tables: tbl_jobs -jobs_id -jobs_description -jobs_datestart -jobs_dateend -jobs_datetype -jobs_user -jobs_updateuser tbl_jobs_done -jobs_done_id -jobs_id -jobs_date -jobs_comment -jobs_datedone -jobs_timedone -jobs_user How this works is, I have …

Member Avatar for Atli
0
168
Member Avatar for Stefano Mtangoo

Hi All, is there a trick in wxPython to skin application to look like this one? What are pros and cons if any? Take a look [URL="http://www.fileguru.com/images/b/audio_recording_studio_multimedia_sound_tools-5778.gif"]Here[/URL] Cheers :)

0
142
Member Avatar for mhangman

Hi all, Im trying to add tags to my blog post. i did it its done but i wanted more so when users click the link of tag, they will see other post tagged same. anyway here my view_tag function [CODE]def view_tag(request, tag_id): tag = Tag.objects.get(pk=tag_id) news = tag.pnews_set.all() return …

Member Avatar for mhangman
0
106
Member Avatar for buffonomics

Java has matured in terms of UI presentation. search project Aerith for examples on some of the neat things that can be done when mixing JOGL, Swing and Java2d. However, it seems these only work on windows. Mac is still strangely alienated from the Java revolution, cuz Steve still strangely …

Member Avatar for buffonomics
0
168
Member Avatar for babylonlion

Hello, I need to re size the square whenever I move the slider; how can I accomplish that? Your time and effort are appreciated. [CODE] import java.awt.*; import java.awt.geom.*; import javax.swing.*; import javax.swing.event.*; public class SquareSliderTest{ public static void main(String[] args){ EventQueue.invokeLater(new Runnable(){ public void run(){ SliderFrame frame = new …

Member Avatar for babylonlion
0
122
Member Avatar for gangster88

The function below is supposed to ask the user to enter a choice of rock paper or sciessors and output an error mesage if the user enters an invalid choice and then ouput a message if they won, drew or lost against the computer. [code] def rockPaperScissors(): import random choice=raw_input("please …

Member Avatar for sentinel123
0
239
Member Avatar for elomanias

Hi Folks the game runs. jippie, but i have a small problem i cant get the board to get drawn from left to right, its drawn from upwards to downwards hope anyone can help me Sincerly elomanias

0
411
Member Avatar for juice_0032

I am attempting to use VB2008 Express to Display, Edit, and Append an Access database. I can display information fine, but for some reason updating the database is posing an issue. The code below runs fine and doesn't throw any exceptions. However the Access database itself does not update. When …

Member Avatar for TomW
0
232
Member Avatar for shishtawitch

i have a form in another form............ <form1> <form2> </for> </form> the form2 is submited automatically, and has only one field of fileupload, and is auto processing file upload with jquery ajax...!! it works fine for me but when i pass the response filename of form2 to form1 <input> field …

Member Avatar for shishtawitch
0
106
Member Avatar for mr_scooby

I have a table that holds a users id and a cd number, what I would like is to be able to only increment the cd number based the users id not just incrementing it every time a new cd is created table [code] CREATE TABLE IF NOT EXISTS `cdcreation` …

Member Avatar for mr_scooby
0
90
Member Avatar for thuku

I wana perform a search on my mysql database.i want to search 4 categories at the same time e.g a person who wants to search for a nike shoe, size no 7, in africa, in kenya. How will i go about dat.

Member Avatar for thuku
0
115
Member Avatar for sciwizeh

Hello All, it's been a while since I've had a question for you all. I'm trying to write a paint app, I've done so before, but this time I decided to add Layers, and I wanted a JList of the layers, I wrote a cell renderer, that not only renders …

Member Avatar for Ezzaral
0
148
Member Avatar for fishsqzr

I am trying to use form inheritance in C#/NET 2.0 and find that some things (which were possible in other systems) do not seem to work here. Actually, even inheriting a form seems do be a bit of a chore (and the C# Help does not mention it at all). …

Member Avatar for dhar_sudipta
0
177
Member Avatar for josh06

Hello everyone. Basically, I am making a small site for my friends where we can create users and edit profiles and comment eachother. Like a scaled down social network site. The problem is, I really can't get my head around the whole idea of relational databases. What I have is …

Member Avatar for josh06
0
126
Member Avatar for StarZ

hi, I've recently downloaded Java on my computer I think I downloaded the "windows app" one. When I try to launch drjava, this errors pops up and it says: An error occurred in Dr Java: java.lang.ArrayIndexOutOfBoundsExceptions:-1 You may wish to save all your work and restart Dr Java. I've downloaded …

Member Avatar for masijade
0
259
Member Avatar for jeffrey4u

My project is connected to odbe driver with access database. i have another database with the same table and fields on my hard disk. i now want to use common dialog box to locate the access database on my hard disk and append the records in it to the running …

Member Avatar for jeffrey4u
0
94
Member Avatar for lewashby

I'M reading the book "Python Programing second edition for the absolute beginner". While explaining the object paramater whithin a class, this how it reads. Base your class on [I]object[/I] , a fundamental, built-in type. Can someone please tell me what that means? Thanks.

Member Avatar for mn_kthompson
0
131
Member Avatar for benkyma

I have the following code which results in a mysql error. However, when I use this query in PHPMyAdmin it works fine. Can anyone see what is causing the error? [CODE] for($i=0; $i<10; $i++) { $nextDay = $i+1; $startDateTime = date("Y-m-d H:i:s", strtotime("-$i days")); $endDateTime = date("Y-m-d H:i:s", strtotime("-$nextDay days")); …

Member Avatar for benkyma
0
94
Member Avatar for dgr231

Hey all, I am currently working on building a small text-based RPG to practice C++. I am working on a function to load a saved game from information saved in a text file. Below is the code for the function: [code=cplusplus]void getSavedGame(playableCharacter& player1) { int stamina, health, mana, level, strength, …

Member Avatar for dgr231
0
244
Member Avatar for Kruptein

I have this table(building_lvl): [icode]lvl | building_id | region_id[/icode] And I want to get the region_id for which building_id=3 has lvl 2 and building_id=2 has lvl 5 [code]SELECT * FROM building_lvl INNER JOIN regions ON regions.region_id = building_lvl.region_id WHERE ((building_lvl.building_id='3') && (building_lvl.lvl > 1)) && ((building_lvl.building_id='2') && (building_lvl.lvl > 4)) …

Member Avatar for Kruptein
0
78
Member Avatar for krishnaboppana

how to add online chat for my new website, what i to do, ineed assistance from u ist stage last stage, thank! regards, krishna.

Member Avatar for Alxandr
0
100
Member Avatar for 00musdan

Hello everyone i know very little of Java and need help with a project. If anyone could send some code or even help explain where i should start i would very much appreciate it. This is what the teacher gave us for the project outline on what the code should …

Member Avatar for 00musdan
0
163
Member Avatar for memory100

question: 4. A program is required for a grocer that will add two weights together (in pounds and ounces). The program should also convert the total weight to a value in kilograms. Use three functions. Function 1: allows the user to enter the name of the produce, and the weights …

Member Avatar for Geekitygeek
0
106
Member Avatar for sidd.

hi, i drew a line which fit in the output form when it is in minimized state. but when the it is maximized line remain the same height but the window expand. i want that the line and window expand and shrink in same ratio. i hope i made u …

Member Avatar for Geekitygeek
0
105
Member Avatar for zeusofolus

I am checking to see if a value has been entered in a form and then updating only if a value is entered. The problem is I want 0 to be an option that can be entered and php is treating 0 as if it were the same as NULL …

Member Avatar for Atli
0
6K
Member Avatar for _taz_

I have a query that works, I wanted to add another sum from another table, but when I do, the all the SUM values are wrong this works [CODE]SELECT Clients.ClientID, Clients.WholeName, SUM(CASE WHEN Payments.Creditorid = 0 THEN Payments.Amount ELSE 0.00 END) AS 'Admin Fees', SUM(CASE WHEN (Payments.Creditorid = 3) THEN …

Member Avatar for _taz_
0
173
Member Avatar for cstrachan

I am trying to write some test code to simulated a blue screen application event log entry. I have the generic function [CODE] private void AddEventLogEntry(string source, string errorText, int eventId, short category) { string log = "Application"; if (!EventLog.SourceExists(source)) EventLog.CreateEventSource(source, log); EventLog.WriteEntry(source, errorText, EventLogEntryType.Information, eventId, category); } [/CODE] This …

Member Avatar for DdoubleD
0
110
Member Avatar for StaticX

<thread split from [URL="http://www.daniweb.com/forums/thread172315.html"]here[/URL]> Could i have an elaboration on this explanation please? My poblem being that i have wrote 2 objects to a binary file called "data.dat" No problem there. But then i have a function that needs to find the number of objects in the file.I can do …

Member Avatar for Ancient Dragon
0
90
Member Avatar for lewashby

Does anyone know where I can find a goo pdf python reference for the following? pre built constructors, functions/methods for the follwoing tuples, lists, dicts...etc I hate reading a book with nothing but quick explanation, I want to see them for myself. And I already know how to find them …

Member Avatar for python user
0
187
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 Object …

Member Avatar for Nick Evan
0
1K
Member Avatar for littleladyclair

hi ya! really hope u can help! ive taken on a computer course that is meant to teach me the basics of computing, and while i can understad databases and html, for some reason they have given us object orientated programming and i havent a clue!! ive spend alot of …

Member Avatar for javaAddict
0
548
Member Avatar for TheCodeHunter

please help!!! -------------------------------------------------------------------------------- Hi Hope you can help because its driving me up the wall. I've made a program that can add 4 items in a row in a list box, for instance Item Make Guarentee qty Price toy car rover 1 1 £45.00 monkey monkey 2 1 £65.00 total: …

Member Avatar for Nick Evan
0
94
Member Avatar for twoshots

I'm having trouble understanding why I can't seem to access a dict object of a class once the class instance is referenced through a dict of instances. If that makes sense at all ;) I have a simple class containing only a dict called index. [CODE]class Node: def __init__(self): self.index …

Member Avatar for twoshots
0
127
Member Avatar for Musafir

I am writing a function that has two parameters F & L and the function returns the sum of the squares of all the intergers between F & L e.g if i call def sum(3,5) should output 50 (9 + 16 + 25) def sum(first,last): sqaure = i for i …

Member Avatar for snippsat
0
119
Member Avatar for Phil++

Hey, I'm trying to put all the objects of my class into an array so it will be easier to display.. It doesn't work though! Here is the code: [CODE] #include <cstdlib> #include <iostream> #include "manager.h" #include <windows.h> using namespace std; void displayManagers(); int main(int argc, char *argv[]) { displayManagers(); …

Member Avatar for Grn Xtrm
0
199
Member Avatar for wesleychin

Hi guys, if anyone can help me with the basic C# programming concepts, please send me an email at <email snipped> and I can email you my project for you to see what the problem is with it. It is almost complete but it keeps throwing an exception and I …

Member Avatar for Geekitygeek
0
138
Member Avatar for catfleamassacre

I am fairly new to image uploaders (worked in animation for a long time). I have an image upload form that works fine. The image uploads and redirects to another PHP page (imageupload_file.php) that confirms the image uploaded and gives you the name of the image and size on the …

Member Avatar for muralibobby2015
0
153

The End.