199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cableguy31

I have a php script that sends the contents of a form via email. I have some error checking in the script to make sure that the required fields are filled out. Right now, if there's an error, it just displays an error, with what's missing on a simple html …

Member Avatar for vaultdweller123
0
111
Member Avatar for pac-man

hi guys, I've created a function that returns the number of times a value resides in a container (in this case, vector). The user is able to specify were in the vector they wish to search for the value. [CODE] int number(int n, vector<int>::iterator start, vector<int>::iterator end) { int count …

Member Avatar for pac-man
0
231
Member Avatar for Erick

Hello to everyone, I'm new here - Great forum. I would like to update an entire database at once. I use Mysql database and PhP scripts. I explain : I have to update prices in one column of the DB by puting +10% This is what I have but it …

Member Avatar for almostbob
0
212
Member Avatar for gangster88

I need to have 4 functions which asks the user how many times to flip the coin and then displays the number of heads and the number of tails as a decimal? [code] def getInputs(): times=input("please enter the number of times the coin should be flipped: ") def simulateFlips(): for …

Member Avatar for charlottetemp
0
1K
Member Avatar for Tech B

I've seen a program called Devcon ([url]http://en.kioskea.net/faq/sujet-1886-enable-disable-a-device-from-the-command-line[/url]) used for enabling and disabling hardware devices. I want to do the same hopefully with python. I want to turn the internet connection off with a script. I can already do it with popen('ipconfig /release') but I want something more robust. Is there …

Member Avatar for Tech B
0
2K
Member Avatar for vedatsivri

Hi Everybody; I wrote a class that uses boost library to create thread. My thread function just do select operation for mysql database. Besides, I developed a client program to test server side, but server side gave 'segmentation error ' after fourth client request via socket. [CODE] void Thread::Start(void (*function)()){ …

Member Avatar for Salem
0
101
Member Avatar for planethax

Having a guy help me with some code, however, he doesnt know VB6 and only has freebasic I need to convert the following into VB6 so I can make a user interface (comport selection etc) but not sure how to do it. Even a step in the correct direction would …

Member Avatar for planethax
0
475
Member Avatar for kavourdoukos

I had this:[CODE]classA* class[10];[/CODE] But now i dont know the exact number(10) and i want to put a variable there and i get a compilation error.What i should do instead?

Member Avatar for mrnutty
0
123
Member Avatar for bobscrazy

Hi everyone, basically the problem i have is; when the program loops around for the 2nd, 3rd etc it resorts the swip back to the inital value of 1000, rather than what i want it to, the ewip from the previous day. I have underlined/highlighted the two bits i mean. …

Member Avatar for JamesCherrill
0
99
Member Avatar for adams161

Hi, when i run my java program it has that little java coffee cup image in teh task bar. All my apps have this. i guess its default. How do you set that to something custom? i cant seem to come up with teh proper name for what that image …

Member Avatar for adams161
0
82
Member Avatar for abhay1234

Dear sirs, I am trying to learn vb.net in 2005 and 2008.Where can i get good tutorials to learn basic as well as advanced. OOPs and web development etc. thank you

Member Avatar for abhay1234
0
203
Member Avatar for Sameer1

HI all, I am trying to display user (ad displayname) welcome message on my web site but I am not sure how to achieve it. I found somthing online but that doesn't make any sence to me as I dont have nay value of $user_ID in the below code, [CODE]< …

Member Avatar for SameerMughal
0
194
Member Avatar for tellos

Hi there everyone, Im looking for a solution regarding a project im involved with which needs to run a script that search's between dates. Im running a table like this example: ID - date_begin - date_end - price 1 01-01-2009 31-01-2009 1€ 2 01-02-2009 14-02-2009 2€ 3 15-02-2009 27-03-2009 3€ …

Member Avatar for harry_watson
0
116
Member Avatar for pecet

I started to learn SQL recently. I downloaded some kind of assignment, where the goal is to design small database. I have two tables listed below: [CODE]create table SEA ( SEA_NAME varchar(50)constraint sea_prj_key primary key, AREA numeric(18, 0), );[/CODE] and: [CODE]create table NATION ( CTRY_NAME varchar(50)constraint sea_prj_key primary key, AREA …

Member Avatar for pecet
0
95
Member Avatar for gunnarflax

Hi, I created a script which I use to clean my database from missing entries. With it I both check if a file on the server is missing a database entry and if a database entry exist with no corresponding file on the server. The user first submits a form …

Member Avatar for gunnarflax
0
149
Member Avatar for OldQBasicer

In old QBasic I could use the LOG function to get the base-10 log of a number. So I would have something like this... [CODE]sglFormula = 150 - (LOG(intTemp + 10) * 30)[/CODE] ... the LOG function would give me the log base-10 of a variable (intTemp) plus 10. How …

Member Avatar for OldQBasicer
0
119
Member Avatar for wahwah_hk

I have a MDIparent form with a panel inside. Now I had already call a childform_No1 into the panel. But some how I need to call another childform_No2 from childform_No1 to the panel in MDIparent. How can it be? Kindly help! thank.

Member Avatar for wahwah_hk
0
128
Member Avatar for Phaelax

User fills out a web form containing about a dozen or so combo boxes. As each comboBox has its options filled from values contained in a database, this limits what the user can input. However, as we know this can be bypassed, hence the need for validation even on a …

Member Avatar for Phaelax
0
112
Member Avatar for Shillz

can anyone guide me how to run a c++ program inclusive of graphics through notepad++ by using borland compiler OR plz guide me hw to compile n run a c++ graphics prog in vista..as it's not possible by normal tcpp

Member Avatar for CppBuilder2006
0
983
Member Avatar for barryw33

hi, this is my first post. I am a php coder and know very little javascript. I have nearly finished a dating site for a client. Thing is he wants private chat in it. I have found some opensource chatroom code that I am trying to hack to make work …

Member Avatar for ShawnCplus
0
155
Member Avatar for Lightninghawk

I am not a database person by far. I know how to efficiently use MS Access. I posted a topic earlier in the design forum and received good responses that have led me to want to use MySQL. The database I want will eventually be fairly expansive. To start with …

Member Avatar for ppetree
0
213
Member Avatar for zukkoor

Im trying to write a golden section optimization search program. I have written it to this point and im getting 25 errors in it and i do not know how to fix them. I am new to programming and did do research on the errors and am still unsure. I …

Member Avatar for jonsca
0
3K
Member Avatar for sist

Hey, I have done a little project in the past involving Genetic Algorithms (GAs), written in VB6 (really poorly). Now, after I understand the whole concept of programming much better, I decided to give it another try. This time I've decided to try tackling the Traveling Salesman Problem. For those …

Member Avatar for QVeen72
0
573
Member Avatar for sandeep.m

Hi, I am facing a problem when i am trying to run the django server using python manage.py runserver.The problem is that the server is not starting because it gives the following error: Traceback (most recent call last): File "manage.py", line 12, in <module> execute_manager(settings) File "/usr/local/lib/python2.5/site-packages/django/core/management/__init__.py", line 340, in …

Member Avatar for Pupo
0
848
Member Avatar for Dembi

Hi All I have installed Python 2.6.2 When I use function of 'import Sybase,' I always received the following error: Traceback (most recent call last): File "export_alpha.py", line 3, in <module> import Sybase, sys ImportError: No module named Sybase Please gevi me your advice how I should correctly to add …

Member Avatar for msprayb
0
138
Member Avatar for sandorlev

Hello, I've been working on this self-made database. What do you think about it? What features should I create for it? I'd also like to get help in a select method, because I don't have the foggiest idea how it could be done. And what about making it a database …

0
243
Member Avatar for nzioki
Member Avatar for jorgelex008

Hi all, I'm new to Java and going through a steep learning curve. Every now and then I'm getting dead stuck, so your help is immensely appreciated. So, here's the problem: (with Java NetBeans IDE) I have a JFrame form, and in it 4 JComboBox'es. Also a JButton titled "Enter". …

Member Avatar for javaAddict
0
7K
Member Avatar for san_fran_crisko

Hi, Apologies if this has been covered already - I searched but couldn't find anything relevant. I am looking to learn both of these languages mainly because I am in a bit of a dilemma career-wise. To be as concise as possible (this aint no agony aunt page I hear …

Member Avatar for Narue
0
286
Member Avatar for ilikelampard

Hi, What is the difference between CObList and CList? If we use a CList as - CList<CObject*, CObject*>, is it similar to CObList?

Member Avatar for ilikelampard
0
213
Member Avatar for roswell67

Hello, I am having trouble converting my "MySQL" statement to a prepared statement. here is the part of the code that i need help with. How Do I make below statement a prepared statement and can actually read the result afterwards. this way everything works perfectly, except that its not …

Member Avatar for eliza81
0
1K
Member Avatar for zeeshan_shan

hi iam working on a project and i want to sent and access data in MS Access using jsp so, Please tell me how can i do this

Member Avatar for musthafa.aj
0
215
Member Avatar for nader_shadi2000

Hello again I made a new user name because I couldn't access using the previous one; I don't know why!! Any way this is the java code of the memory game (solitaire) . Actually I compile it and run it, but it didn't work !!!! could anyone pleassse help me …

Member Avatar for darkagn
0
143
Member Avatar for emhmk1

Hi everyone, i was wondering if you could help me out, i'm working on a project where the user can login from any part of the site and a function is called when the button is clicked. The problem is if the user for example is on this url [url]http://localhost/profile.php?id=12[/url] …

Member Avatar for emhmk1
0
238
Member Avatar for nerdinator

I want to make drum software.I need to use standard midi for this.Someone please tell me how I can.

Member Avatar for Ancient Dragon
0
94
Member Avatar for Gary888

Hello from Ireland, In NetBeans I created a class that extends JFrame called “SearchCustomerPage”. The class has a JButton called “Search” that has an ActionListener associated with it (so when I click “Search” a method is called). I have another JFrame page (“NewBookingPage”) that creates bookings. To create a booking …

Member Avatar for JamesCherrill
0
64
Member Avatar for mahela007

Is there someway I can parse badly written HTML code in python? I want to get some info from a web page which uses HTML tables for it's formatting and I found numerous flaws in the code using w3cs validator. can I parse this code in python?

Member Avatar for mahela007
0
95
Member Avatar for deepakraj

[B]Please tell me how i can run jsp page in Linux Tomcate server... i found the error - [/B] org.apache.jasper.JasperException: /USERINFO.jsp org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:433) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:361) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause java.io.FileNotFoundException: /USERINFO.jsp org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:278) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Member Avatar for javaAddict
0
223
Member Avatar for jammiedude

Just downloaded Office 2010 to see what changes have been made in the VBA environment and all looks well. But i am having a big problem typing in my code! as soon as i type something it appears in red, it autocorrects so fast that if i type .range("A1") it …

Member Avatar for jammiedude
0
136
Member Avatar for marirs07

What does the linker error "SEGMENT_TEXT EXCEEDS 64K"mean,is there any way to solve this.Plz Reply SOON!Thanks in advance

Member Avatar for ablitz
0
112
Member Avatar for explorepython

Hello all, After googling around for a few hours i can't find any example for passing arguments to an user-defined method in pyqt.. The only link i found related to this is [URL="http://www.commandprompt.com/community/pyqt/x1408"]http://www.commandprompt.com/community/pyqt/x1408[/URL] . In this example we have to make it to emit the signal and pass the argument.. …

Member Avatar for explorepython
0
1K
Member Avatar for wish4129

Hi guys, i would like to ask that is there anyway to embedded an excel file into a vb.net project? i know the way to read an excel file from vb.net, but i would wanna know is there anyway i can include the excel file inside the vb.net program. This …

Member Avatar for kvprajapati
0
170
Member Avatar for kkcaddy

Hey i am trying to start using an interface in my java programming do recommend i if i start by try creating my own or i download one if i should download which would you recommend. Thanks

Member Avatar for stultuske
0
82
Member Avatar for JAM1011

Hey everyone. I am having problems trying to figure out how the user can select the times they want to start work at, the time they want to have from lunch and finally the time they would like to finish. I then would calculate the number of actual working hours. …

Member Avatar for JAM1011
0
88
Member Avatar for shabeg

Hi, I am creating an object of AxShockwaveFlash [code] private AxShockwaveFlash flash; void init() { this.flash= new AxShockwaveFlashObjects.AxShockwaveFlash(); } [/code] and releasing it in [code] protected override void Dispose(bool disposing) { if (_flash!= null) _flash.Dispose(); } [/code] but when i am using .Net Memory Profiler i am getting following message …

Member Avatar for jonsca
0
250
Member Avatar for zendet

Hey guys I need a bit of help with a project. I need to make a program that when you click start game it generates a random number from 1-100. then you pick difficulty, easy has 15 lives, medium has 10 and hard has 5. Everytime you submit a number …

Member Avatar for Seten
0
113
Member Avatar for farsen

Hi. First of all, I have done a few C# applications, but are quite new to C# asp.net web applications. What I am trying to receive is a simple Media player control on an aspx page. And furthermore a button, that starts the media player with a videostream url. Thats …

Member Avatar for kvprajapati
0
142
Member Avatar for Nikhar

Hi guys...I am learning binary trees and its quite interesting. But I am unable to make4 a the delete a node function in it. Whenever I try to delete a node, a fatal error occurs and the program closes. Can you please point the error out for me in the …

Member Avatar for Nikhar
0
126
Member Avatar for AdventDeo

Any ideas on how to make the following code work for both IE and Mozilla? [CODE]function AddRow() { if (navigator.appName=="Microsoft Internet Explorer") var morerow=document.getElementById("tbl").getElementsByTagName("tbody")[0]; else if (navigator.appName=="Mozilla") var morerow=document.getElementById("tbl"); var newtr=document.createElement("tr"); var xtra=document.getElementById("xtra"); var dname=document.getElementById("dname"); morerow.appendChild(newtr); var newtd0 = document.createElement("td"); newtd0.innerHTML = xtra.innerHTML; newtr.appendChild(newtd0); var newtd1 = document.createElement("td"); newtd1.innerHTML = …

Member Avatar for parry_kulk
0
405
Member Avatar for Godflesh

Hello! I have more questions :) Is it possibe to create a "threadlock", "lock" if you use a file as a common resource? If you have a class that create data and put the data into a file and you have another class that will take data from the same …

Member Avatar for Gribouillis
0
104

The End.