64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ternor

Hello, this is my first post here, so thanks for your time and comprehension. English isnt my first language, so I'll be trying my best. OK, I'm in need for a tutorial where I can find examples on how to make use of files, bit operations and registers(whats a register …

Member Avatar for ternor
0
100
Member Avatar for gangsta gama

Ok guys, I have a problem. I am a total noob coming to php so was was going to set it up. I was following this tutorial: [url]http://www.youtube.com/watch?v=cSN34q47BXY&feature=related[/url] I got XAMPP all set up. But one problem, my computer can save .php files. How do I get this to work? …

Member Avatar for gangsta gama
0
92
Member Avatar for regina99

hey guys. i'm having trouble with looping a program. my assignment is to get the user to input a string and then display it backwards. i've successfully done this, but it's supposed to ask if you want to run the program again, and that's where my program fails. [CODE]public class …

Member Avatar for regina99
0
88
Member Avatar for VBNick

I literally picked up asm today. I have been trying to create a 3d software rendering engine in C++, and figured out doing things directly would be faster....but, I tried the following code: [code="cplusplus"] int _tmain(int argc, _TCHAR* argv[]) { int num, timestart, dur; timestart = clock(); for(int i = …

Member Avatar for VBNick
0
124
Member Avatar for eyewirejets

I'm trying to restrict the users input to the selected characters only. "W" "w" or "L" "l" Anything else entered, an error message should display. Can anyone please look at this and tell me what I'm doing wrong? Thank you [CODE] # User Enters either W = Win and L …

Member Avatar for jrcagle
0
118
Member Avatar for oldSoftDev

When I was using Python I created a program using basic knowledge of object orientation to compare between different cars. now when i switch to java I come up with a plan to compare lines I have created a point class and get the lines as well but now i …

Member Avatar for oldSoftDev
0
195
Member Avatar for scru

I know Python introspection feature are powerful, what I can't seem to figure out is how to get the name of the current class. Example: class Foo: def bar(self): print(classname) Then my output should be `Foo`. Bonus points if I can get which module it resides in too. Thanks!

Member Avatar for Ene Uran
0
135
Member Avatar for mattwaab

hey, i am working on this project, and have made it to the end of the hard coding part. Now i need to work out the bugs / get the thing to compile. I am having some trouble though as i am getting error messages that i dont understand. here …

Member Avatar for StuXYZ
0
96
Member Avatar for trihaitran

I just reinstalled OS X 10.5 Leopard on my laptop and restored my data/applications from a Time Machine backup. When I use urllib.urlopen() I get the following error: [code] >>> import urllib >>> u=urllib.urlopen(aUrl) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib.py", line 82, in …

Member Avatar for trihaitran
0
134
Member Avatar for ahmksssv

Hi frnds.... i am working on file handling.. I need to display text from my file... here i got everything, but the alighnment is totally looks like notepad...i want to display same clarity(styles) which my original file having... plz give me any solutions asap.. Thanks & Regards..

Member Avatar for almostbob
0
138
Member Avatar for thehivetyrant

I have currently built a database (based on IMDB) that i can add dictionaries too, list them and exit. [B]I will put the program so far at the bottom of the page, just paste it in and run ti to see what it's like.[/B] I am trying to add a …

Member Avatar for thehivetyrant
0
122
Member Avatar for MarMcD

Hello, I have to create a product class that holds the item number, product name, units in stock, and the unit price. I also have to create a java application that displays the same info. I have been working on this for three days now... I am getting frustrated because …

Member Avatar for javaAddict
0
233
Member Avatar for marcosjp

Hi! I'm using a C program to open PDF files with this code: [code=c] ShellExecute(GetDesktopWindow(), "open", "c:\\someFolder\\myFile.pdf", NULL, NULL, SW_SHOWNORMAL); [/code] Now I need to go furthrer; I need to open the PDF file at a certain page. I've tried [code=c] "c:\\someFolder\\myFile.pdf#page=5"... [/code] ...as is suggested in Adobe's docs, but …

Member Avatar for Prabakar
0
2K
Member Avatar for lion_crazz

Okay, so I am taking an intro class for java programming and my instructions for this program were to write a program that found the first 20 numbers that when divided by 2,3,4,5,6 all left a reminder of one and then when divided by 7, left a reminder of 0. …

Member Avatar for ddanbe
0
124
Member Avatar for winrawr

So I got past my last problem using new[], but now I seem to have a new one... I created a char***, var. The goal was to build each dimension of the array to be different sizes at different times, based on separate user input... Here is the code: [code=cpp] …

Member Avatar for Sky Diploma
0
302
Member Avatar for PinoyDev

Good day.! I am having problem with passing the parameter value. I have a page called index.php. This page has a textbox named "username" when the user login and type his/her user name in the textbox named "username" i want the data of that user to be displayed in the …

Member Avatar for PinoyDev
0
168
Member Avatar for nil

[COLOR=blue][B]Hello all,[/B][/COLOR] [COLOR=blue][B]I want autocomplete textbox facility like google in my application and i searched on the net and i found some articles that shows i've to use ajax(combination of javascript and xml) but they are using .dll file component but i don't want to use any kind of .dll …

Member Avatar for kanuja01
0
152
Member Avatar for JAGgededgeOB172

Hi, I'm having issues with a program that concept-wise sounds very simple. The program should read in data from a text file (attached a2.txt), and perform stack and queue operations upon the data. The data consists of long math problems, dealing with order-of-operations. The correct output that should be appearing …

Member Avatar for JAGgededgeOB172
0
216
Member Avatar for StandardsDT

I have a few assignments to get done, but I figured I'll post one to see if I'm the right track. If so then what I did will greatly help me. Here are the requirements [quote]Create a simple Dog class that has the following private fields (age (int), gender(char), name(string), …

Member Avatar for StandardsDT
0
152
Member Avatar for ithelp

Hi C experts, In my code I have got #pragma extern_prefix (push, ""); Some extern function declarations #pragma extern_prefix (pop, ""); So that compiler does not prepend anything to those extern functions , I get an error error #14: extra text after expected end of preprocessing directive Does anyone know …

Member Avatar for death_oclock
0
5K
Member Avatar for shinkelwars

Hi guys, Not sure where to ask this so I figured I'll start with C#. I would like to write a windows service that will allow some external device or authentication provider to log a user into windows. For example, a finger print reader can log a user into windows …

Member Avatar for shinkelwars
0
111
Member Avatar for chriscross86

hi, im doing a project on 'courier management systems' . i am using asp.net as the application and mysql as the database. im not clear on how to integrate mysql with asp.net... i would appreaciate if some description plus some examples are posted on...thank you

Member Avatar for freshfitz
0
137
Member Avatar for krispygrimace

I have written some code to dynamically allocate memory for a 2D matrix. I am using overload operator to perform functions on the matrix naturally. I am having memory issues (Unhandled exception at 0x... Access violation reading ...). Here is my class, header, and main code. The code builds fine …

Member Avatar for krispygrimace
0
169
Member Avatar for marjan_m

Hi, I need to get a table in javascript n i wrote this code: [CODE] //mainMenu is the table name var x = document.getElementById("mainMenu") //then i need to get it's left margin so i wrote var x = document.getElementById("mainMenu").style.marginLeft; [/CODE] But it is giving error that x is null. Can …

Member Avatar for marjan_m
0
171
Member Avatar for guest7

Hi, I wish to read the file twice. I am using ifstream to read the file. I tried using rewind(File pointer). But i get an error. How can i do it. Thanks

Member Avatar for guest7
0
2K
Member Avatar for sid78669

I wrote the following function for my assignment at college. The whole thing is working flawlessly. This function requires me to create a box on the screen as follows: [QUOTE] int console_Box(int row, int col, int l, int h, char edge, char top_btm, char ls_rs) This function displays a box …

Member Avatar for sid78669
0
99
Member Avatar for serkan sendur

i start to w3shools xsl tutorial and created one xml and xsl file and linked them together, after running the xml file i got the following error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh …

Member Avatar for serkan sendur
0
121
Member Avatar for cheapterp

Could someone help me figure out how to disable user accounts in ColdFusion? What I am trying to achieve is this: When a user makes 5 successive invalid attempts, his/her account will be temporarily locked for 20 minutes, after which they can try logging in again. If after the first …

Member Avatar for arrgh
0
155
Member Avatar for Rombosia

I have an application with Hotkeys installed. when the hotkey is pressed, the application comes to the topmost, or bottommost z-order. I have used SetwindowPos api. The problem, however, is that in as much as the window is the topmost, it is not active, so it does not receive input. …

Member Avatar for Rombosia
0
114
Member Avatar for bajanpoet

I'm trying to use VB.NET to insert the data in the current row of my datagrid into a table. I wrote the following code: [CODE] Dim vCustomer, vBulkQty, vItem, vBaseUnit, vEachQty, vEachUnit As String vCustomer = dgCustomers.CurrentRow.Cells(0).Value vItem = dgItems.CurrentRow.Cells(0).Value vBulkQty = dgItems.CurrentRow.Cells(3).Value vBaseUnit = dgItems.CurrentRow.Cells(4).Value vEachQty = dgItems.CurrentRow.Cells(5).Value vEachUnit …

Member Avatar for bajanpoet
1
224
Member Avatar for strobon

hi...can somebody give me a little help here. i get error message : 'file' object is not callable its a program that call shell script (shell script run "fusion.deb"). here`s the code: test.py [CODE]#!/usr/bin/env python import sys import os try: import pygtk pygtk.require("2.0") except: pass try: import gtk import gtk.glade …

Member Avatar for strobon
0
2K
Member Avatar for Stefano Mtangoo

I have Dictionary that I update time after time and the dictionary result get inserted to the wxListCtrl in report mode. The problem comes when I insert new data. It seems that the unicode character (u') is also get inserted as part of data. Is there any way to strip …

Member Avatar for Stefano Mtangoo
0
114
Member Avatar for ajithraj

I had learned that JVM will collect only the freed memory location during the garbage collection..That is if an object had a reference, then it will not be collected... My doubt is, will the JVM collect all the used location whenever it goes out of the method..That is . [ICODE] …

Member Avatar for ajithraj
0
168
Member Avatar for dollmar

gud day I made a software in which it is possible to save data to an Excel sheet. Now, I would like to program that one can open this sheet and the saved data is then (automatically) loaded into some textboxes of the forms in the VB software. The data …

Member Avatar for abbajee
0
150
Member Avatar for Jack Wetson

Hi, I have recently jumped into the realms of C# and I am having some trouble with editing properies accross threads. From what i have managed to research thus far i beleive i need to use the Invoke() method, however i am not quite sure how to go about this …

Member Avatar for Jack Wetson
0
168
Member Avatar for Everlong

I need some help with a project. I'm trying to print out all possible combinations of a number grid. For example: 1 3 2 5 4 2 4 3 1 5 5 3 4 2 3 4 3 1 5 2 5 3 4 1 2 The numbers are randomly …

Member Avatar for Everlong
0
227
Member Avatar for nandomendoza

Does anybody know how to indent in the java code and then once then one you run the application the output is displayed with the indentation you created. Anyone's input in this would be helpful.

Member Avatar for stephen84s
0
182
Member Avatar for Eyo

Hello Everybody, If you plz am fresh graduate and now am asked to do project and to use barcode..... really I dont know anything about barcodes, I've searched the internet , i knew that there are fonts... (code39,...) If i have a barcode field saved in db, if i read …

Member Avatar for Minolwen
0
91
Member Avatar for rajeesh_rsn

Hi I had a captcha script in my web page. Some thing like this.. [CODE]session_start(); $md5 = md5(microtime() * mktime()); $string = substr($md5,0,5); $captcha = imagecreatefrompng("images/captcha.png"); $black = imagecolorallocate($captcha, 0, 0, 0); $line = imagecolorallocate($captcha,233,239,239); imageline($captcha,0,0,39,29,$line); imageline($captcha,40,0,64,29,$line); imagestring($captcha, 5, 20, 10, $string, $black); $_SESSION['key'] = md5($string); header("Content-type: image/png"); imagepng($captcha);[/CODE] It …

Member Avatar for rajeesh_rsn
0
183
Member Avatar for mtramnes

I tried to search for other threads to answer my question but couldnt come up with anything that I could think of to describe what I was looking for well. My assignment is this: Write an application that shows the sum of 1 to n for every n from 1 …

Member Avatar for mtramnes
0
153
Member Avatar for neoseeker191

I have an ASP script that gets information from an Order Form. I have it so it displays the data. I would like to take the data displayed and send it in an email. How do I go about doing that. I've looked at tutorials on google but I dont …

0
92
Member Avatar for Himerz

Hi people. I have this code and I am stuck on trying to get a 'call by reference' to work properly. I need to convert Celsius to Fahrenheit and Fahrenheit to Celsius. I am not sure what is wrong with my code. Remember that I have to use a function …

Member Avatar for DemonGal711
0
177
Member Avatar for k2k

hi, i just have many questions regarding abstract class, please briefly explain if you may. thanks. 1. what is the difference between declaring public abstract class and abstract class ? 2. should abstract class have a constructor? i know by default it has one, but since abstract class doesn't have …

Member Avatar for masijade
0
145
Member Avatar for dmanw100

Hello! I'm just learning JavaScript and I was wondering if clients can view external JavaScript files? I would like to (potentially) use JavaScript to validate passwords to log into my site. Would this work/ is there a better way?

Member Avatar for almostbob
0
149
Member Avatar for guatemalagirl

HI! i need to create a program that lets user input as many numeric grades as they like.... in return they get the letter grade for each and the their grade average, minimum, and maximum. this is all i have so far...... import TerminalIO.KeyboardReader; public class LetterGradeWLT { public static …

Member Avatar for VernonDozier
0
100
Member Avatar for slimjimmer

Hi. I have written a program to build an array and move values around until a point of "equilibrium" is reached. It then records how many of each number there are and outputs them to a file. My program works in part, but sometimes encounters a seg fault (I think …

Member Avatar for slimjimmer
0
151
Member Avatar for Lone-Wolf

I just started nightschool to learn c# (learn programming at all) We got an exercise where we need to test for a palindrome We were asked to put the test in a function and then call the result in a messagebox. I'm kinda stuck on the last part the calling. …

Member Avatar for Lone-Wolf
0
102
Member Avatar for C#Newbie

Hi. I am working on my Final for my Intro to C# class so yes I am new and my code is pretty unprofessional probably. We are required to use a array or a class to read addresses from a text file and display them in the GUI. We should …

Member Avatar for C#Newbie
0
519
Member Avatar for h3llpunk

Hi, I tried creating multiple bitmaps on top of each other but cant seem to get the result i want: currently i have one bitmap that is the background and another bitmap that is supposed to be an animal and will be on top of the background. this is my …

Member Avatar for h3llpunk
0
204
Member Avatar for drew7py

I am trying to create an array of integers from a list of strings to do some calculations, but all I can get is an array of strings or an error. Does numpy have any functions to do this? any help at all would be much appreciated. infile: 23 CL …

Member Avatar for Ene Uran
0
3K

The End.