199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pula.alt

I'm making an application that converts units. I cant not for the life of me figure out why this isnt working. The answer returned is 0.0 when I convert from Fahrenheit to Kelvin or vice versa. The K to C conversions work though. Any insight would be amazing. This is …

Member Avatar for pula.alt
0
140
Member Avatar for anjoz

help on this enrollment system in cprogramming when I run the programming the output sometimes fall through example when i enter the student number name and address but when i press enter in the address it skips the scanf in the status and goes to the gender it alse does …

Member Avatar for Adak
0
2K
Member Avatar for jtaylor-bye

Hello all. I have made a basic page in html with a table in it. The top row in the table displays a picture. When I designed and viewed it in html format the table started at the top of the page. I set the rest of the layout up …

Member Avatar for vaultdweller123
0
91
Member Avatar for Entropy1024

I have a VB6 program running fine on the machine I wrote it. When I create and exe of the program that works also. If I export the program to another machine I get a 'Class not registered. Looking for object with CLSID {00000010-0000-0010-8000-00AA006D2EA4}' error. After a bit of research …

Member Avatar for FSandlewould
0
4K
Member Avatar for Victor C.

I am having a problem with my final assignment. Now it began with an apology from my prof on the said assignment because for the pass 9 weeks we have done projects that has focused on a small part like change colors, stream, inheritance, etc. Now the final is to …

Member Avatar for baris115
0
115
Member Avatar for Robertbra

Hey Guys : Here The problem is :to have a program to check the -(sys.argv) is long enough to have more than 3 elements if not then print "input more " -check (sys.argv) contain a specific elements for ex(P) ,& if P is found in the given elements then it …

Member Avatar for griswolf
0
117
Member Avatar for nquinlan

I am looking for an ecommerce solution similar to [URL="http://simplecartjs.com/"]SimpleCart[/URL] in the fact that it is one page and allows PayPal (or Google Checkout ect.) to handle the heavy lifting. However, I need something that can calculate shipping costs and deal with in stock/out of stock items. I would really …

Member Avatar for phillip654
0
141
Member Avatar for ITgirl2010

[code=php] class Item(object): def __init__(self, ID, name, price, stock ): self.ID = ID self.name = name self.price = price self.stock = stock def getID(self): return self.ID def getName(self): return self.name def getPrice(self): return self._price def setPrice(self,value): self.price = value def buyStock(self, howMany): self.stock += howMany def sellStock(self, howMany): if howMany …

Member Avatar for TrustyTony
0
121
Member Avatar for PierlucSS

For the solution, I cannot use any postback methods, because this is all working through ajax. The solution need to be implemented in the asp.net code. I have a `List<WebPage>` that contains a list of Links `(List<Link>)` and I need for all the links to bind repetitive information such as …

Member Avatar for kad1r
0
217
Member Avatar for TomB1988

Hi there, The program in hand must retrieve a bunch of data from an SQL Database (currently stored in a DataTable), fiddle around with the data, and then upload the changed data to the same SQL database. Everything works fine at the mo apart from the final bit, uploading to …

Member Avatar for microdata
0
144
Member Avatar for aynamohol

Hi Advanced Devs, I am very new to php. This is my learning moment. So, Help me. I have added a zip folder with my files. I also have expoted my database as zipped folder. Please help me with this topics. Please. Samrat

Member Avatar for aynamohol
0
116
Member Avatar for echellwig

Hi, I am trying to write elements from a list that I have created to an outfile using a for-loop with this code: [CODE]for j in range(int(Allele[i])): outfile.write(' allelelocus[j] * ')[/CODE] However when I do this I just get a whole bunch of allelelocus[j] in my out file. I was …

Member Avatar for echellwig
0
155
Member Avatar for aframe

I have a Python script that creates a Tkinter window running in Ubuntu. In the script I have an if/else statement that changes the background color based on a variable. That all works. What I cannot figure out how to do is when it changes the background color, I also …

Member Avatar for woooee
0
2K
Member Avatar for bushman_IL

Hello, I am trying to send an object over a socket using C#. I originally used a memorystream and binaryformatter, but to do this I need to include a reference from program1 to program2. I don't want to have a reference, so I just want to be able to transform …

Member Avatar for bushman_IL
0
1K
Member Avatar for Wingzx20

hi, am currently working on a assignment in which i hace to make a graphic using the g class blink on and off for certain intervals. i was wondering if someone would know how to make a graphic do so since i only know how to make a picture blink

Member Avatar for Diamonddrake
0
520
Member Avatar for mastermoo420

I put the code on a pastebin thingy so this post would be easier to read. [url]http://paste.pocoo.org/show/229111/[/url] Anyways, basically, I have this 250MB text file that has a string of letters. 50 letters per line, and LOTS and LOTS of lines. I tried doing this before, but I got a …

Member Avatar for mastermoo420
0
110
Member Avatar for argio

Alright guys I have a question. I am trying to write a custom data type. Let me explain a little further. I'll start out at the base. te_char (you don't really have to worry about this. >char c_char >rgb color te_word (weird part) >int type (based on an enumeration >vector …

Member Avatar for Radical Edward
0
160
Member Avatar for CleverSunshine

Hello, this my first thread and I need some supper fast help I'm on a deadline... I have applied for a Microsoft program but part of the application process is to complete this assignment... You are to create a console application that accepts exactly one command-line argument. If it doesn’t …

Member Avatar for CleverSunshine
0
184
Member Avatar for gangster88

Can someone help me with this code.. I get an error when I try to execute it [code] from graphics import * def main(): colour = raw_input("Enter the colour: ") win = GraphWin("Patch", 200, 200) drawCircle(win, 50, 50, colour) def drawCircle(win, x, y, colour): for i in range(5): for j …

Member Avatar for vegaseat
0
203
Member Avatar for madamwildlife
Member Avatar for AuburnMathTutor
0
107
Member Avatar for ibdatx

I have this code and having matched the input, I want it split into two separate variables. The input is in the form of a range (e.g: 1-10) and is written in perl. Here is the code: [ if($pr=~m/^([0-9]+)\s*[-]\s*([0-9]+)$/){ print "Match"; } else { print "Not a match"; } ] …

Member Avatar for ibdatx
0
123
Member Avatar for msalvador

Thank you in advance for your help: I really don't know much about Javascript but I'm trying to use it on my web site. Here is the code: [CODE]function changeCategory() { //ID#1 document.getElementById('category_106634').setAttribute("class","mind") document.getElementById('category_106634').innerHTML="MIND" document.getElementById('category_106634').href="http://www.voyagetobetterment.com/_blog/Voyage_to_Betterment_Blog/tag/MIND/" //ID#2 document.getElementById('category_106446').setAttribute("class","movie") document.getElementById('category_106446').innerHTML="MOVIE" document.getElementById('category_106446').href="http://www.voyagetobetterment.com/_blog/Voyage_to_Betterment_Blog/tag/MOVIE/" }[/CODE] The program works fine if the ELEMENT#1 is above ELEMENT#2 …

Member Avatar for msalvador
0
171
Member Avatar for FudgeCoder

Here is the code: [CODE]#include <cstdlib> #include <iostream> using namespace std; //Declare function int triangle(int num); int main() { int n; cout<<"Enter a number and press RETURN: "; cin>> n; cout<<"Function returned:"<<triangle(n)<<endl; return 0; } //define function int triangle(int n){ int i; int sum=0; for(i=1; i<=n; i++) sum=sum+i; return sum; …

Member Avatar for Taywin
0
156
Member Avatar for Galdzor

Hello, Ive started to programming a few days ago, I'm totally new never done it before. Ive read through the internet for some knowledge about programming. I used the program code blocks to program yesterday but I got some errors in it so I uninstalled it, it wasnt really errors …

Member Avatar for Kanoisa
0
181
Member Avatar for Buolbear4444

I wrote a console calculator application in Microsoft Visual C++ Express 2010 and built it as release. It runs fine on my computer but when I moved it to another it said it needed a certain .dll which was not previously, and said reinstalling the application may fix the problem, …

Member Avatar for venomxxl
0
170
Member Avatar for sadhawan

Hi Guys , i have files which are of different sizes.How can i insert a text file which has more than 4000 characters in database .My table field is of type nvarchar so i cannot have more than 4000 characters ,is there a way around?

Member Avatar for sadhawan
0
131
Member Avatar for vbx_wx
Member Avatar for Radical Edward
0
130
Member Avatar for tiddster

Does anyone know how to download the index page from the website using a python script? For a start, I don't understand the concept, google doesnt seem to throw up any relevant articles so am a little lost!

Member Avatar for Tech B
0
152
Member Avatar for gdp_87

Hi, I have setup a custom membership provider which works fine locally but when uploaded onto the host which is shared btw doesnt work due to the server operating in medium trust mode. The membership provider is pretty overkill for me i just need a really simple login/authentication to protect …

Member Avatar for gdp_87
0
70
Member Avatar for anita_jojo20

plz help meeeeeee my program include 5 people that if choise 1-wrte name people 2- ACCOUNT 3-SUPPLY account and with add 1 people choise 1-SUPPLY account 2-update of account plz i can not write plz how i write this program :'(

Member Avatar for griswolf
0
183
Member Avatar for andydeans

hi, i have a database that i have done for a client, which has about 5 CREATE VIEWS in the mysql database, i need to backup the database and then import it into a new database for another client who wants the same thing. problem i have is i can …

Member Avatar for andydeans
0
113
Member Avatar for Inny

Ive accidently deleted something needed in the body I think for this code, but I cannot work out what it needs. I think the descarea div is missing? Can you help me rewriteit? [CODE]<div class='row4' style='position:absolute; background-color:yellow;border:1px solid #000000; padding:10px; display:none' id='miniTopic'></div> <script> function Request() { if (window.XMLHttpRequest ) { …

Member Avatar for Inny
0
111
Member Avatar for dani_member

Hello Daniweb users, I am developing a small client for messaging, the messaging part is okay! :) Now the problem is with the GUI. I want to implement a "tabbed chat interface", similar to that of MSN or iChat. I am implementing a JTabbedPane for each "window". My problem is, …

Member Avatar for dani_member
0
415
Member Avatar for protocol

Hi, how can i send message from mobile to pc then the pc must retrive data from database, finally send it again to mobile? can any help me please

Member Avatar for Luc001
0
69
Member Avatar for echellwig

Hi, I am having some trouble using the int function on an element of a list. My code currently looks like this. [CODE]for j in range(int(L)): for k in range(int(Allele[j])): alleleslocus_j.insert(k,loci.readline())[/CODE] where Allele is a list of length L inputted by the user. I am having problems with the second …

Member Avatar for echellwig
0
182
Member Avatar for eggmatters

Hi all, My cpp is rusty as all get out and I'm wondering why this doesn't seem to work. I've basically created a .cpp file with all of the structs and lower level data types in it. One of these is an enumerated type. The file. structs.cpp is as follows: …

Member Avatar for eggmatters
0
148
Member Avatar for MrBlack

I created 2 winforms in one i create a button .when i click the button i want to go to the next form(form2) and close the form1. plz give me the code . this is my code it is not working form1 [CODE] namespace MyTest1 { public partial class Form1 …

Member Avatar for MrBlack
0
101
Member Avatar for qwertymk

Lets say I want to show [url]http://www.whatever.com/longWebPage.html[/url] and [url]http://www.someOtherDomain.com/alsoALongPage.html[/url] and [url]http://www.ranOutOfNames.com/youGetThePoint.html[/url] All on one page with one scrollbar. I want it to seem like I copy pasted all three sites one after another on my page. I tried using frames but that splits up the window into parts. What I …

Member Avatar for qwertymk
0
87
Member Avatar for frantonio

I am trying to write a program in Assembly (IA-32 architecture), that reverses the string input from the user. I've tried to use push and pop, but I can't seem to get any output. Here is the code. Any Suggestions? INCLUDE Irvine32.inc .data str1 BYTE "Enter a string of characters: …

Member Avatar for wildgoose
0
3K
Member Avatar for Jeronim

Topic title is not the best but nvm I have been looking for this on internet but cant it find anything useful. [CODE]#include <windows.h> void main() { ShellExecute(NULL, "open", "http://dreamincode.net", NULL, NULL, SW_SHOWNORMAL); }[/CODE] This is function which I have found on net to open URL, problem of this function …

Member Avatar for Jeronim
0
1K
Member Avatar for bubacke

hi all, i tried this code, but it doesnt work, it says vector subscript out of range: (sorry, i just dont understand how to correctly post code, if someone could tell me, please?) #include <iostream> #include <vector> using namespace std; vector<int> v; v.push_back(1); v.push_back(2); if (2 < v.size() && v[2] …

Member Avatar for bubacke
0
132
Member Avatar for Manny7

Hey there, i'm beginner programmer in PHP and try on my web add cool url. I've this simple rewrite rule that make from url [B]page.com/index.php?id=about[/B] this url [B]page.com/about[/B] [code] RewriteEngine on RewriteRule ^(adm|img|content)/(.*)$ $1/$2 [L] RewriteRule ^(.*)$ index.php?id=$1 [L,QSA] [/code] But now i wanna to try some harder, e.g. i've …

Member Avatar for storm123
0
105
Member Avatar for Grep

Hi all, In order to run an excel macro, I need my personal.xls excel file open so I open it along with the file I'd like to run the macro in. Problem is when I close the program I use save/close. But for some reason it still pops up a …

Member Avatar for mitchems
0
957
Member Avatar for julzk

Hi all, I have a query that outputs 4 fields from a DB. Each row contains data like so: [code] $id = 1; $name = John; $items = 2; $price = 4.2; $saleprice = 2.0; $id = 2; $name = James; $items = 1; $price = 1.01; $saleprice = 1.0; …

Member Avatar for chrishea
0
187
Member Avatar for Dimansu

hi, I have a textbox where i dont want numbers to be typed.I have a code for it but when the user types only letters and goes to a new line and saves it wont allow to save.How can i fix this? Match matchFullNameRegex = Regex.Match(fullNameTextBox.Text, "^[a-zA-Z ]*$"); if (!matchFullNameRegex.Success) …

Member Avatar for ddanbe
0
84
Member Avatar for loly

hey guys .. ausome forum ... i know the basics of c programming but i am going on to the next level and i am having some diffculties ..with multi-threading ... theres this program i read but i couldnt solve ,, hope some one here knows how to help me.. …

Member Avatar for raviranjanprasa
0
2K
Member Avatar for gedas

hi guys i have been researching about wii remotes and that they could be used to create interactive whiteboards. the software for interactive whiteboard originally has been created by johnny lee in c# well im not an expert in c sharp nor in java :) but i found a version …

Member Avatar for gedas
0
92
Member Avatar for ryan461

I've got a couple of pdf's on python, but im having trouble grasping how to build classes. Was trying to do it for a poker program and i think im in over my head with that idea. (its a bit big just doing it with functions). So id like an …

Member Avatar for ryan461
0
127
Member Avatar for Jihad

I am developing a website,where I am using windows authentication for my connection. I want to change that to server authentication. I want to know what are the steps needed, at what should I watch out, and is there any problems that will appear in my project due to this …

Member Avatar for Rapish
0
180
Member Avatar for serkankucuk

I have a Windows application. I want to convert windows app to website, but with no differences on code. How can I do this convertion, please help me?

Member Avatar for ennis
0
121

The End.