199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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] … | |
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 . | |
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 … | |
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; … | |
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, … | |
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 … | |
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 … | |
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): """ … | |
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 … | |
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 … | |
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[]) … | |
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 … | |
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..! | |
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 … ![]() | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
is their any body tell me the Difference between int* a; and int *a; ? | |
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=') … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | … | |
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 … | |
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 … | |
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 … | |
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 … | |
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"; … | |
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 … | |
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. | |
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 … | |
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 … | |
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> … | |
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. … | |
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 … | |
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 … | |
I attached screen shot with this thread. how we display data from database without null values. ![]() | |
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 … |
The End.