199,114 Archived Topics
Remove Filter ![]() | |
Hi, I have a problem with a code harness given to me by my tutor. Every time i enter values into a form, I get the following message: > Warning: mssql_query(): message: Invalid column name 'N56DSRT'. (severity 16) in /web/users/l1099341/SDD/insertCarController.php on line 27 Warning: mssql_query(): General SQL Server error: Check … | |
hi Actually I'm a web developer.I intersted to learn android.i want to know how to install complete Android setup in ubuntu.Can u please suggest the best tutorials for Android Development | |
Hello Friends I am VB.NET Programmer and currently working on a project where i have to copy the rar/zip file from any folder. While pasting it, it should extract the rar/zip contents automatically. I am done with my extracting part but Here are some problems i am facing Problem 1 … | |
Hi, i'm making a java program, and I started making the gui with a `JTextArea`, and tried to add a font (`Consolas`) and It crashes with a "divide by 0" error. It works fine on windows, and if you comment out the `setFont` line.. import javax.swing.*; import java.awt.Color; import java.awt.Font; … | |
I am having an issue implementing the Breadth First Search, Im trying to find the shortest distance between the source city and the destination city. Here is what I have so far, Im stuck and dont know what to do about this issue. #include <iostream> #include <string> #include <fstream> #include … | |
Please what are the default numbers of php pages need to be created for database relation in managing a dynamic website? Eg: admin.php, delete.php etc | |
Finding some text and replacing it with new text within a C string can be a little trickier than expected. Here is what I had come up with one day. | |
Hi There, Ive been searching everywhere in google but i got nothing. What i need is to be able display user datail after he login on a certain textbox Login.php page code: <?php session_start(); ob_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> </head> <body> <?php … | |
I am having trouble having redirection working with the ability to hit enter and remain in the same shell. My problem is if user types: ./a.out < foo.txt (where foo.txt contains a command like date) I want to execute that command and exit the shell.However,if the user compiles the code … | |
Hi all, Bit of a strange question but here goes... In my App.Config, I have a few parameters set, like connection strings, that locate and use a database stored in the user's my documents folder - <connectionStrings> <add name="DatabaseConnectionString" connectionString="Data Source=D\:My Stuff\Documents\My App\MyAppDatabase.sdf" /> </connectionStrings> I was wondering, rather than … | |
Please help me. It goes like this: Write a program that will determine the income of an employee. An employee is either a part-time or a full-time employee. A part time employee's gross income is computed as the product of his/her hourly rate and the number of hours worked. The … | |
In the graphic representation of Hoare's parititon: http://i.imgur.com/OtMaNsn.png Why does 'j' decrement by 1 when 'i' reaches 6? Since A[j] <= pivot and A[i] >= pivot at that point, shouldn't A[i] swap with A[j]? I am a bit confused about this part. The pseudo code I am following is this: … | |
Hello all, I am dealing with an SMS agregator company which has their server IP access restricted by default. But as I have created an account with them, they have added my VPS IP address (173.0.0.0) to their authorized IP address pool. This means that if I want to send … | |
Let's say I have a user input a string. string = input("enter a string") and that string ends up being something like "hello world!" but with a lot more whitespace. string = "hello world!" I want to condense this user's input so that instead of all that whitespace I only … | |
Hi all, I'm trying to change the border style of some buttons (but nothing is happening) with the following code: <script type="text/javascript" src="JavaScript/WS_Button.js"></script> which is in the <head> section. and: <td id="register_button_area"><input type="submit" name="register" value="register" id="register_button" /></td> <td id="login_button_area"><input type="submit" name="login" value="login" id="login_button" /></td> which is in the <form>. and … | |
Hi . I installed oracle 10g in D Drive(Because C drive is full). But when i try to uninstall , i cant see that in "add or remove programs". How to uninstall it?.. Any solutions.. | |
#include<iostream.h> #include<conio.h> #include<string.h> #include<stdlib.h> #include"Student.cpp" void main() { clrscr(); int choice; student s; cout<<"MCA EXAM MANAGEMENT SYSTEM"<<endl<<endl <<"1. Login"<<endl <<"2. Register"<<endl; cin>>choice; switch(choice) { case 1 : clrscr(); cout<<"1. Student Login"<<endl <<"2. Teacher Login"<<endl; cin>>choice; if(choice==1) { s.studentLogin(); cout<<endl<<"back to main"; } else if(choice==2) { //Call to login function of … | |
Hello friends, my computer suddenly have a problem when I uninstall the program Tune Up Utilites 2013, after finish uninstall that program, and then I restart, suddenly theme of my computer back to classic mode and out notice as: Debug Assertion Failed ! ----------------------------------------------------------------------------------------------------------------- Program: C:\Program Files\Lenovo\Energy Management\Energy Management.exe File: … | |
Hi there How are you? Would you please explain how the following queries work //alternate rows select * from emp where rowid in (select decode(mod(rownum,2),0,rowid, null) from emp); //3rd max salary select distinct sal from emp e1 where 3 = (select count(distinct sal) from emp e2 where e1.sal <= e2.sal); … | |
Hi, i have a 2D array animal and i want to copy it to another 2D array myArray. can somehelp? the code below is not working. I am havine this error : Uncaught TypeError: Cannot set property '0' of undefined on line 7 var test=""; var myArray=new Array(animal.length); for (y=0;y<animal.length;y++){ … | |
I have a guest entry form that takes a persons name and email. this writes the contents to a txt file. I then want to take the text file and format it so that it is an array. I use an explode function, but my code is coming up empty. … | |
I have a contact form. I need to deliver it to *bala_palash@yahoo.com* when anyone clicked on send. Please anyone help me... My form is <form name="contact_form" method="post" action=""> <table width="400" border="0"> <tr> <td><label>Your Name (Required)<br> <input class="name" name="name" type="text" id="name" value="" size="50"> </label></td> </tr> <tr> <td><label>Your Email (Required)<br> <input class="email" … | |
Hi, I have tried several solutions for my application which lets several users upload files to a database. The users belong to groups and should only be allowed access to their files or the groups files(if 'sharing' is on). I have tried to give every group their own database, but … | |
How can i create or link my database of payment in the paypal? i got some issues in here. thanks i attached some screen shot of my problems i cant get the variables from my database pointed to the paypal payment reciept. thanks for the help   | |
My homework goes like this: Write a program that accepts as many integers the user wants to input. Determine the highest and lowest numbers and subtract all other numbers from the highest number. example: numbers to be entered: 6 number1 :15 number2:20 number3:29 number4:38 number5:12 number6: 42 Output: Highest: 42 … | |
Hi Friends, I want to connect to a linux machine using a private key login as password from another linux machine. I want to connect this using a python script. Thanks in Advance, Omkar | |
help me i want get data from combobox into single datagridview forecasting i have 3 table table 1 = Jenis with 3 column = IDPemakaian,JenisData, JenisPelanggan table 2 = Periode with 6 column = Nomor, IDPemakaian, JenisData, Periode, Tahun, Jumlah table 3 = Pelanggan with 6 column = Nomor, IDPemakaian, … | |
I am trying to devise a program to scheduling "events" onto 3 different stages using dynamic programming. I have a start time a finish time and an interval associated with each event. int max1(int x,int y) { if (x>y) { return x; } return y; } int max2(int x, int … | |
I'm very confused about void pointers and this notation here below. I do understand that when you have a void pointer you eventually cast it to some kind of type int, double. What I don't understand is what is happening here : copySize = *(size_t *)((char *)oldptr - SIZE_T_SIZE); copySize … | |
Hi, I know html and a little javascript, mostly self taught. I was wondering what I would need to know ahead of time to start learning PHP. Is PHP dependant on knowing more javascript or databasing? Also, I was wondering if anyone can point me in the direction of a … | |
Hi, Sorry i need to ask for a help again. I have a listview and a search button i want to populate my listview when i click a button to search the field name "Last Name" for example i want to search "Sample" then it will populate my listbox with … | |
Group, Via Visual Studio 2010, I've created a SQL Server database with the appropriate fields, data types, etc. I'm now ready to begin some testing, however I need to put some information in those datafields. I'm having trouble doing this. I DID NOT set the tables to display in the … | |
Hi everyone, i am designing database for books application. I have main table **Books** and its child table is **Chapters**, chapters child table is **Sections**, So here is the problem, that some chapters has also divided into 3 steps **chapter Name -> Part 1 -> Divisions 1** and each chapter … | |
Good day, I am having trouble with the computation in SQL. i want to subtract the intStock and the intTotal_OutBound_items to just to get the items available. here is my SP.. INSERT INTO CO09_Report ( intMaterial ,txtDescription ,txtMaterial_Type ,txtATP_check ,intDelivering_Plant ,intOrder_Quantity ,isHeld_by_Finance ,isRejected_OOS ,isRejected_Others ,intOpen_Order_Quantity ,intOrder_Quantity_NKA ,intOrder_Quantity_RKA ,intOrder_Quantity_Others ,intStock ,intDSD_Delivery … | |
Hi, I am using jquery to make some text scroll in to my web page. I want to know how to make it appear slowly. This is the script I am using: $(document).ready(function() { $('p').animate({"left":"300px", },"500"); }); I tried this, to make it go slower: $(document).ready(function() { $('p').animate({"left":"300px", },"500","slow"; }); … | |
#include <iostream.h> double box_area(int); double box_vol(int); void main() { int l,w,d; double a,v; cout<<"length : "; cin>>l; a=box_area(l); cout<<"area : "<<a; cout<<"width : "; cin>>w; a=box_area(w); cout<<"area : "<<a; cout<<"length : "; cin>>l; a=box_vol(l); cout<<"volume : "<<v; cout<<"width : "; cin>>w; a=box_vol(w); cout<<"volume : "<<v; cout<<"depth : "; cin>>d; a=box_vol(d); … | |
So... I am sorry if I have posted the question at the wrong place, yet I couldnt find a better place. Anyway, my problem is as follows: A week ago, we had to bring back to life some old projects of the firm. The projects are ... not too complex … | |
Hi guys I need some explanation from you experts on php.I succeeded in installing MySql vers.5.5, workbench, myPhpAdmin and Wamp Server.I gave up installing Apache, too complicated, I use IIS7 anyway and works fine.All these tools work fine, I can create databases, tables, update them etc.and I am doing all … | |
hiii am just gong to start the coding for barcode generator so can any one help me or guide me how to start and what to do... | |
Hi all. I have two tables (question and answer) with q_id as the link. I would like to output the data that each table holds alternately like this: [Question 1] [Question 1 Choice of Answers] [Question 2] [Question 2 Choice of Answers] ...and so on. I've managed to filter the … | |
I need help to create **Full Screen Filterable portfolio using jQuery** with thumbnails? 1. thumbnails will be Filterable 2. option to choose position of filter and thumbnail(right, left, top, bottom) 3. after click on thumbnail background image should change 4. slide in/out filter with small icon (**$('#filtertext').animate();**) 5. thumbnails should … | |
This short piece of code shows you how to display text in color in a C# windows console program. The corresponding WIN32 API functions are in the kernel32.dll and are imported and declared external. The only other problem is to assign variable types that accommodate the types listed in the … | |
Dear Friends, Tommorow we have a annual Big Match in Our School. So, I hope to update scores ball by ball to our school web site. Is there any script to do this easily.? Thanks in advance | |
I need to write a code with a constructor class in order to see the whole phonelist using an array that reads from a document txt, able to add a person and phone number, search just one person in the phonelist and able to modify their phone number. here is … | |
I need to input a name in the JMenuItem(employee name) using JOptionPane, I used this statement (JOptionPane.showInputDialog(frame, "Enter Employee Name");) and I try using a string variable but nothings happen. import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.awt.FlowLayout; import java.text.MessageFormat; import javax.swing.table.AbstractTableModel; public class Cs extends JFrame implements ActionListener { … | |
I am having a problem to understand how class inhertance works in Java.. Now I want to get information from a class to another and let's say we have class A and class B class A contains a string an int and a byte class B contains a String and … | |
Hi All, I have a TextBox in my Form and I am drawing a string into it as below. Font myFont = new Font("Arial",18F,FontStyle.Regular,GraphicsUnit.Point,128); Graphics g = myTextBox.CreateGraphics(); Brush b = new SolidBrush(Color.Red); g.DrawString("Item Drawn with DrawString",myFont ,b,new PointF(1,1)); The string displayed in the TextBox. Then I tried below code … | |
I was just wondering if someone could maybe set me on the right track or tell me exactly how to do what I am about to ask. I have a bunch of answers in a notepad file, such as TFTABCD (going downwards, a letter per line), how can I make … | |
public class W4P7{ public static void main(String []args){ int [] myArray = {11, 29, 21, 23, 33, 32}; method(myArray); }//end of main /****************start of method****************/ public static void method(int [] x) { int swap; for(int i=0; i<x.length;i++){ for(int j=0; j<x.length-1;j++){ if(x[j] > x[j+1]){ swap = x[j]; x[j]=x[j+1]; x[j+1]=swap; }//end of … |
The End.