199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pymatio

I have this code: [CODE] import pygame from pygame.locals import * from sys import exit from random import randint from sys import argv from gameobjects.vector2 import Vector2 def Intersect(s1_x, s1_y, s2_x, s2_y, image): if (s1_x > s2_x - image.get_width()): if(s1_x < s2_x + image.get_width()): if(s1_y > s2_y - image.get_height()): if(s1_y …

Member Avatar for Clueless86
0
184
Member Avatar for NavyMan

I realize this code has been seen a million times already. I am trying to 'start' on part 3 of this. I do not wish for it to be done for me just a starting point for this subclass. These are the directions: Modify the Inventory Program so the application …

Member Avatar for BestJewSinceJC
0
112
Member Avatar for nissan

Hi, I got the following question: We have an AVL tree with n nodes (numbered from 1 to n). Each node i contains a weight - wi which is an integer. Pi is the set of the ancestors of the node i, and w(Pi) is the set of weights of …

Member Avatar for Saschakil
0
75
Member Avatar for Sunyah

I need help with commenting this code. I bet it is easy but I am a newbie and i am really bad in it. Can anyone help me ? The code that should be commented : [url]http://www.opengl.org/resources/code/samples/glut_examples/examples/scube.c[/url]

Member Avatar for mrnutty
0
142
Member Avatar for Antinaris

I want to use ASP.NET to do video stream. But I didn't know how to start. Any sugestions? Thanks

Member Avatar for Ramesh S
0
890
Member Avatar for andrewjm

I am trying to create a program that will store user input into nodes of a linked list. I want the user to only have to input the data they wish to be stored, so I am trying to figure out a way to automate the naming of the new …

Member Avatar for BestJewSinceJC
0
114
Member Avatar for mzprog

Dear All, I have a problem, i need to align all components(JLabel,JTextField,etc) to right in the JPanel. Is there any layout method which can set the layout of the jpanel and then adding any jcomponent is aligned as the JPanel. thanx in advance

Member Avatar for BestJewSinceJC
0
294
Member Avatar for ayuscomeyh

update.php [code] <?php include 'recipe2db.php'; // get value of id that sent from address bar $id=$_GET['id']; // Retrieve data from database $sql="SELECT * FROM recipe WHERE id='$id'"; $result=mysql_query($sql); $rows=mysql_fetch_array ($result); ?> <form name="form1" method="post" action="update_ac.php"> <table border="1" cellspacing="0" cellpadding="3"> <thead> <th>name</th> <th>ingredient</th> <th>how to cook</th> <th>category</th> </thead> <tr> <td> <input …

Member Avatar for arajapandi
0
118
Member Avatar for anindo87

hiii everyone, I'm novice to this technology. I'm facing a problem in project development, in which I'v to collect the data temporarily during a form fill up which need to contain different details about a person which will be classified as personal details, academics details, project and internship details, achievements …

Member Avatar for anindo87
0
99
Member Avatar for abu taher

my form window sate (property) is maximized. this is run maximized before. but today it run normally. but when I manually maximized it then it would maximized. what problem with it.

Member Avatar for abu taher
0
102
Member Avatar for Katvillan

Please check my code, it has no error but there is something wrong.. I am trying to generate unique ten numbers from 0-99. then insert/store the generated number in an array(check[]) because later, after filling the array (check[]) with ten numbers, I am going to use it to another fuction …

Member Avatar for MrNoob
0
170
Member Avatar for bodikon

Hey All! I have searched around on Google and have found nothing! I want to know how to make custom controls in C#. But customly designed. For example I don't want to use the custom c# 'Button', but design my own in Photoshop, and bring it in giving it all …

Member Avatar for Diamonddrake
0
353
Member Avatar for GDICommander

Hello everyone! I'm having a bad time trying to find a solution to my problem: I'm developping a client-server application. On the server side, I am calling a method, Recoit (receive), that calls internally msgrcv(), a UNIX system call for message-passing purposes. The problem is that I always receive a …

0
74
Member Avatar for kako13

Hi, In [B]search_results.php[/B] I have a variable named [B]$path[/B] which display something like: [I]C:/documents/personal/home.doc[/I] I would like to create a [B]button[/B] that link to a new window which is going to display: [I]C:/documents/personal/home.doc[/I] Right now is being displayed in search_results.php like this: [CODE=php] echo "<td align=left bgcolor=$bgcolor id='title'>&nbsp;<font face='Verdana' size='2'>$path</font></td>"; …

Member Avatar for Airshow
0
168
Member Avatar for zachabesh

Hey all, Working on a medium sized Tkinter app. I have it working fine, but I feel like the app isn't as clean as I would like it to be, namely because I have a million labels and different widgets and I can't figure out what to call them... For …

Member Avatar for bumsfeld
0
93
Member Avatar for shaiss

I can't figure out why this snippet of code isn't working :facewall: any ideas? [code] $productref = $order_detail[$i][2]; //#2 is the product ID $orderqty = $order_detail[$i][3]; //#3 is the SKU #[/code] The Array: [code] $order_detail array 0 array id_order_detail string = 1 product_id string = 7 product_qtantity string = 1 …

Member Avatar for Airshow
0
125
Member Avatar for zeusofolus

I have a table with entries for ItemID and Amount ... I am querying this table and displaying the contents from the previous date by itemID and amount. I have the array grouping the items by Item ID what would like to be able to do is to get a …

Member Avatar for zeusofolus
0
138
Member Avatar for penguin22

Hi i can not seem to find out how to put the output of mxmlc file into an output this is wat i have [code=python] os.system("mxmlc.exe swick.swc -output location/swiff.swf")[/code]

Member Avatar for JasonHippy
0
142
Member Avatar for Leniel

The problem ask to enter numb of students up to 100. but the user enter let's say 10. how do i manage to do that in arrays. Sorry if is a bother but i'm a newbie lol.

Member Avatar for Leniel
0
115
Member Avatar for ddanbe

First I thought it had something to do with that new "automatic properties" feature of C#, but when I used the normal scheme for properties I got the same error message : [COLOR="Red"]Cannot modify the return value of 'AxisTest.Form1.Axis.XOrg' because it is not a variable [/COLOR] Wonder what is wrong …

Member Avatar for sknake
0
78
Member Avatar for Lukezzz

I wonder what the way is to Login to my FTP server with encrypted UserName and Password ? Normally when you login to a FTP Server, the UserName and Password travels as plain "text" wich could be "Hijacked" on the way. I wonder if there is a way to send …

Member Avatar for Lukezzz
0
180
Member Avatar for penguin22
Member Avatar for summey

I have a program that you can see below. [URL="http://www.summeylabs.com/images/prog.jpg"]http://www.summeylabs.com/images/prog.jpg[/URL] It has a textbox, button, menu, and listview. What the application does is you type in a machine name into the text box hit search it will connect to the machine delete a file i have coded with in the …

Member Avatar for sknake
0
95
Member Avatar for kashn

Hi, I have made a DLL coded in C#, and and executable in C#. I've already have the DLL referenced in my Exe project, so i cannot reference the DLL back to the Exe because it won't let me. Now what I need to do is, call a function within …

Member Avatar for kashn
0
164
Member Avatar for Acegikmo

I am currently writing a weapon class and a projectile class, to use in a top-down game. However, I can't seem to be able to load images in a class. It works in the main function, where I do it like this: [CODE]Image bulletImage =getImage(getCodeBase(),"bullet_machinegun.png");[/CODE] However, this doesn't work inside …

Member Avatar for llemes4011
0
111
Member Avatar for Bhilal

how can i don't allow that the picture load again i mean when i refresh my page it loads picture again how can i solve this problem that the upper part of the page will refresh the down part not. I wrote this but it doesn't work on chrome and …

Member Avatar for Airshow
0
74
Member Avatar for dspnhn

hello all, Is there some way that i could create a menu just as we all use in various applications that pops up on mouse right click event with loads of options.......it would surely help me save a lot of buttons...

Member Avatar for johnly
0
104
Member Avatar for furqankhyraj

i make that program but this program is giving an error please debug the error #include <conio.h> #include <stdio.h> int main() { int i; printf("This is the first line.\n"); gotoxy(10,4); printf("This is the second line.\n"); gotoxy(20,8); printf("And this is line 3.\n"); return 0; } Thanks,,....

Member Avatar for Ancient Dragon
0
167
Member Avatar for arunajasmine

Hi, i am doing an application like a Form builder.. I am having a design page where i am generating the Fields using JQuery and displaying them each in a Div in the Preview panel of the same page. In my code i am saving all the Fields in the …

Member Avatar for JugglerDrummer
0
149
Member Avatar for speedy gonzalos

I am working on vb.net Windows Application with an Access database. The program that i am trying to develop is for stock/inventory control. The update works when i update the first time, but then when I want to update another record it just wont update. I have to stop running …

Member Avatar for speedy gonzalos
0
106
Member Avatar for darab
Member Avatar for sknake
0
134
Member Avatar for iamsmooth

So my program is taking input from the user, so it's storing it in a string known as x. But I don't want x to take the input after a hard return, it should keep reading until it hits a certain string, let's say "END", so until the user types …

Member Avatar for Duoas
0
324
Member Avatar for Silvershaft

Is there any good 2d game making library for kinda noobs? I've tried alegro but it doesn't work good somehow. If you know any tell please! Thanks

Member Avatar for swinefish
0
106
Member Avatar for metalclunch

Can anyone please tell me what does the this Function do? I understand everything till the "(n * GetPower(n, power - 1))" part. I just can't understand it. I do realise what the "n * " does, it multiplies N to the other side, and I also get what "GetPower" …

Member Avatar for metalclunch
0
91
Member Avatar for babbu

hi i just installed windows 7 version and i am getting this error while running my vb project [code] The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. [/code]

Member Avatar for babbu
0
82
Member Avatar for CFROG

I'm working on a script that lists the number of additional records associated with a record id and returns the number as well as a link to each additional record. It works fine for the first record ... it tells me "4 additional records: and lists the links 1, 2, …

0
73
Member Avatar for cmrhema

Hi, I want to round of the salary amount to the nearest 0.05. eg. if my salary is 1000.23, it should be rounded to 1000.25 and if the salary is 1000.26 it should be rounded off to 1000.30. The Math.round function is not helpful in the above sceneario. Suggestions pls …

Member Avatar for ddanbe
0
370
Member Avatar for southafrica1

Hi All I've seen this topic discussed in various forums, but that was awhile ago and they didn't really answer my questions. I'm looking for a version of py2exe that works with python 3.0.1. As far as I know, there isn't one that has been developed yet. Has one come …

Member Avatar for southafrica1
0
175
Member Avatar for lil_Is

Hi all, I know a little bit of thread but the problem is that I did not know how to implement it to my code. I have this code that send sms but when the sms is send, it sent successfully but the message that is sent is only half …

Member Avatar for chandiusjp
0
156
Member Avatar for KimJack

Hi, I really hope that someone can give me a little advice. I am working on a program that reads a text file formatted as follows: Bike, Schwinn, 45.00 Car, Mercedes, 98,000 ... I am writing a program that will read this text file and write each item in a …

Member Avatar for KirkPatrick
0
124
Member Avatar for BlkR

Hi, Having troubles with the conversion of date in a textbox i think.... currently txtDate.text has the date format of dd/mm/yyyy and im trying to grab data from the database that is equal to that date and put it in a listview. Problem Im haivng is the conversion from MM/dd/yyyy …

Member Avatar for sknake
0
130
Member Avatar for etm9413

Hi, I am new to this Forum and I hope my question is not out of scope. The following 4 lines of C# code allow me output specific fields from my XML to an HTML file (result.html). The code works fine when I have an XML file (sample1.xml) and an …

Member Avatar for etm9413
0
152
Member Avatar for shobhitzone

Hi All i m reading Xml file attchment in email using pop3. but i m getting extra char in xml after xml read. [code=xml]<FinalDraft DocumentType=3D=22Script=22 Template=3D=22No=22 Version=3D=221=22> <Content> <Paragraph Type=3D=22Shot=22> <Text>=E2=80=9Clighting is everything=E2=80=9D</T= ext> </Paragraph> </Content> </FinalDraft >[/code] like -- =22 and 3D <T=ext> pls help me and give me …

Member Avatar for shobhitzone
0
113
Member Avatar for riyas_26

hello experts, i am developing a site which includes playing video.. In the index page one default video should be played. i bound all the categories in the dropdown control.. when i change the category in dropdown it lists all the videos in that category. it works fine.. But the …

Member Avatar for riyas_26
0
107
Member Avatar for penguin22

When i try to build a visual studio solution it does not want to build so far this is what i have [code]os.system("devenv.exe filename.sln /Build")[/code]

Member Avatar for penguin22
0
158
Member Avatar for tomtetlaw

Is there any libraries that can connect two or more computers that are on a lan together and send data to eachother?

Member Avatar for Nick Evan
0
92
Member Avatar for GregStoltz
Member Avatar for KirkPatrick
0
69
Member Avatar for dorkwad

i am a real noob in php i have a php url say [url]http://xxxxxx.php?chat=[/url] if i give zzz at the end of the url like this [url]http://xxxxxx.php?chat=zzz[/url] the output is yyy i want a script to get the zzz from another script using $_REQUEST['msg'] and the final output of the …

Member Avatar for dorkwad
0
105
Member Avatar for soheilshoolookh

hi everyone, I'm to some extent beginner in java. first of all let me explain a bit about our project and then I will explain the problem. In our project there are Agent programs sending their Data via UDP connections to the Server program, Server performs some math on data, …

Member Avatar for quuba
0
297
Member Avatar for kako13

Hi, A user go to search.php and input the term. If the user want to search for an exact prhase it add to the search term " " just like Google do. Example: "apple" But when the variable is passed to search_results.php it look like this: [CODE=php] //search_results.php $var = …

Member Avatar for kako13
0
174

The End.