64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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 | |
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 … | |
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 << … | |
: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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 | |
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). … | |
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". … | |
i am assigned to convert data from microsoft excel to mysql... pls tell me how. pls help. thanks ! :( | |
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 … | |
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, … | |
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 … | |
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] … | |
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 | |
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 | |
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* … | |
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. | |
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 … | |
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 … | |
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 | |
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> … | |
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 … | |
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 … | |
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" … | |
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 | |
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 … | |
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 … | |
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 … | |
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) … | |
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! | |
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 ? | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
oops!! used the code tag wrongly!! sorry. ![]() | |
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 … | |
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 … | |
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... | |
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 … | |
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 … |
The End.