199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CreativeCoding

Ok, so I am creating an uploader for uploading files such as .udk or .upk as well as other basic files such as txt and html. But I have been tinkering with the code I found (i'm a noob) and I can't get it to accept those extra extensions. Here …

Member Avatar for CreativeCoding
0
156
Member Avatar for didi00

Hi everyone! So can someone explain me how to compile a file with gcc? I'm using kubuntu, and I've written my source code in Kate(the text editor), and I saved it in documents like file1, and now how to compile it from the terminal? I've tried with the command: [code] …

Member Avatar for didi00
0
251
Member Avatar for msi_333

hello all , If i have a static reference to object as a class member . and this object is a scheduler that contain ( Jobs , and triggers ) . is there any way to make this object lives even after my function call ends .

Member Avatar for msi_333
0
86
Member Avatar for Blitz-labs.com

Hi All Im developing a website here's my situation. Im using one template and using template to link it to every page and using str_replace to replace parts of my site template for what is needed for each page. Any way my problem is this I have sidebar and in …

Member Avatar for Blitz-labs.com
0
168
Member Avatar for dd501

Hey, I have put the following code into a sharepoint aspx page. So that when I change the value in a drop down box it runs a function (in this case it displays "Works"). [icode]<script language="javascript" type="text/javascript"> function getField(fieldType,fieldTitle) { var docTags = document.getElementsByTagName(fieldType); for (var i=0; i < docTags.length; …

Member Avatar for fxm
0
138
Member Avatar for heiro

Here is my code so far: [CODE] import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.awt.event.MouseMotionAdapter; import javax.swing.*; public class Paint extends JFrame { private static PCanvas canvas = new PCanvas(); public Paint() { // Create a panel to group three buttons JPanel p1 = new JPanel(new GridLayout (1, …

Member Avatar for sfrider0
0
3K
Member Avatar for broli100

Hi, I am making application where I need to repaint windows form where I display some variables. I used InvalidateRect(NULL,0,0); - now the form is refreshing but started to blink because I refresh whole area,and I dont need to refresh all the buttons and static text ,only area where I …

Member Avatar for broli100
0
106
Member Avatar for kdw3

Hi All. I am relatively new to programming so this may seem like a trivial question, but here goes. On my form I have a datagridview which is bound to a 'Supplier' table in Access 2003. Once I click on a record on the DataGridView, textboxes below which are also …

Member Avatar for kdw3
0
283
Member Avatar for Greyhelm

I am trying to update an occupants list in the class Place, after setting it with: [CODE] places["smith"] = Place( "smith", "This is the Blacksmith's Shop", "grimwo", ("well", "bakery", "mill"), () ) persons["berrol"] = Person("berrol", "bakery", "baker") [/CODE] The classes are setup as: Person / Place [CODE] class Person(object): """ …

Member Avatar for Greyhelm
0
10K
Member Avatar for jiraiya

Hi everyone, I'm trying to build a GUI for a project I'm working on, and I'm having trouble working out how to move between different displays within the same GUI. I have a simple GUI with a menu bar and two buttons in the content pane. If the user clicks …

Member Avatar for jiraiya
0
75
Member Avatar for griffith

Hi, I was wondering if someone with PHP talent could help me make a PVP script for my game? If you are familiar with PHP, please help! I want something simple, but i don't know how to code this.. like a battle arena where it displays a list of users …

Member Avatar for Ezzaral
0
285
Member Avatar for Wizablue

I'm trying to make a program,it's almost done... but i'm stuck on an error message that I get. I would appreciate any help. The error message: [QUOTE]error: conflicting types for ‘findEntry’ note: previous implicit declaration of ‘findEntry’...LINE 15[/QUOTE] I get it for this code: [CODE] catalogPointer findEntry(catalogPointer head, char names[]) …

Member Avatar for Wizablue
0
360
Member Avatar for mindserve

I have an app where it loads the image to a pic box from a path that is stored in an Access database. The image itself is not stored in the database. I have searched everywhere for a solution to get the image to load to the report viewer but …

Member Avatar for mindserve
0
319
Member Avatar for dnanetwork

how do you measure the size of session in (KB, MB....) how can you say my session object is consuming ? space in (Kb & MB) is there any limit to session size ( Some guy said 2GB :) ) Adapost help..!

Member Avatar for dnanetwork
0
99
Member Avatar for Kesarion

I'm trying to translate a Pascal mouse movement algorithm to C++ but I'm not too good at it. The mouse moves to a position but when it moves again it only goes a small increment and crashes after a few more moves or if I move the mouse a few …

Member Avatar for iamthwee
0
407
Member Avatar for baby_c

hey guys i'm new to c and still learning.need some help here. i wrote this code and it isn't work properly,unable to figure out whats wrong!!but when the [B]strget()[/B] call from the main() its working.please some help... [CODE]main() { int x; printf("enter a value :"); scanf("%d",&x); switch(x) { case 1: …

Member Avatar for Aia
0
174
Member Avatar for jeffjpeterson

Its been awhile since I've messed with any kind of programming and I'll admit, I'm a bit rusty. I am an avid amazon mp3 user, but their downloads always have extra stuff attached to the track name, like Explicit, or Album Version. I want to make a program that will …

Member Avatar for jeffjpeterson
0
284
Member Avatar for jdpjtp910

I am trying to pass data into a class object and the put that class object into a binary tree. My code was mostly give from the professor, but I am stuck on this part. He gave us the binarytree.h and employee.h. I had to create the emp_tree.cpp. Employee.h: (give …

Member Avatar for jdpjtp910
0
559
Member Avatar for pickleleon

This is my very first thread on the net period, I'll do my best to describe my c# problem. I was wondering if there is any way of calling upon general event trigger objects (referring to buttons, picture box etc.) on a whole, for example is there a keyword that …

Member Avatar for pickleleon
0
262
Member Avatar for Dhammakirty

1.i have one dropdownlist for state names. 2. i have one button named refreshbtn1. i write function onClientClick for this button as function refreshing() { location.reload(); } when i select item from DDL & click button then Page refresh occured SO my problem is.... I NEED same index/Item/value of DDL …

Member Avatar for scrappedcola
0
78
Member Avatar for sksingh73

i have got 2 cpp files & a header file, which i have included in all 2 cpp files. its like this [U]abc.h[/U] extern uint32_t key; [U]a.cpp[/U] #include "abc.h" uint32_t key; int main { ............. } [U]b.cpp[/U] #include "abc.h" int main { printf("Key: %.8x\n", key); ............. } now when i …

Member Avatar for nbaztec
0
97
Member Avatar for MaxDes

Hi all first post! I am attempting to read an XML and display certain portions of the XML in a datagridview. I was able to get one table at a time, but I am having trouble figuring out how to get ALL the info I want from the XML and …

Member Avatar for MaxDes
0
1K
Member Avatar for GaneshKumar1508

Hi to all, I have to highlight the search terms in the text area. I have one text Filed,search Button and text area. [QUOTE]After i have enter the search string in the text field whenever i click the search button it highlight the search terms which is available in the …

Member Avatar for fxm
0
142
Member Avatar for judithSampathwa

hi there, i have a datagrid view in C#. i got the data to be displyed from the database to the datagridview combo column, as shown below: [CODE] DataGridViewComboBoxColumn comboBox = (DataGridViewComboBoxColumn)dgvAction.Rows[0].Cells[1].OwningColumn; comboBox.Items.Clear(); comboBox.Items.AddRange(m.LoadUSEmp()); [/CODE] this code is loaded when the form loads but when it load i want to …

Member Avatar for nick.crane
0
138
Member Avatar for johndoe444

I see that there is only source that can be downloaded. As I don't have the root privilege, I can't compile and install apache. What alternative is there that would not require compiling and installing apache?

Member Avatar for JRM
0
72
Member Avatar for macca21

HEEEEELLLLLLP!!!! Here's what I have after hour upon hour of battling away at OOP... If anyone could fix my errors and help with a bit more of the development I'd be very grateful, I can't wrap my head around OOP despite the hours of reading and trying :( The task …

Member Avatar for snippsat
0
298
Member Avatar for rutaba

hie.. i am making a hiring website for labours.. where i want to send a text message notification to both the person being hired and the hirer when he hire a person but i have no idea how to send sms usaing php code.. i have surfed alot of web …

Member Avatar for rajeesh_rsn
0
170
Member Avatar for sharensla
Member Avatar for Fbody
0
2K
Member Avatar for wonderland

Hi, I'm having problems with word press footers site map. at the moment it's displayed like this: [IMG]http://i52.photobucket.com/albums/g9/Rydra/Footer-1.jpg[/IMG] I would like it displayed like this: [IMG]http://i52.photobucket.com/albums/g9/Rydra/Footer2.jpg[/IMG] I've tried looking in footer.php, but there is only this piece of code: [CODE] <ul id="bottomLinks"> <?php wp_list_pages('title_li=') ?> </ul> <ul id="bottomLinks"> <?php wp_list_pages('title_li=') …

Member Avatar for wonderland
0
325
Member Avatar for Quargar

Hello, I'm new to these forums, and have just started programming in assembly. I wrote a small program to print out the first command line argument, and it's not working. It goes like this: [icode] section .data empty db "The pointer was null",10,0 section .text global _start _start: mov rcx, …

Member Avatar for Quargar
0
249
Member Avatar for redZERO

Hey guys This is more of a question of how people generally do things. Often in programs involving a GUI, I need to have more than one logical 'screen', for example if you were filling in a form, you would click "Next" and the next 'screen' would appear showing completely …

Member Avatar for tizon
0
138
Member Avatar for kbar

Hi, I'm trying to find the number abcd such that a^b + c^d = abcd however, I'm running the code fine, but it's going to my second if statement, the one that's supposed to tell me that there's no solution. Am I doing something wrong or is there truly no …

Member Avatar for kbar
0
96
Member Avatar for Java1990

Hi I'm i beginner in java :$ and i have a problem .... with the code they want from me to write a program that reads and prints the number of occurrence of each alphabetical letter in the string . the program should call a method to creat an array …

Member Avatar for Java1990
0
204
Member Avatar for pt730

Hello, I am trying to pass some information to a new page, create a string array, and then use that information in additional code in the application. It seems to work fine until the last step, where the array values seem to disappear (goes null). Somewhere between when the new …

Member Avatar for pt730
0
82
Member Avatar for wewehalim

Hi, i need to make sudoku games in a website, i have database in mysql about the sudoku, each row contain sufficient information about one game. +-----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+--------------+------+-----+---------+----------------+ | game_no | mediumint(5) | NO | PRI | …

Member Avatar for wewehalim
0
468
Member Avatar for alllucky7s

So this is my problem: as the title suggests, I have a Labyrinth class that contains two binary trees made of two different kinds of structs that represent different kinds of rooms. The names are in spanish, so Arbol means tree, Laberinto is the labyrinth class and Sala1 and Sala2 …

Member Avatar for alllucky7s
0
210
Member Avatar for tizon

Hi guys, Need help with my project it is an offline personal dairy so i have to display calendar i did but the problem is it doesn't look like a calender at all it's just look like an collection of buttons i tried to set border as setBorder(1,1,1,1) but that …

Member Avatar for tizon
0
100
Member Avatar for Mongooseman

Is there a way to handle standard XML entities with the event-driven XML parser in PHP? I'm currently using an XML file to build a collection of objects and display a page based on those objects. I'd like my CData handler to handle text that includes standard entities, but as …

Member Avatar for Mongooseman
0
150
Member Avatar for Sandhya212

Hi, I use Fedore Eclipse IDE to run C++ code. I need to use the Scythe Statistical toolbox which implements random number generators from different functions (gamma, beta etc). I have added the toolbox's location to the path of header files in Eclipse and added the [CODE]#include "distribution"[/CODE] (available in …

Member Avatar for Sandhya212
0
163
Member Avatar for Roses89

Hey, My login form somehow isnt working and i cant find out why:S I tried shifting around the variables but it still wont work.The code is: [code] <?php $id=$_POST["empid"]; $pass=$_POST["password"]; if(empty($id)|| empty($pass)) { header("location:login.html"); } else { require_once("dbconn.php"); $sql = "SELECT empid,surname,firstname,jobid,jobtitle FROM employee,jobs WHERE empid='$id' AND password='$pass' AND jobs.jobid=employee.jobid"; …

Member Avatar for Roses89
0
143
Member Avatar for m.c.w.e.

HI, I have a question. Currently i am working on a sort of catalogue in excel where i also use vb codes. The user can easely search for products using an productnr. It shows all the specifications of that product. All this information is used out of another database. Secondly …

Member Avatar for vb5prgrmr
0
266
Member Avatar for oaktrees

I am reading in a string from a file which has the format $ 235.0 M. I need to convert this to a number and save the letter M somewhere else. Any pointers on how to strip off the $ and M? Thank you.

Member Avatar for oaktrees
0
136
Member Avatar for techie1991

I want to print a float number with it's digits extending to 20000 digits after the decimal i.e. if the number is 10/3, it should print 3.333333333333333333333333333...20000 or more times. So, how do I print something like that? Also, do tell the solution for C and C++ as well... The …

Member Avatar for nbaztec
0
173
Member Avatar for snufse

I have two TextBoxes to determine date selections (from date and to date). I am using Calender and let user select the desired dates. I am using the <Calendar.SelectedDate> method and it works fine. However, is there a way where the user can drag the mouse to the selected TextBox …

Member Avatar for sdaaaa
0
342
Member Avatar for astala27

Hi, I need to add link into echo phrase, and the 'Title' that is defined by the uploader, appear on the page. Can anyone help me about that subject. //Outputs the image and other data Echo "< =[COLOR="Red"]./file/".$info['file'][/COLOR] ."> <br>"; Echo "<b>Title :</b> "[COLOR="Green"].$info['title'][/COLOR] . "<br> "; Echo "<b>Description :</b> …

Member Avatar for Virtualbase
0
96
Member Avatar for saranraj.cmr2

Hi to all, I am developing web application in kohana php farmework. I want to do water mark image in this application. There is no library available in kohana php for this issues.. Checked in plain php. Its working well. but that same function not working in kohana framework php. …

Member Avatar for saranraj.cmr2
0
150
Member Avatar for tuomari

I am trying to build an SQL query to compare date in my txtDate box to one in access database for my database search-page. I'm clueless as to which is the best method to do this. Obviously just comparing the textbox value doesn't work. This is my current if-function to …

Member Avatar for tuomari
0
144
Member Avatar for vlady

Hello, Pls can somebody help me with time comparison between 2 scripts. I have already looked the documentation but I haven't found anything. I deal with following exercise: "Run this version of fibonacci and the original with a range of parameters and compare their run times." I intend to measure …

Member Avatar for vlady
0
148
Member Avatar for sugikrish

I attached screen shot with this thread. how we display data from database without null values.

Member Avatar for rajarajan2017
0
96
Member Avatar for Alazzawi

Hi everyone. earlier i wrote that i have a problem with the help file in my project, that it does not work under windows vista or 7. thanks god i figured it out that it need a MS help package to be installed to these OS so the help file …

Member Avatar for omoridi
0
111

The End.