64,152 Solved Topics
Remove Filter ![]() | |
![]() | Hi there. I am trying to use a html form to send a PHP email but I am having some problems when I enter the message in the text area. The messages that I send have line breaks in but instead of doing a line break it shows the [B]<br … |
Hi, I want to retrieve data from my database and display it in my form. How can i do that? i mean the php coding of the process. Thanks, Heshan. | |
Hi, I am requesting code for a countdown timer please, where 2 labels (Minutes label = label6 and Seconds label = label7) I have tried for a long time to try and get this to work, and it has to be "Hours:Minute" format. I will add below the awful start … | |
Hi guys, I am using this code to update a record after searching but it gives me error here is my code please please help [CODE] Dim con As New SqlClient.SqlConnection Dim strCon As String = "Data Source=ITS;Initial Catalog=Payment;Integrated Security=True" Dim strCommand As String = "SELECT * FROM CustomerInformation WHERE … | |
the few things that i cant understand are inside the code.. The code should give out the car type, model type ,serial number. and the number of cars.. [CODE]public class part5{ public static void main(String[] args) { System.out.println(Car.getCounter()); Car[] cars =new Car[5]; for (int i = 0; i < cars.length; … | |
hello! i need help with mouse click. i need to place in a timer_tick a code that detect if i clicked with the mouse. so i know that i can use on mouse click event ,but i have many and many controls so it's take a lot of time and … | |
Hi all, I currently working on a python program with the use of wxpython to make out a gui application. However, i wish to compile my application to be like a standalone application where people can just get the .exe file and run it without installing python and wxpython. I … | |
I have been learning VB.NET and am currently having troubles retrieving data from an XML file. I'm trying to keep the code as simple as possible as I only need to select single items from an XML file, not rows of data. The XML file contains: [code]<CurrentPeakUsage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://au.com.amnet.memberutils/"> … | |
I'm trying to create some type of callback system for events. I have a function where I'm attempting to set a member to a pointer to a function but I'm receiving an error. This is what I attempted to do: [CODE]void (MyClass::*test)() = &MyClass::TestCallback; EnterButton->SetCallback(test);[/CODE] And then in the class … | |
I want to sort a list of dictionaries using the inbuilt sort() function for lists. The problem is I am not able to understand, how to give the function a key.. Example: [CODE] a={'name':1,'data':200} b={'name':2,'data':400} c=[a,b] [/CODE] Now, I want to sort the list c with the key being a['name']. … | |
[COLOR="Green"]Hello I've just joined this forum, although I have used it regularly in the last couple of months to help in my learning of programming. I have learned a lot (I feel), and I'm now hoping to not only resolve the errors I have in my coding, but to gain … | |
Im not really in the major of c++ or I.T i need your help [B]The Fibonacci Sequence it must lead the sequence 0,1,1,2,3,5,8,13,21.... A program that will generate a Fibonacci of a specified length given the first 2 numbers in the sequence. First input an integer N that specifies the … | |
hello can you help me i don't know how to make this method remove(Node n),in SinglyLinkedList can anyone give a hand on this.. thank you in advance.hoping for your positive responds... [CODE] public class SinglyLinkedList { private Node head; private Node tail; private int size = 0; public Node add(Node … | |
i keep having a problem with my arrays. when i set them up and try to re-use them elsewhere i only get the last part of the array and all the rest are pointers. [CODE] typedef int* ptr; ptr sub;//dynamic int count = end - start; //the sub-array's size is … | |
here is my codes, i plan to output the name and the weight. but no matter i try many time it still give me an output only output should be this-> Name = Meow Weight = 10.5 whereas what am I getting is Weight = 10.5, why? thx [CODE]#include <iostream> … | |
I have this for my register form that if it exists die which falgs up a new blank page that displays the message but i just want the error to stop the script and appear on the form. [CODE] if(usernameTaken($_POST['user'])){ $use = $_POST['user']; die("Sorry, the username: <strong>$use</strong> is already taken, … | |
hmm....why I can't get the output?? any wrong ?? thx for helping... #include <iostream> using namespace std; const int SIZE = 3; class Course { string* students; public: Course (string* students); ~Course (); void print(); }; Course::Course (string* students) { students = new string[SIZE]; for(int i=0; i<SIZE; i++){ students[i]=Course.students[i]; } … | |
Hi all... I am a new c++ learner. I'm facing a little problem. according the code below I try to display the output from the loop... but no matter how I trying it still can not work.... here is my codes... anyone can tell me which part am I wrong … | |
Hello! I am having issues with a project for my C class. We were provided the program shell (structs and the function calls) and we fill in the code for the functions. I did this, however I get a segmentation fault every time I first access my structures. Can anyone … | |
Hello, I have created a script and as part of the script i want the script to detect the upload_max_filesize which is set in the web servers php.ini file. It will be displayed on the file upload webpage which is accessible to admins only. Now at the moment i am … | |
Hi All, I'm using VB.net to create a batch of word documents using the Microsoft Office OpenXML SDK. The documents are made up of a header and the main body which is made up of a table. I can sucessfully create the table in the main body. The issue is … | |
please me on how to insert a picture am new to netbeans [CODE]package LibraryDatabase; import static javax.swing.JOptionPane.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; public class PostLibraryDatabase extends JFrame implements ActionListener { JTextField firstName, surName, id, serialNumber, category, dateToday, coverTitle, isbnNumber, authoursName, coAuthoursName, pubDate, loanDate, returnedDate, email, details; JButton writeBtn, displayBtn, … | |
Is it possible to call a constructor if we entered know value in the output screen ??? example !! [CODE]import java.io.*; class Employee{ int num; static int count=0; float compensation; public void print(){ System.out.println ("Employee number: " + num + ", Employee Compensation: $" + compensation); } public Employee(){ num … | |
I am in the middle of a project where I use four different folders containing all .wav files. Depending on the results of a sign on (ID) I want to use one of the four files. I am using the results of that sign in a "if..then" comparison to determine … | |
[CODE]#include <stdio.h> int MyStrlen(const char *si); int main() { char str[] = "a"; char str1[] = "HELLO"; char str2[] = ""; printf("Length: %d \n", MyStrlen(str)); printf("Length: %d \n", MyStrlen(str1)); printf("Length: %d \n", MyStrlen(str2)); return 0; } int MyStrlen(const char *si) { int input; for(input = 0; *si; si++) input++; return … | |
hey all could you please help me fix this problem? i spent hours looking for the solution, but haven't solved the problem. [code = c#] [U]web.config file[/U] [B]authorization[/B] [code=xml]<authorization> <allow roles="Admin"/> <allow roles="Employee"/> <allow roles="Manager"/> <deny users="?"/> </authorization> <roleManager enabled="true"/> <compilation debug="true">[/code] [B]authentication[/B] [code=xml]<authentication mode="Forms"> <forms loginUrl="Login.aspx" protection="All" timeout="30" name=".login" … | |
Hi all.. I have a static page called news. This page have more than 100 articles link and small description. Now i am planning to implement a pagination of every 10 links. Anyone help this problem? Thanking you. Regards, Ram | |
when a datareport show, there has a button to print the page manually. I want when I click the button (to show the data report,it will not show), the page print directly. I don't want to show data report and don't click that button (print) in this page. | |
some data entry in some field. like: ID name amount 01 taher 100 02 kamal 200 01 taher 500 I don't know what data entry in field. in my vb project i have some textbox. I want one textbox show the Id: 01 and other text box show the (total … | |
in my project man can entry their income or expenses. like: paper sale, pencil sale etc. they entry it like: paper $200.00, pencil $100.00. they also made a group or category. here they entry paper and pencil under 'sales' group. so every thing depend on user. here I want the … | |
when i want to link a child command with parent command (in data environment) then show this massage. but i make a relation with same field. then why show this massage. nb: i write sql in command. | |
Hi all...i'm currently trying to manipulate strings from tokens. may i know how to eliminate a char from a token without splitting it?Below is some code that i tried.How can i eliminate a certain word after the tokens are set? [CODE] package autotextsum; import java.util.*; import java.util.StringTokenizer; public class AutoTextSumm … | |
Assumming that program name is "XML.java", I need to perform the followings for each input file in command line--without running the code for every test file: java Xml < input1.txt java Xml < input2.txt : So My Code IS: [CODE]BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));[/CODE] [CODE]String fileName = bf.readLine();[/CODE] [CODE]File … | |
Hey everyone, so my work wants me to update their website with a email contact form, i foolishly agreed not realising what i was getting myself into, i didn't know how complicated php is (i am an artist, not a coder :icon_redface: ), it's taken me about a week and … | |
Hi Guys! I wanna ask questions about the code [CODE]Me.hide[/CODE] I have a button to switch between two forms, and I used the me.hide code to perform the action. However When I exit the program, the debug is still on, meaning that the form which I hide is still running. … | |
Hi everyone I'm trying to create a PHP/MySQL script which will allow a user to enter some details about an image (.jpg or .gif or whatever) and upload it to a MySQL Table. Now, I've got it working perfectly in Firefox 3.6.8 and in the script portion below, it outputs … | |
Hello, Im trying to generate an email with Multiple Listbox selections... Unfortunately the listbox allows me to select multiple choice but when I submit the form only one "selection" is shown... Im assuming a for each or something will be needed here... all tests using that method have failed. Could … | |
I'm trying to validate a day of the month, so that if the user enters a negative value or a value above 31, the program prints an error message and prompts for another day. The code below doesn't work as expected. Instead, it gets caught inside an infinite loop, printing … | |
I've a assignment question, A point on two dimensional plane can be represented by two numbers: an x coordinate and y coordinate. Eg (4,5). The sum of two point can be defined as a new point whose x coordinate is the sum of the x coordinates of two points similarly … | |
Hi All, I am getting the below error message when I try to degug my program. The 'Migrosoft.Jet.OLEDB.4.0' provider is not registered on the local machine Thanks in advance. | |
I'm trying to connect and can. The code fails at the select database. I have created the Tools database already. The table is an exact clone of the mysql counterpart that is currently working. Any Suggestions? [CODE]<?php $dbuser="yukon"; $dbpass="yukon"; $dbname="Tools"; //the name of the database $chandle = odbc_connect("sqlserver", $dbuser, $dbpass) … | |
Hello, I have a problem opening Excel file which I have created using a xslt. Actually, I had a xml file which I transformed to an excel file and saved. I don’t know how to open it. Everything I have tried, didn’t work. Please, if someone knows the answer... | |
For whatever reason, I can't figure this out. I'm getting this error: [quote]error C2082: redefinition of formal parameter 'user' [/quote] In this code: [code=c++] #pragma once #include "Standard Libs.h" #include "Ability.h" #include "Spell.h" #include "Item.h" class Adventurer { private: string name; int level; int xp; int gold; int attack; int … | |
I have a txt file that I need to read into a listview, but I need to read from a specific line in that file. Can someone point me in a direction on doing this. Below is a sample of the txt file to read, 6400,3200,2,95.5,84,76.6,0 1,2,-20,15,0,0,0,"NO",0,0 TOTAL GPM= 6400 … | |
Im trying to make it so that my menu options that i've highlighted are their own method but i was having issues with returning them so i could use the selection as an int for my switch statement.Any ideas? [CODE]import javax.swing.JOptionPane; public class ConversionProgram { /** * @param args */ … | |
Hi, total beginner here, trying to learn at home. Just thought i'd get that in. if i have a number eg 123 trying to figure out a way of calculating all the possible cominations 123 132 213 231 312 321 can do it with pencil and paper but don't know … | |
[B]somebody please tell me why im not getting String(X) value as ID,Name,FName are being printed on console correctly but the name of ID(4) from my DB_table is not going into string(X); [/B] [CODE] package gym.resources.busyicons; import java.sql.*; class OdbcAccessQuery { public static void main(String [] args) { Connection con = … | |
HI i am trying to make screen saver in vb.net i m using picturebox and timer (for separation of time), but i cannot attach multiple pictuers in a single picturebox. can anyone help me ? Thankx | |
I have a reporting page I am working on and I need to get this gridview exported to CSV. I have gotten everything setup properly but now when I export it the key collumn data is empty while all others are there. No where in the code do I mess … | |
Hello, me again. No VB experience and very little SQL experience. I am trying to upgrade a web site, that connects to a SQL DB to track requests. The SQL DB was originally built in SQL 2000 and I did not create the DB or the web pages. The new … |
The End.