64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for mohankumar554

hi, how to get the database values into drop down box in python... how to configure the dropdown box....

Member Avatar for vegaseat
0
168
Member Avatar for Muincat

Hi! After many years of not doing any web design at all, I have a neighbor that has hired me to design a basic website for her business. I've set the page up with an iframe because I figured then I would only have to update menu links on that …

Member Avatar for Muincat
0
153
Member Avatar for javaAddict

Hi everybody, I have found these books [URL="http://www.amazon.com/Learning-OpenCV-Computer-Vision-Library/dp/0596516134/ref=sr_1_1?ie=UTF8&s=books&qid=1242936833&sr=1-1"]Learning OpenCV: Computer Vision with the OpenCV Library[/URL] from [B]AMAZON[/B] and this: [URL="http://www.papasotiriou.gr/product.ebook.asp?pfid=1761941&prid=1016178"]Learning OpenCV[/URL] from my [B]LOCAL[/B] store Which one do you suggest to buy? Should I wait and order the first one? OR is the second at my local store as good …

Member Avatar for jephthah
0
101
Member Avatar for koolhq

Ok I am making a website and I have apache 2, php, mysql. I want users to be able to create a website(i got that part, it is easy) but I want user.example.com to redirect to example.com/user with a .htaccess file and sorry this is in the wrong section can …

Member Avatar for koolhq
0
152
Member Avatar for Lukezzz

I am writing 1 line to a file and close the file. Then after a few seconds the file will be open and written to again but then when using the code the string is overwritten. What I want to do is to continue write on next line. I am …

Member Avatar for Lukezzz
0
90
Member Avatar for efficacious

Hi everyone, Major C# newb here. I literally just started learning the language a few days ago.. I've been using just a txt editor and console to compile. I've gone through a beginner tutorial and I feel like I pretty much understand syntax. But now I'm trying to get a …

Member Avatar for ddanbe
0
141
Member Avatar for johnnydarten

I am a C++ beginner and I am trying to write a code about an application for dynamic allocation in memory which uses chained hash tables to implement some data about persons iam using a no as a key and a name as my data I defined the class tables …

Member Avatar for johnnydarten
0
111
Member Avatar for lamiv007

Hello, I'm getting an error [B]"Column count doesn't match value count at row 1"[/B] [CODE] <? include("db.php"); $ClientsName=$_POST['client']; $PrgNo=$_POST['prgno']; $PrgName=$_POST['prgname']; $TrainerName=$_POST['trainer']; $Dates=$_POST['dates']; $Days=$_POST['days']; $ProfFee=$_POST['fee']; $TrainerFee=$_POST['trainerfee']; $ReimbExp=$_POST['rexp']; $HandoutChg=$_POST['handchg']; $InvoiceNo=$_POST['invno']; $TotalInvAmt=$_POST['invamt']; $FeeRecd=$_POST['feerec']; mysql_connect($host,$username,$password); @mysql_select_db($database) or die("Unable to connect to db"); $query = "INSERT INTO tcg VALUES('$ClientsName','$PrgNo','$PrgName','$TrainerName','$Dates','$Days','$ProfFee','$TrainerFee','$ReimbExp','$HandoutChg','$InvoiceNo','$TotalInvAmt','$FeeRecd')"; mysql_query($query) or die(mysql_error()); mysql_close(); echo "Data …

Member Avatar for ShawnCplus
0
181
Member Avatar for hughesadam_87

Hey guys, I'm new to python so if this is a silly question, pardon me. I have the following basic assignment: Take a user-specified range of lines from some data file, call it input, and write them to an output data file. What I want to do is have the …

Member Avatar for The_Kernel
0
140
Member Avatar for serkan sendur

hi guys, i want to integrate UILEVEL property of windows installer to MSI package. i use orca to modify .msi file, i created a new row in property table and set property to UILEVEl and set value to 2 but it didnt seem to change anything. do you know how …

0
81
Member Avatar for flash121

I want to read a jpg image from a file to an Image object and then paint it on my JPanel, but the image doesn't appear.I've tried drawing some other stuff on the panel (like lines etc.) and everything appeared without any problems. My code: This class represents my JPanel: …

Member Avatar for flash121
0
178
Member Avatar for kenji

I bought a bunch a cheap books on Python and am wondering whether I should read them as Python 3 introduced changes to the language and so to speak broke old code as far as I can tell. I am reading Programing in Python 3, and after that I was …

Member Avatar for kenji
0
135
Member Avatar for cguan_77

hi, how to use the window onload event on javascript.. for example i got a function and i want that function to execute during page load. any ideas is greatly appreciated... thanks...

Member Avatar for koolhq
0
247
Member Avatar for hyperzero4

Hello, I'm doing a project doing atomic models and am using a toolkit that was developed for Python 2.4 on Ubuntu. I have Python 2.4 installed as my default python currently; however, when I download the tools I need from the synaptic package manager. They only work for my original …

Member Avatar for woooee
0
156
Member Avatar for rickarro

Hey Guys, I need a little help. I have a calendar script that I want to write a query for and pull out the day of the week, then have it send an email showing all the entries for that day. Unfortunately i'm querying a day, month, year as seperate …

Member Avatar for rickarro
0
168
Member Avatar for arshad115

Hi,I want to create a picturebox at runtime.i mean when i click a button then,the picturebox is created. i have tried this code, but it doesnt work. [code] PictureBox^ pct; pct=gcnew PictureBox; pct->Location = Point(240,210); pct->Size.Height= 30; pct->Size.Width= 30; pct->BackColor.Aquamarine; Controls->Add(pct); pct->Visible=true; [/code] i am using visual c++ 2008. after …

Member Avatar for arshad115
0
795
Member Avatar for netdoer

[code=php] if(!$sqlStr==$sqlStr1){ echo $sqlStr; }else{ echo $sqlStr; echo "<br>"; echo $sqlStr1; echo "<br>"; echo "No changes were made!<br>"; } [/code] This statement produces the same results whether or not the "!" statement is included. e.g. [icode]if(!$sqlStr==$sqlStr1)[/icode] produces the same results as [icode]if($sqlStr==$sqlStr1)[/icode] Why?

Member Avatar for netdoer
0
89
Member Avatar for aashishn86

i need to write a function to remove consecutive slashses from a string i wrote this [code] for( i=0; i!=b; ) { var slashone = strname.indexOf('/',i+1) i=slashone var slashtwo = strname.indexOf('/',i+1) i=slashtwo //alert("index of slash one" + slashone) //alert("index of slash two" + slashtwo) if( slashone == (slashtwo-1)) { alert("Remove …

Member Avatar for aashishn86
0
147
Member Avatar for soultrav

How do i compare an object with null? From what i've seen right now, at execution an NullPointerException will be thrown :S For example, if I have a list: [code=java] class List { private Node data; private Lista urm; public List(Node d,Lista u) { data = d; urm = u; …

Member Avatar for Zibo
0
7K
Member Avatar for madtorahtut

Hello! I'm having some trouble understanding how arrays are passed. From my understanding, my code here passes a pointer to the first element of the blah array, which is "var1=5". My question then is how can I move to the next element of my blah array, "var2=234234" in my filevars() …

Member Avatar for madtorahtut
0
334
Member Avatar for ssreevidya.m

Hi, How can I delete duplicate records from a table in a single query. Thanks in advance.

Member Avatar for Aslam Patel
0
100
Member Avatar for letlet_pogs

This is the sample table : [CODE] CREATE TABLE contacts ( id character varying NOT NULL, CONSTRAINT pkey_id PRIMARY KEY (id) ) [/CODE] I use PHP with PostgreSQL database..if i will run my PHP code: Example: ADD ID NUMBER <-- If i will click this, the message below will appear: …

Member Avatar for letlet_pogs
0
88
Member Avatar for bhanu1225

Hello All. I got a doubt. In general, for updating remote database, we use ip address for the remote system. Here, i would like to update two remote systems at a time. I wrote the code like the below one. Could anyone please give the correct advice and suggestions. [B]try: …

Member Avatar for jice
0
285
Member Avatar for lifeworks

Hi Im hoping some fresh eyes will show me the issue here, been stuck on this for a while now... [code] $c = 0; for($i = 86400; $i < 604900; $i + 86400) { $start = $mktime - $i; $end = $mktime - ($c * 86400); echo $start . '<br …

Member Avatar for lifeworks
0
101
Member Avatar for Poppystar

I am new to programming and am trying to create a program to access a database of DVD's. I want to input a unique code for a title and display relevant fields from that record. I am getting the error above and have spent many hours now trying to see …

Member Avatar for Poppystar
0
579
Member Avatar for pythonian4000

Hey everyone! I have been teaching myself Python, and so as an exercise, I have tried writing an image grabber for OneManga.com. You put in the path to the comic page you want to start the grab from, and it grabs every page from there to the end of the …

Member Avatar for pythonian4000
0
222
Member Avatar for KirkPatrick

Just had a quick question about my code. Seems like a very simple solution, perhaps I'm just too sleepy to think straight. What I am wanting to do is if a certain index is selected in my combobox i want certain textfields to display which is apparent by the code: …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Dendei

Hi me and my class are getting this problem with tim.start(); and stop. we get start to work with a button but cant stop and we can stop with the keyboard but not with the buttons bad explaination i know but have an look plz :P [CODE] /* * To …

Member Avatar for Dendei
0
128
Member Avatar for gbarnas

Greetings, I've been given a task to create a bunch of thin-client systems. I found a Python script that acts as a window manager and provides a simple "Connect or Shut Down" interface. It works well, but now I've been asked to adapt it for two special situations. 1. Connect …

Member Avatar for gbarnas
0
230
Member Avatar for grisha83

Hello, For some reason, my program prints out extra zero from my linked list Can anyone tell me why? Thank you [ICODE]public class Main { public static void main(String[] args) { IntNode my = new IntNode(5,null); LinkedList list = new LinkedList(); list.createList(0); list.addValue(1); list.addValue(23); list.addValue(3); list.addValue(4); list.print(); list.getLength(); } }[/ICODE] …

Member Avatar for grisha83
0
91
Member Avatar for grisha83

Hello, I was wondering why do we need to assign value of -1 to the top of the stack? topOfStack = -1; Thank you

Member Avatar for grisha83
0
105
Member Avatar for SQL_n00b

Can someone please help me figure out what I am doing wrong? Basically I have a form where users enter a bunch of values. On submit, the form values are dumped into a table in the DB. The process is as follows: Users enter a set of values TWICE for …

Member Avatar for SQL_n00b
0
145
Member Avatar for veledrom

Hi, I need an effect like in this linkhttp://markgrantcables.co.uk/shop/ I simply put a "?" mark next to a textarea. When mouse is over "?" then a little explanation box will appear. Thanks

Member Avatar for veledrom
0
116
Member Avatar for billymcguffin

in my coding program, it says this line of code is wrong syntax: [icode]class Mainwindow()[/icode]. Why? whenever i add a line above it with just a semicolon (;), it says it isnt bad syntax. i copied it directly from a tutorial. WHY??? billy

Member Avatar for jlm699
0
98
Member Avatar for lolwtf

I working on a personal project of mine and got stuck. The program is a simple quiz in which the user answers some questions, and their results are saved into a text file. Reading and writing to text files is easy so I don't need help with that. On my …

Member Avatar for lolwtf
0
1K
Member Avatar for pferian

Hy, I have to develop an application usign Visual C++ 2008 that should handle (open, change cells and save) some Excel 2003 sheets. I am using .NET Framework 3.5 and the COM reference Interop.Excel.1.5. Does anyboby knows how to code this? Thanks.

Member Avatar for pferian
0
152
Member Avatar for Shanti C

Hello all... Can i write all my site pages such as index.htm, support.htm,contact.htm .. etc to [url]www.mysite.com[/url] with URL Rewriting.. Please help on this.. Thanks in Advance..

Member Avatar for Aamit
0
100
Member Avatar for dot_net_rookie

Hi I am trying to bind two checkboxes in a datagrid. The 1st Checkbox is category and the 2nd Checkbox is sub category. A category can have several sub categories. When i bind the 1st checkbox the category name is repeated more than once and I need to have only …

Member Avatar for dot_net_rookie
0
183
Member Avatar for juzzy

how do you add the output of a sum back into the input? eg. i = 100 print i/2 which will give you 50 (obviously) then i want to divide the answer by 2 and then the answer of that by 2 and so on ad infinitum thanks in advance

Member Avatar for juzzy
0
112
Member Avatar for anilopo

hi! i've got a problem i can't understand. i hope someone could help me.. :/ i've got this error: syntax error : missing ';' before 'tag::id' on this line in the code: [CODE]Graph :: Graph (char * str) { // constructor... } [/CODE] the decleration of this function in the …

Member Avatar for anilopo
0
197
Member Avatar for mohankumar554
Member Avatar for pt_solar

Hi I'm a beginner and I need some help with designing this program. It basically asks to make a class named Employee that has these variables: Name, Id Number, Department and Position. The class should have these constructors: 1- A constructor that accepts the arguments: Employee Name, Id Number, Department …

Member Avatar for pt_solar
0
276
Member Avatar for dweller

Hello there guys, I'm new to C++ and i've got something to ask. I want to create several classes at different .cpp files. But i want to create objects from some of classes at other classes. let me explain it with an example: Main.cpp ClassA.cpp ClassB.cpp These are my cpp …

Member Avatar for dweller
0
185
Member Avatar for RaniThomas

Hi, Can anyone suggest me the best browser (IE or Firefox) for working of JavaScript. If IE, vat version..?? And why..??? Im using Mozilla Firefox, But people are telling me that IE is best... Please suggest me.

Member Avatar for RaniThomas
0
118
Member Avatar for suretd

Good Day All, I have another question: I have done this program to sort a list of artist and their biggest hits, etc. It has 4 parallel arrays that i have to sort alphabetically using the Sort Option in the menu bar. I am using Bubble sort, to sort the …

Member Avatar for VernonDozier
0
150
Member Avatar for cutieshunky

I am trying to figure out how to run programs and compile them in C++ if anyone can help please let me know. The major problem I am having is on this particular problem Prb04-3.cpp it will not let me run it. I tried to paste it on here and …

Member Avatar for Ancient Dragon
0
105
Member Avatar for tizzo233

[code] // s2.cpp : Defines the entry point for the console application. // Project Stage 2.cpp : Defines the entry point for the console application. /* Algorithm Menu() Choose option Create a new expense Enter the initial amount of money in bank or to add money to bank from paycheck …

Member Avatar for tizzo233
0
154
Member Avatar for miniroselit
Member Avatar for Luckychap
0
148
Member Avatar for haven_u

After creating a class called student i aslo include a constructor and destructor the implementation code is shown below. student::student(){;} student:: ~student(){;} but i still have an error message as - " return type specification for constructor invalid" can any one help me figure whats wrong ??

Member Avatar for haven_u
0
130
Member Avatar for fastfingers

Hello all, having a problem with an auto save function. [CODE]System.IO.File.WriteAllLines(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), Form1.myList.ToArray());[/CODE] basically it keeps telling me i dont have permissions, i even tried running my software with admin rights. I do have a couple of questions, 1: I have not specified a text title, and System.IO.File.WriteAllLines does not let …

Member Avatar for fastfingers
0
94

The End.