64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for rickya100

Hi, Thanks for checking this out. My goal is simple. Create a list of all the years that have had articles published in them (so basically every year). I have three unique dates in the date column, 2008-08-20, 2007-08-20, and 2006-08-20. The code below only returns this as the print_r …

Member Avatar for rickya100
0
145
Member Avatar for manish250

i have taken date month nd year in menu in simple jsp not javascript.i want whwenevr i click on feb date list automatically contain 28 or 29 days.please reply me in a day

Member Avatar for peter_budo
0
92
Member Avatar for dinilkarun

Hi, I have two functions. The first function fills the first three fields of the first row of an MS_Access table. I want to fill the remaining fields of the same(1st) row in the second function. Presently the second function fills the remaining fields of the next(2nd) row while the …

Member Avatar for dinilkarun
0
180
Member Avatar for OmniX

I have variables a, b, c = 1, 2, 3. I would like to make it a string abc. [code] int a = 1; int b = 2; int c = 3; string abc = ""; abc = a + "" + b + "" + c ; count << …

Member Avatar for OmniX
0
169
Member Avatar for scru

:eek: This is the strangest thing. The program ignores all of my for loops in this method. I double checked the syntax and everything. Am I missing something? BTW, I know that it skips those, because I tell it to play a sound when it enters, and it doesn't play …

Member Avatar for jOhN_pRattZ
0
134
Member Avatar for Kadence

I believe indefinite arguments can be defined with '...', but then how do you access them? For instance for the following function: [CODE]int test(int n, ...){ return n; }[/CODE]

Member Avatar for Kadence
0
282
Member Avatar for nemom

Hello everybody,, I'm developing a web application using ASP.NET and i'm new in databse (basic knowledge:) ) ,,and i have to create a table that stores any changes made in the database tables includes (insert,update and delete) ,,i googled about how to do it and i found many articles about …

Member Avatar for nemom
0
158
Member Avatar for newtechie

i have a problem in getting the required display in barchart my intended display is year91 -------------- 110 but i get a display as year91 -------------- year91 can anyone please let me know what is wrong in my html file or java code. [CODE]import java.awt.*; import java.applet.*; public class BarChart …

Member Avatar for newtechie
0
116
Member Avatar for ryy705

Hello, I need to give different people different email addresses of my site. For example, advice(at)mysite.com, support(at)mysite.com, author(at)mysite.com, etc. But I would like for all the emails to go to one real email account. mailinator dot com does a very good job of it. No matter what you put in …

0
48
Member Avatar for Jadellll

Hi, I'm looking for the module that floor() is located in. I would have assumed it would be loaded from the path, but after trying several times, its not. Also, while I'm at it, is there a way to permanently add things to the path. So I can add my …

Member Avatar for Gribouillis
0
157
Member Avatar for monkey_king

Hi I'm doing a statistical mcmc model where I need some random numbers. I decided to use the ranrot-w generator. The random number only works when I call the randomnumber method directly, and not when i give the random number as an parameter to another function. that is rg.Random() !=random(rg) …

Member Avatar for monkey_king
0
156
Member Avatar for marcux

Hi all! I am trying to make use of JDOMP but apparently something does not work. Here is my code: [CODE] function saveTextToServer(){ var dateNow = new Date(); var time = dateNow.getTime(); var url = "saveNotewall.php?text="; var noteField = document.getElementById("noteField"); url = url + noteField.value + "&time=" + time; var …

Member Avatar for marcux
0
83
Member Avatar for loimarie

Hi everyone!Can you please help me with my project.My problem goes like this: I have to make a bcd coded program in finding the modulo of a number,assemble it in masm and load it into the pic16f84a.I am going to use a dip switch for it's input and 1 7-segment …

Member Avatar for sDJh
0
178
Member Avatar for veledrom

Hi Code below generates this error "Table 'sis_audit.pay' doesn't exist". [code]UPDATE pay SET Ref='111', date='2008-11-11' WHERE id=29[/code] When i create same table in different database, no error at all. Why? Thanks

Member Avatar for veledrom
0
164
Member Avatar for xcesmess

I'm fairly new to the C++ world (did some C work in the past years ago) so I'm a little rusty on some things :) I've got a small table in a database and I'm trying to grab some date information out of a UNIX EPOCH time stamp (all seconds). …

Member Avatar for Ancient Dragon
1
111
Member Avatar for lid

Hi everyone ! Inside my program, i have a function which delete all the values in the "Entry" widgets. This function works with a simple button "Reset". I have also 2 radiobuttons. I would like to know, please, how radiobutton.deselect() works to deselect all the radiobuttons with my buton "Reset". …

Member Avatar for lid
0
13K
Member Avatar for sweet cLassy

i am assigned to convert data from microsoft excel to mysql... pls tell me how. pls help. thanks ! :(

Member Avatar for sweet cLassy
0
100
Member Avatar for abhigame

i hav thiught a lot about the problem but at the end i was not even able to mave an inch forword .the problem is: we hav to develop a program that make user input a series and then will calculate the misiong term. ex: 1>4,6,9, ,14,16,19,... then the answer …

Member Avatar for papuccino1
0
124
Member Avatar for Falkoner1

Is there a system command that I can use with system("x") to expand the prompt the program is in? Or any other way of doing it, for that matter, I just need to get it to be the size it would be if I told the computer to maximize it, …

Member Avatar for Falkoner1
0
176
Member Avatar for palavi

hi all, i am to company which has assigned project hopital mangt given ide net beans to which i am new, i am writing html in jsp like patient name, age, in a table. i am confused i am more to html not to jsp can we use html in …

Member Avatar for peter_budo
0
118
Member Avatar for Mylena

Hello everyone, The ajax+php part worked well independently. When I created a switch (because I want different information from database to be displayed in different tabs), it does not go into the xmlHttp.onreadystatechange=function(). I tried all possible variations, and looked online for hours. Can anyone help please? Thank you [code] …

Member Avatar for R0bb0b
0
195
Member Avatar for veledrom

Hi, How do we save person's pictures in database?Do we just create column "pictutePath" and enter this value "../pictures/user1.jpg" for each person or is there any other way? Thanks

Member Avatar for buddylee17
0
78
Member Avatar for jmasta

Hello everyone, I just have a quick Javascript question I haven't found an answer to on the net. What is the difference between [icode] arrayName[0] [/icode] and [icode] arrayName.item(0) [/icode] I've run across instances of both, but nowhere have I seen the difference between the two. Thank you, Jmasta

Member Avatar for jmasta
0
164
Member Avatar for gispe

hi ppl, i just starte a new program, but now im having a lot of error wich "i think i wrote the code well", but cant understand what they mean... here i pass the code... [code=cplusplus] #include "stdafx.h" #include <iostream> #define ingresos_totales 5; using namespace std; int main(int argc, char* …

Member Avatar for gispe
0
264
Member Avatar for JA5ONS

guys, im after a piece of code that when embedded into a button, clears the text entry boxes of the GUI so new information may be added. Like adding a new customer after you press save. At the moment you press save but the information stays there cheers.

Member Avatar for vegaseat
0
108
Member Avatar for vegaseat

This post by [B]s7plc[/B] was moved from the Starting wxPython (GUI code) thread ... [QUOTE]I've been working with various widgets from the wxPython demo library, and am making pretty good progress. But I just ran into a problem that I am sure has a simple answer, but I just can't …

0
84
Member Avatar for h2c357

Hi, I have a aspx form on which I have a ListBox control a text field a button (btnA) and a submit button (btnB). The scenario is: the user enters text in the text field and clicks btnA. The value in the text field is added as an option in …

Member Avatar for neerajsingh.net
0
135
Member Avatar for veledrom

Hi, I have 2 textbox and 2 buttons in my form. Seperatly, Button 1 will validate textbox 1 and Button 2 will validate textbox 2, if they are empty or not. How can we do it? Thanks

Member Avatar for veledrom
0
103
Member Avatar for Peter_Saumur

Hi all, First-timer and first post. I have been given a task of convert large data files to/from a self-defined format. In the "xml" form, the format for each record is: [CODE] <power> <name> </name> <level> </level> <kind> </kind> <source> </source> <flavor> </flavor> <type> </type> <keywords> </keywords> <action> </action> <attackTypeAndRange> …

Member Avatar for Peter_Saumur
0
87
Member Avatar for derekcpt

Hi all you guru's. Who could crack this once for me. I want to add the totals of my records posted to a mysql database table. I can achieve this by using the += method, but I have to have it in a repeated region (dreamweaver). I know there is …

Member Avatar for derekcpt
0
239
Member Avatar for derekcpt

I'm having a for where I can create invoices. Now I'm having the form fields where I have to fill it out with the customer's data. Well I don't want to fill out existing customer's data everytime. So I am having a link which opens up a page with a …

Member Avatar for derekcpt
0
101
Member Avatar for AON07

First off I am new to PHP, I am trying to display categories from a mysql db in a drop down menu. for some reason it is not displaying the category options. Need help with the code. Can anyone help me out. "the db has two fields "id" & "category_name" …

Member Avatar for AON07
0
133
Member Avatar for preethi99

I need to do reporting in VB6. Can I use Crystal Reports ? My program doesn't get its data from a database. I need to pass simple variables to the report rather than link it to a database. Please enlighten me. Thanks and regards Preethi

Member Avatar for guest11
0
141
Member Avatar for ahmbil

i am trying to display a DB infos into a textbox. This my code sqlstr ="SELECT Description, Price FROM T_barcode WHERE Barcode ='" & Text1.Text & "'" con.Execute sqlstr Text2.Text = rec.Fields("Description") Text3.Text = rec.Fields("price") and iam recieving this "Item cannot be found in a collection corresponding to the requested …

Member Avatar for gsatya
0
92
Member Avatar for Tootlol

Hi, recently I just started learning php as a complete beginner, and I wrote some codes that wasn't able to show up on my browser. Please check to see if there is anything wrong with it. This is the exactly what I used. <?php $prices= array( ‘Tires’=>100, ‘Oil’=>10, ‘Spark Plugs’=>4 …

Member Avatar for MVied
0
154
Member Avatar for derekcpt

Hi, Could someone assist me here ;-) (Again) I am recording dates into a mysql database in the following forma: YYYY-MM-DD 2008-08-17 [code]date('Y-m-d')[/code] Now, I have to get data from my mysql database, but the data has to be filtered by the month and year. So, in other words, if …

Member Avatar for R0bb0b
0
207
Member Avatar for RobWil

I am newbe trying to make a data display application in VB6 with Flash Animation (Interface). My question is: When I run the application, it should opens in normal window with title bar (not maximized). But when user press a button or some thing like that, window should resize (maximize) …

Member Avatar for RobWil
0
5K
Member Avatar for nihao

Hello everyone: I want to change this date "12 Apr 2006 23:35:47" into "2006-04-12 23:35:47",I have tested lots of parameters of the command "date",but it still not execute UNDER FreeBSD,pls help me,thanks!

Member Avatar for dklima
0
560
Member Avatar for Lukezzz

If I have 2 Forms in my application and Form1 is my startingForm. Is it possible to make Form2 as my startingForm instead. What indicates in the code that Form1 is my startingForm. Is this possible to do ?

Member Avatar for Lukezzz
0
119
Member Avatar for Gribouillis

In the Perl language, you can fork a child process with the following syntax [code=perl] open CHILD, " | programA | programB | program C"; print CHILD "this is an example input"; [/code] (at least, you can do this under linux). This statement starts 3 processes in fact; programA, B …

Member Avatar for slate
0
229
Member Avatar for gpdrums

Hi All: I have an extensive website in which I would like to echo the name of the company various pages after the user logs in. I think I should be using the $_SESSION global, but I'm having difficulty implementing it, placing it in my code, and knowing what php …

Member Avatar for MVied
0
201
Member Avatar for dinilkarun

Hi, I am using a dialog box where user selects a XML file from the local drive. The selected file along with the folder path is displayed in a textbox on the form. The user can now edit the textbox. On click on 'Proceed' button, I am parsing that xml …

Member Avatar for dinilkarun
0
120
Member Avatar for bimaljr

Hi I just want to count files of particular type (like *.txt) in a folder. I searched net and found this for all files count : file_count = len(os.walk(valid_path).next()[2]) But I need perticuler type like *.txt . (means how many .txt files in folder) How to do this ? Thanks …

Member Avatar for bimaljr
0
8K
Member Avatar for natpu

[code]using System; class abc { public static void fun() { Console.WriteLine("Function"); } public static void Main(string[] args) { ThreadStart ts=new ThreadStart(fun()); Console.WriteLine("Main begins"); Thread t=new Thread(ts); t.Start(); Console.WriteLine("Main ends"); } } [/code] [B]Output showing[/B] Main Begins Main ends Function. [B]My Question[/B] The thread has been started and then the "Main …

Member Avatar for natpu
0
97
Member Avatar for andrew13d
Member Avatar for plike922

I am learn about using arrays and i need help [CODE]#include <cstdio> #include "simpio.h" #include "strlib.h" #include <iostream> using namespace std; #define Max 6 int main() { int power2[Max], i, n; for (i=1; i<=32; i++) { power2[i] = i; i = i*2; } for(n = 0; n<=Max; n++) { printf("%d …

Member Avatar for Aia
0
81
Member Avatar for AON07

K i have installed XAMPP, which includes (Apache 2.2, PHP, MySql and Filezilla) for windows XP Media edition. I have put my webpages in the C:\xampp\htdocs folder. The browser will run any HTML files in this folder using ://localhost/ however when ever i call on a .php file the browser …

Member Avatar for AON07
0
179
Member Avatar for omdnaik

Hii there Can ne tell me how to compile and run a C prog. using microsoft VC++... Till now i have been using Turbo C++ Compiler...

Member Avatar for Ancient Dragon
0
139
Member Avatar for herephishy

Consider the following VBA statement that calls a user-written function procedure Conevol with two arguments: Volume = 0.333* Module1.Conevol(radius, height) Based on the above VBA statement, identify the assertions below that are false: a. The above VBA statement resides in Module1 b. Conevol is a public procedure c. Conevol returns …

Member Avatar for aktharshaik
0
165
Member Avatar for HLA91

Hey all I am making a simple text editor, it is my first project and I have got the text area all set up but i have now tried to add a menu bar which will hold the File>Save,Open,exit etc... I have created the menubar and added one menu item …

Member Avatar for HLA91
0
3K

The End.