199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Will Gresham

Wasn't sure what to put as the title, but what is happening is this: I have div elements on a HTML page, when they click on the div it is replaced with a textarea containing the div contents in order to edit this (eventually there will be a form/submission button …

Member Avatar for xyzweb
0
336
Member Avatar for redean

HI, I am Using VB 6, how do I sent data over the internet to an SQL DataBase

Member Avatar for redean
0
101
Member Avatar for xonxon

[code] Computer::Computer() Computer::~Computer() void Computer::setspeed ( int p ) [/code] what is this 3 sentences mean? what is the purpose we use it? i have asked my friend but still a bit blur. pls help.thanks.

Member Avatar for xonxon
0
70
Member Avatar for Pado

I'm getting the above error for the following code. Can anyone see what it is? Is my date formatting off? [code] $get_topics_sql = "SELECT topic_id, topic_title, DATE_FORMAT(topic_create_time, '%b %e %Y at %r') AS fmt_topic_create_time, topic_owner FROM forum_topics ORDER BY topic_create_time DESC"; echo $get_topics_sql; $get_topics_res = mysql_query($connection, $get_topics_sql) or die(mysql_error($connection)); [/code] …

Member Avatar for Pado
0
107
Member Avatar for gagan22

Hi everyone, I am facing such type of warning is coming in php file.How it can be resolved . I have also used session_start() function in php file as a first line in php code. I have used it just prior to sending output to browser.But still warning is coming. …

Member Avatar for nav33n
0
82
Member Avatar for marjan_m

Hi, I need to set a text feild value unchangable after a user enter first time. I dont want to use it's "readOnly" attribute as it let's the user to select the text. Thanks Regards,

Member Avatar for nav33n
0
174
Member Avatar for progurammaar

hi from where can i add quality news on my site....i mean i have made a website where i want to display quality news and some cool contents(optional).....from where can i get it free....

Member Avatar for bobchrist
0
115
Member Avatar for steve345

I found 2 new scripts, here they are: [url]http://hot.ee/antsman333/scripts/script1.zip[/url] and [url]http://hot.ee/antsman333/scripts/script2.zip[/url] The script1 is more stylish than the script2, but it displays the directory files with the same icon.. How could I combine these scripts together that the script1 shows the icon according to filetype like script2? how script1 looks …

Member Avatar for pritaeas
0
129
Member Avatar for manzoor1

hi i have problem , rhe code is working properly on local machine but when i upload it on net then it give the warning [COLOR="Red"][B]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home7/wyzerpmc/public_html/wyzer/survey/survey.php on line 22[/B][/COLOR] [code]<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> …

Member Avatar for msikwal
0
119
Member Avatar for kheija

[code] Static x As Integer = +TimeLbl.Left Static y As Integer = TimeLbl.Top Static width As Integer = TimeLbl.Width Static height As Integer = TimeLbl.Height If DateTime.Now = "08:00:00" Then Timer1.Enabled = True With Me x += 0.6 If x <= +.TimeLbl.Width Then x = .Width End If .TimeLbl.SetBounds(x, y, …

Member Avatar for Bandar.M.A
0
75
Member Avatar for amarsha4

Hi, I have a VB6 program that uses several ADO Recordsets to connect to an Access database. In one part of my program I have code for adding a new meeting (uses the meetingRst recordset). When the new meeting is added I requery the meetingRst and populate a ListBox detailing …

Member Avatar for cguan_77
0
229
Member Avatar for patharianidhi

Hi everyone I have a list box called tc_id I have populated this list box with values from teh database. Now i want to fetch values from the database into two text boxes based on the selection made in the listbox.

Member Avatar for patharianidhi
0
2K
Member Avatar for vikette

Hello, I'm creating my first website using master pages and asp.net. As part of this project, I need to display a random banner image at the top of each web page. Let's say i have an "images" directory with image1.jpg, image2,jpg, image3.jpg and image4.jpg. In the past, I have used …

Member Avatar for serkan sendur
0
303
Member Avatar for moiseszaragoza

I have a field validatior on my page. but i noteces if i press the submit btn 2 times the validator does not stop the process. have any one have a problem like tihs? and how to solve it. Thakns [CODE] <tr> <td > <div class="buyIt_Titles2"> <asp:RequiredFieldValidator ID="RequiredFieldValidator1 runat="server" ControlToValidate="txt_BillingCity" …

Member Avatar for serkan sendur
0
73
Member Avatar for OmniX

Sorry been out of commision for a few months. Got a newbe question. What value is returned from an sql query that returns no rows? Example: [code=php] $a = "SELECT * FROM a WHERE b = c"; $b = my_sql_query($a); [/code] Note: Table Name - a Table Field - b …

Member Avatar for OmniX
0
2K
Member Avatar for rudasi

Hello, I just had a midterm and there was a question where we had to right a program which can calculate all the numbers which form quadruplets. A quadruplet would be x^3+y^3+z^3=a^3 The program should only run till a<25 also, 0<x<y<z<a at the end we had to output how many …

Member Avatar for siddhant3s
0
207
Member Avatar for claudiu_is

Hi, Does anybody know how can I return the time format from the system regional settings ? I need something like "hh mm ss" returned ( or whatever the current system time format is) to pass it as argument for FormatDateTime() function along with a given time; I`m using Delphi …

Member Avatar for claudiu_is
0
185
Member Avatar for ellimist14

ok this is a really basic question but I just can't seem to wrap my head around it. The basic syntax of how to open a file and check it and whatnot makes sense to me. But how the compiler reads from the file doesn't. For example if I have …

Member Avatar for siddhant3s
0
126
Member Avatar for Swapsry

hi frnds.. [CODE]var headline = document.getElementById("headline"); var content = document.getElementById("content"); var data = "headline=" + headline + "&content=" + content; xmlhttp.open("POST","newspost.php",true); xmlhttp.onreadystatechange = handleServerResponse; xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xmlhttp.send(data); [/CODE] i post data in this way... n the next page i need to retrieve data .. [CODE]$d=$_post['data']; echo $d;[/CODE] output is combination …

Member Avatar for cwarn23
0
84
Member Avatar for FyerEgg

Ok, so I decided to try and write a simple chat bot. To start, I made it so he will scan the string that you input, and see what emotion you have. (this is just the base, eventually he will read verbs and such) So, here is the code... [CODE]#include …

Member Avatar for ArkM
0
152
Member Avatar for tomtetlaw

I have looked all through the open gl website and i cant fine where to download the SDK? can someone give me a download link? i am using c++ btw

Member Avatar for hasbro
0
85
Member Avatar for mickeyken

Write a program that calculates the value of x using these two formulae: w = (22102 * -12)/(18 – 3) x = (12032/w) * (2354 + 34) Use the properly-sized signed or unsigned operands as appropriate. Demonstrate that your answer is correct by using the debugging software to walk through …

Member Avatar for mickeyken
0
69
Member Avatar for orwell84

I am writing a program that will take input and find whether or not the number you put in is prime. The program works fine, save for one small problem: [code] #include <iostream> using namespace std; int main(){ int num; //the chosen number int i; //potential factors do{ cout<<"Input a …

Member Avatar for siddhant3s
0
128
Member Avatar for satisn1

Hello! I am working on a project in VB.Net .I am Making use of two forms, which consist of a form called Project .It has a Button which is called New Employee on the form itself.When I click this button, I want that this link me to the Employee form.I …

Member Avatar for Bandar.M.A
0
147
Member Avatar for serdas

can i include this [code] <? require('inc_rate.php'); getComments("1"); submitComments("1","$PHP_SELF"); ?> [/code] in a php file but display at certain location at the html file. i tried it to paste the way it was but gave me an error so i did like this [code] require('inc_rate.php'); getComments("1"); submitComments("1","$PHP_SELF");[/code] it worked but …

Member Avatar for serdas
0
191
Member Avatar for kanodi

Hi guys, I wonder if any of you can help me with my problem.... I am trying to write a script that searches a file that describes a grid of letters, like: [code] wergfdghytr bhgiusuwiee popeldorlfse funwrdtywa [/code] The script uses another file for a word list, where each line …

Member Avatar for kanodi
0
190
Member Avatar for Taniotoshi

Hello everybody I am doing a little code to learn a bit more about C++. Do not be amazed if you find that code useless, it is mainly just for me to improve. :) This is my first C++ program and I started few days ago... [/I]One class is used …

Member Avatar for Taniotoshi
0
617
Member Avatar for forwardlookguy

Hello, I got the following code from someone and have tailored it to fit my needs but I have a problem. The first menu populates from my MySQL database. However, when the first menu is selected, the second menu will not populate with the correct information. Zero is the only …

Member Avatar for upside_down2000
0
409
Member Avatar for britto

hi everyone..... how to create a c compiler using c language.... can anyone explain the steps involved..... thnx in advance

Member Avatar for MosaicFuneral
0
431
Member Avatar for dgotti007

I am interested in finding out how I can build a website using Coldfusion and an excel spreadsheet. I used to work for a company that did this and i am now looking to see how to do it. No geekspeak here: I know that the Coldfusion would take the …

Member Avatar for arrgh
0
153
Member Avatar for blahblah619

Can anyone help me figure out what I'm doing wrong. I'm new to programming and for my class we had to modify the program so that it reads its input from a text file and the output of the program should go to the screen -- only the input is …

Member Avatar for siddhant3s
0
271
Member Avatar for mtramnes

Wrote this max min problem. The output however gives me the correct max but not the correct min. It simply returns 0 for the min everytime. Any ideas what I need to fix? [code] #include "stdafx.h" #include <iostream.> #include <conio.h> using namespace std; int main() { const int NUM_DAYS = …

Member Avatar for vmanes
0
119
Member Avatar for veledrom

Hi, In PHP page, Code below always returns TRUE even no record is updated. How can i solve this problem? Thanks [code] $q="UPDATE login SET password=SHA1('$newPassword') WHERE id='$loginID' AND password=SHA1('$oldPassword')"; $run=mysql_query($q); if ($run===TRUE) { echo "SUCCESSFUL"; } else { echo "ERROR: Old password is wrong. Please try again."; } [/code]

Member Avatar for nav33n
0
136
Member Avatar for netveano

Hello Everyone :) I bet you have heard this about 1,000,001 times, but I am another individual who is interested in learning programming. I am currently a business major with a concentration in MIS. I have web site and graphic design experience, I have been developing static HTML web sites …

Member Avatar for Rashakil Fol
0
261
Member Avatar for rapid_gezer

I need help with python programing, i finished the first part of my project ans some of the second part, but im really confused about the part where i have to group an entire file into its constituent months and then calaculate the averages. I know how to calculate the …

Member Avatar for woooee
0
384
Member Avatar for todo

Is there a way one could automate daily maintenance task on the website? The maintenance task could include a number of things: cleaning up database, updating the website and so on...

Member Avatar for chrishea
0
121
Member Avatar for ilokana

Hi, I have a report that generates personalized letters. How can I attach these personalized letters (in PDF format) to their corresponding e-mails using MS Access 2003? Please help. Thanks. ilokana

Member Avatar for ilokana
0
102
Member Avatar for LateNiteTippin

Okay, don't laugh. I'm [B]very[/B] new to python. Actually to programming all together. I'm doing an exercise where i have to count the number of a string in a word. Ex: count("is", "Mississippi") would be 2. I tried using string.find and was having no luck. So i tried to go …

Member Avatar for LateNiteTippin
0
126
Member Avatar for Rick1980

Hi all, I'm trying to figure out the runtime complexity of an algorithm I created. I narrowed the basic problem down to two nested sums. However I need the Big O notation of this problem. I converted the formula into the following nested loops. I have the feeling that this …

Member Avatar for Rick1980
0
87
Member Avatar for ChrisP_Buffalo

Hi folks. I'm getting back into learning Python after a few months off, so I'm still a newbie, hehe. I'm using the free online book Dive Into Python. I ran the first program and it worked just fine, but it returned the output in the opposite order of the one …

Member Avatar for ChrisP_Buffalo
0
164
Member Avatar for colmcy1

Hey all, I'm new to C++ and struggling to write a program. I am used to writing in VBA and Mathlab but because I need to run a long run simulation have to rewrite my program in C++. What a am trying to do is if I have a list …

Member Avatar for colmcy1
0
98
Member Avatar for apease11

Hi, I am trying to pass parameters to my program, but I can't seam to get it to pass specific parameters. I want it like [icode]"C:\Age of Empires III Launcher.exe /x=agex.exe /y=agey.exe /z=age.exe"[/icode]. How would I go about doing that? I can't find a good tutorial on it. Thanks.

Member Avatar for apease11
0
201
Member Avatar for kritiohri

I have a sql table consisting of dept_name and dept_code.and on the form i have textbox for dept_code and combobox for dept_name.When i select a particular dept_name from the combobox i should get the corrosponding dept_code in the textbox.

Member Avatar for Praniya
0
164
Member Avatar for nikhilkanna

Hi,i done a menu with mouseover using javascript.In IE5 it is coming as hai ramu in IE7 it is hai.downside ramu is coming

Member Avatar for nav33n
0
62
Member Avatar for colmcy1

Hey all, I'm new to C++, much more at home with mathlab or VBA so this is probably a simple problem for you guys. I am writing a program and I want to change values at the end of loop but keep answers from previous loop, i.e. in other programs …

Member Avatar for colmcy1
0
123
Member Avatar for happyns

Hello 1 and all I have created a stored procedure for table X. X contains the fields B,C,D,E,F,G. B is a primary key with data type int. I am giving the stored procedure as follows: [code]Create Proc [dbo].[spXSelect] @B int=null as Begin If @B is Null Begin Select Ident_Current('X') as …

Member Avatar for happyns
0
102
Member Avatar for jeevsmyd

The following is a code that my teacher gave me .. I dont know the working of files in c++ :( this program is supposed to copy a datafile into another.. but its is not working ... many many errors.. fname1 and fname2 are already existing files,right? or fname2 is …

Member Avatar for siddhant3s
0
107
Member Avatar for Ebots

Hi everyone, I'm trying to convince my boss that using normalisation is the best way to design a database but he's a hacker rather than a coder and he's taking some convincing. If we take the typical Staff\Department scenario as an example (where it would be possible for a new …

Member Avatar for pclfw
0
226
Member Avatar for theimben

Ive got a MySQL search, which searches an index of urls. The search parameter searches titles. What I want to do is have something like Google. So, if someone searches: [CODE]site:example.com something to search[/CODE] It would look for example.com in one column then from those results it would look for …

Member Avatar for theimben
0
1K
Member Avatar for Norbert X

I just finished another assignment and I can't figure out why this none keeps appearing after you enter a language: [code=Python]while True: print"Hello, how are you?" language=raw_input("Pick a language: french, german, hungarian, dutch: ") if"french"in language: def function(): print"Bonjour, comment allez-vous?" elif"german"in language: def function(): print"Hallo, wie geht es Ihnen?" …

Member Avatar for jlm699
0
128

The End.