199,111 Archived Topics
Remove Filter ![]() | |
Dear all, I need some help regarding my final year project, i have been assigned the title: "SMS Pizza Ordering". I will be grateful if i get help on how will i start the project, the tools and knowledge needed to proceed. the languages which i am good at are … | |
Hello, I recently became stuck while programming my new application. I have two forms (A and B) and I am trying to make a text box on Form A display the name column from the local database on Form B. So in the end, the textbox on Form A will … | |
<head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>Upload photo 1</title> <form method="post" action="upload.php" enctype="multipart/form-data"> <p> Photo name: </p> <input type="text" name="Name"/> <p> Category : ---> Choose Between Animals, Cars , Landscapes , People </p> <input type="text" name="Category"/> <p> Creator </p> <input type="text" name="Creator"/> <p> Upload your photo : <input type="file" name="photo"> … | |
Hi all, I need help with this code: DataAdapter1.Fill(DataSet1); DataSet1.Tables[0].DefaultView.Sort = "sortcolumn"; BindingSource1.DataSource = DataSet1.Tables[0].DefaultView; After execution, the "DataSet1.Tables[0].DefaultView.Sort" property is reset to empty string. What might be the cause of this, and how can this be avoided? Thanks | |
I am trying to serialize data in my XNA project. I have a Texture2D background property that I use during runtime, but I also have a 'string property' to hold my Background name. This will allow me to serialize the asset name so I can later use the info to … | |
hy!!!!i am trying to write a java code that returns the majority element in an array and -1 if not!!this is what i came with public class Majority{ public static int arrMajority1(int A[]){ int n = A.length; int c = 1; for(int i=0;i>A.length;i++){ for(int j=i+1;j<A.length;j++) if (A[i]==A[j]) c=c+1; if (c>(A.length/2)){ … | |
I'm trying to use limesurvey but cannot get the slider as i would like it. Here is a link to the surveyquestion: http://adam.synology.me/limesurvey/index.php/survey/index/sid/164171/newtest/Y/lang/sv I want the images to change according to the value of the sliders. With a regular html form i had this to take care of it: <script … | |
Hello All, this is my first post, so bear with me... My problem is with the following code. I have a simple menu setup to do some number conversions, and everything compiles properly. When i run the code, i end up with the Java VM (in bluej) just running endlessly, … | |
Hi Everyone. It's been a while since I was on here last, but ran into an interesting problem with a nested for loop that I cannot solve. Hoping someone here will know the answer. I placed breakpoints in my code at the For x=1 to 10 line and after to … | |
Please could someone tell me the best way to wrtite this in PHP i am validating gender in a text box i do not want to use radio button. at present my code is like this but not working if(preg_match("/gender/i",$field)) { if(!preg_match("/^M,F $/",$value)) { $errors[] = "$value is not a … ![]() | |
I have a xampp database user log in with username and password, but i want to send each user an ID after registration and this ID should auto increment in my database. at the moment i can only achieve this if i include a field on the registration form, but … ![]() | |
Hi, Please can someone tell me how to upload images to my database table images. I would like to be able to link to these images eventually from a link on my webpage. I would need to be able to upload more than one image at a time. ![]() | |
Hello hi. I am seeing flames with using FILESTREAM in SQL Server 2008! I have a table (Products), in which I wanna store a link to an image stored on disk, under the ProdPicture column. This is what the script looks like: CREATE TABLE PRODUCTS ( ProdID INT PRIMARY KEY, … | |
HI, can anyone pls help me regarding the following context..suppose i hv 3 form in javascript..when user give valid info in the first form then only the 2nd one will enable..after validation of 2nd one the 3rd one will enable ..not only that say 1st form has a title when … | |
I'm making a B2B portal that can see just loggedin business customers that I add to base, I finished almost all, but there is one problem. When customer add some goods to his cart, goes to checkout and confirm his order he will have a link to invoice.php?ids=156 and that … | |
can anyone give simple example of storing data in datastore in google apps engine using python . thnx | |
Cannot InvokeMember on HTML Page I have a VB Net application that I have been running for over a year to login to a specific website Heritage Coins & Currency The page I'm now unable to loging is --> https://coins.ha.com/c/login.zx I am setting the text boxes as follows: WB1.Document.All("emailAddress").SetAttribute("Value", "sge") … | |
Hi, I am Developing one website.There is textrea box where i need to fetch the datafrom database and need display it in textarea box using java script.The text contains special charectars like single quotes and double quotes. how to escape quotes please help me am using **mysql_real_escape_string();**but the query results … | |
Hi, I am working on EmguCV project. and I am stuck on following error. A first chance exception of type 'System.DllNotFoundException' occurred in Emgu.CV.dll I added required references. I also tried different versions of EmguCv. But no use. Help me. | |
Hello, I need to write a program to take in a name (max 101 characters) and out store in into an array so that I can output it like a list. These 2 programs are apart of a bigger program that keeps asking if you want to add another name … | |
Hi, I am trying to create the most general function possible to test if an object passed into it has mutability or not. With some prior help from pytony, it seemed that the best way to do this is to try to set and attribute. If the attribute can be … | |
Hello, I am currently working on a project and I am stuck at the moment. Basically I have a few JToggles buttons, a jbutton and a text box. When the user select a jToggle button, write some text in the text box and clicks on the Jbutton, the text on … | |
serious noob question, but i'm following my android book and it is doing something with a class that extends list activity. is that a file that i have to create on my own, or is that provided once i create a new android project? i can't seem to find it. | |
Hi People, Got an issue with css in php. Actually I'm trying to create and send a html email. My front-end form consists of To(textbox where recipients email address will be entered) and then I've embedded ckeditor in place of Textarea where I will be typing the message... Now this … | |
[COLOR=DarkOrchid]hi, im looking to start my final year project in computer science, but we haven't been given much guidance on a topic area, one of the things i was thinking of perhaps doing is a learning aid or something of that sort, and im not too good at java so … | |
Here I am Sending you my code ,wherein I want to have total of examfees(column),PromotionFees(column),Totalfees(column) and Balance(column).Examfees are paid in installment in my project The idea if single record is found then it doing calculation of balance=promotionfees-totlafees and if anywhere due to mistyping is value is higher then the respectively … | |
Hi, I am totally new to lib png and png++ and have recently made my first project with these on linux. But have no idea how to use png++ on windows. I have my libpng configured on windows and am wondering how to move towards making png++ available and running … | |
Im new here and i want to make this code more simple: If tabC.TabCount = 1 Then NClose.Enabled = False CloseNote.Enabled = False CloseNoteContext.Enabled = False CloseNoteX.Enabled = False Else NClose.Enabled = True CloseNote.Enabled = True CloseNoteContext.Enabled = True CloseNoteX.Enabled = True End If I try this `NClose.Enabled, CloseNote.Enabled, CloseNoteContext.Enabled … | |
I get a stackoverflow exception on following commented line. namespace Football_Manager_WFA { public partial class Settings : Form { Color def_bgdColor = SystemColors.Control; Color def_fontColor = Color.Black; // ERROR static FontFamily fontFamily = FontFamily.GenericSansSerif; Font def_fontType = new Font(fontFamily, 8.0f); } } | |
Can someone tell me how to write ` void readBinaryTree(BinaryTree *&p, ifstream &fin) {` in C ... `void readBinaryTree(BinaryTree **p, ifstream *fin) {` `readBinaryTree(&p, fin)` ??? Thanks | |
I need some help with the following. I have a form called frmMain that has a couple of icons, one of the icons when clicked loads frmNotes within a Panel, frmNotes has a ListView and i want to load data from a Microsoft Access Database Table into the ListView I've … | |
Hi everyone. I am making a random music player. How can I play music randomly? My WMP(windows music Player) is Invisible in order to become a background music. What code should need to aplpy to create this program? Here is my Code: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e … | |
Hello guys, do you have an idea how to add rows in php? Like datagridview in which you can add rows when you want to. Any idea what should I do? Thank You. | |
Hi All, I am somewhat confused about how to put this before you, so pardon me if it creates confusion in your head. **Requirement**:: To write a removal Tool for a Software. **Language**:: C (preferred), C++ (Will do), Windows API (Will also do) **Problem**:: The problem is where and how … | |
The following are the requirements of the program and all code can be written within one C++ source file for the purpose of this assignment. 1. Declare three structs to store Athlete, Event and Registration details. The struct definitions are provided in Appendix 1. 2. Write the driver code (main) … | |
hi there, I am making an animation which include music. I want my program to stop the animation when the music stops. Anybody know what code do i need to apply through if condition? I need your help... =( tnx. Here is my code: Private Sub Form1_Load(ByVal sender As System.Object, … | |
This is a basic question, but I can't seem to understand how this works: Suppose I pass a structure pointer to a function, do I need to malloc memory for this passed pointer inside the function? e.g., typedef struct example_data_ { int serial; char *name; } example_data; int main() { … | |
Hello, I want to search a specific column in ListView. I've coded searching however it always defaults to search the first column, how can i specify which column to search? Here is my code: Private Sub btnSearch_Click(sender As System.Object, e As System.EventArgs) Handles btnSearch.Click If txtSearchThoughts.Text IsNot "" Then 'ListViewSearch.Focus() … | |
Hi, I want to execute a tcl command with a python method. I don't really know how this works. This is my tcl command: <object> config -<parameter> Now I want a python method, that should look like this: def config(config_obj, parameter): #code which executes the tcl command Do you know … | |
hi, i want to retrieve only the second field from system datetime..how can i do that??can anyone plz help me..thanks in advance | |
I really need this WYSIWYG editor here on DaniWeb, with the smileys and rich text editing, does anyone know where to get it? Thanks, jon | |
Could anyone tell me how to make a BSP tree?? like what things should i consider to implement it?? i'd be grateful if anyone gave me a list of basic steps to implement it..thank you | |
Hi i have a datagrid in my c# windows form and i want to merge the row he can input data in w1, w2, w3 and .., and save. weeks Item 1 | Forecast | w1 | w2 | w3 Item 1 | Stock on Hand | w1 | w2 … | |
/*Ok I have code that's behaving unexpectedly The following program is supposed to print prime numbers for n1=100,n2=1000,n3=10000 and n4=100000 except that for n1=100, it prints the squares of primes less than 10. I can implement this same program in c++ and wouldn't get such output. I need another pair … | |
1.Suppose a method is declared as: public static void f (double d, int n) { ....; } Which one of the follow method invocations would compile with no errors? Select one: a. f(2.5, 3.5); b. f(2, 3); c. f(2.5); d. f(3); I chose b 2.Each of the following pieces of … | |
Hello, I am doing a school project and need assistance on validating raw input, this is very simple stuff, but can someone answer this for me? The statement is: ordertype = str(input("Is the order pickup or delivery?")) Only two values could be entered: P or D (or p or d), … | |
Hi All , I need to get multiple result from same table my table structure is id category parentid 1 dress 0 2 men 1 3 mtshirt 2 4 women 1 5 wtshirt 4 If I give wtshirt it should produe result as wtshirt-men-derss how can I write query for … | |
Hello guys, i want to populate a textbox based on the selected index of a combobox. For example, the textbox will only be displayed if the selected index is "5". But the problem is, i generate a series of comboboxes through a loop which is based on the number of … | |
We'll got stuck my self in adding row using javascript, It seemed doesn;t work at a time I click on the button "tambah Barang" do I missed something..??please help.. Thanks <?php include_once "config.php";?> <script type="text/javascript" src="../jquery/jquery.min.js"></script> <script type="text/javascript"> var idrow = 2; function tambah() { var x=document.getElementById('datatabel'); var td1=x.insertCell(0); var … |
The End.