199,114 Archived Topics
Remove Filter ![]() | |
Hi, I have been using some tools to generate my php code as i have little knowledge of php. the tools are ok but the support is rubbish. everything is generated in US date and time format and i need it to be in UK. anyway to cut a long … | |
I'm having a problem with a homework assignment. I had to create a doubly-linked List class with an iterator. I have done this except there is one "display" method that displays a large integer that is stored in this List class. The method is constant and my custom Iterator class … | |
Hello, i am programming a spreadsheet as my assignment. I have done it but the last step is to make it so uncalculated cells linked to other uncalculated cells need to be calculated. meaning if A1 hold the formula A1 = a2+a3 and if A3 in turn holds another formula … | |
Hey everybody, I was wondering if somebody could help me. I'm having trouble with this assignment, tried to email my teacher a few days ago and he has not returned my email, it's for an online class. The whole chapter is talking about abstract classes and Inheritance and it's very … | |
Hi, I have a homework assignment to copy the elements of one stack to the other except in reverse order. The algorithm is easy enough for me to figure out and implement. My only question is, I dont really understand how im supposed to add my own function to a … | |
I have a php login scripts and the page is secured. But my images on the page can be viewed if you know the direct url. How can i make it to where only logged in users can view images? | |
In my program below, I am having problems running my program. The error I receive is "could not convert `nextPermutation(((char*)(&elements)), n)' to `bool'" I just want to print out the permutation of ABC. Will someone please check my nextPermutation function to see if everything is correct. I know there a … | |
| |
Hi, I'm a Perl newbie and I have a job to do, but I can't do that! I'm almost crying! =( Please, someone help me? This is my problem: I have a txt file like this Config.txt SourceIP = 10.1.1.1 SourceMAC = 00d0047203fc IPProtocol = 7 -------------------------------------------- Then I have … | |
Hi guys, I am looking for a way to check for error. I have an array of names. The user will enter a name and it will check the list for that name. If that make is not correct, it will go back and ask the user to try again … | |
Hey all, I have a problem with this particular piece of coding I have for my payroll system in Visual Basic 6. I am basically trying to calculate the wages of employee's by entering in the number of hours they have worked. The criteria of how much pay they receive … | |
Hi everyone: I have written C++ code for populating a matrix/2D array with calculation results. Each column of the array represents results for a distinct time step. My problem arises because the rows of my results vector do NOT correspond to the rows of the matrix. The matrix includes extra … | |
[CODE] /* ** showip.c -- show IP addresses for a host given on the command line */ #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <arpa/inet.h> int main(int argc, char *argv[]) { struct addrinfo hints, *res, *p; int status; char ipstr[INET6_ADDRSTRLEN]; if (argc != 2) { fprintf(stderr,"usage: … | |
Hello Every one ! This program is producing some strange output as it is only generating x = 6 :(,can some through some light that why is it behaving like this ? [code] #include <iostream> #include <stdlib.h> using namespace std ; main () { // Random Number Program int num,x … | |
I have a text I want to search for all it's upper case letters, then present these letters unique and sorted. I welcome any suggestions. | |
I have been working on this code for two weeks. I think I have it down to the last couple of lines ie funtion to call from main. But I just cant seem to get it.. Please help, due at midnight..ANd this is my first class so be gentle. :), … | |
Hello, For java interface, In one class I have the following code public class ObjectA { public void SampleA() { //do something 1 } public void SampleB((int aPosition) { // user enter some value } } I have another class which is not related to the other class, only interested … | |
I a method that generates a PDF and the method returns a byte value, but after response.end statement, the shows an error that the "File does not begin with '%PDF-' here is the code: [CODE] private static Byte[] GenerateReports(string templateFilePath, DataTable table, string fileName) { Byte[] Output = null; string … | |
I'm having an issue with my code and after hours of time I can't figure out what I'm doing wrong. There are three classes (GUI, Judging, TestGUI). All programs compile correctly with no syntax errors. The GUI creates an interface that should compute (JButton) a total of 8 scores and … | |
I have done a lot of PHP but never JSP. I have checked tutorial but not gone too far. I see there are Java beans and some servlets which I'm zero brain at. So I have two questions: 1. Where to read a concise tutorial (Not too detailed I mean) … | |
Hiya, whnever I use this code, I get a File Not Found exception, even though the file paths are all correct. Any ideas? thanks [code] Dim WordReader As String = "C:\Program Files\Microsoft Office\Office10\WINWORD.exe" Dim HelpPath As String = "C:\Documents and Settings\Steven\Desktop\TPBData\Help.doc" Shell(WordReader & HelpPath & "" & AppWinStyle.MaximizedFocus) [/code] | |
I am writing a java application on mobile which uses Bluetooth connections The javac compiler compiles the file without error but when I try to exe a certain part of the code it says: ALERT:Cannot create class in system package and this doesnot happen in application beginning it happens at … | |
[code]namespace Exam { public partial class Form1 : Form { public Form1() { InitializeComponent(); } Private void btnCalculate_Click (object sender, System.EvenArgs e) { try { If (IsValidData()); { int Numofyrs = Convert.ToInt32(txtnumYrs); Decimal discountRate = Convert.ToDecimal(txtDuiscountRate); Decimal yrlyCashFlow = Convert.ToDecimal(txtYrlyCashFlows); Decimal onetimecosts = Convert.ToDecimal(txtOneTimeCosts); Decimal yrlyrecurrcosts = Convert.ToDecimal(txtRecurCosts); npv = … | |
i have been using WAMP so never did a real php install... now i am trying to install php on a windows2003 machine... downloaded php5.3 msi file and finished the installation, added the path to the environmental variable. i can run php file in cmd now. however, i used notepad … | |
How can I change the chmod to 0777 through PhP for a folder with subfolders and all it's content!? Or if I set the chmod for the folder with the subfolders all the subfolders will have 0777 permission as well? Thanks :) | |
hi i wana save the radioo button which user cheched to a file i wrote this code but it dosnt work... can anyone help to found the problem: [CODE] private void button1_Click(object sender, EventArgs e) { FileStream fs = new FileStream(Path1,FileMode.Append,FileAccess.Write); fs.Close(); StreamWriter Wr = new StreamWriter(Path1); if (radioButton1.Checked) { … | |
I have been working on a program in java which displays the different steps of sorting a list. My step() method updates the gui with the current iteration of the sort, and works fine when it is called from my button's action listener. My goal is to make an auto-step, … | |
I'm just going to post my pages here if someone will take a look and let me know where to go from here...sorry, I could have attached files if you would prefer. I am not sure what needs to be in my VB page if anything more is required nor … | |
Hi All, I need help with try catch statement at the statement. for code `myChar = s.readLine().charAt(0);` I keep getting error: can't find variable myCar and s if te remove the whole try catch statment I get error: unreported exeception java.io.IOException; must be caught or declared to be thrown on … | |
Hello, I'm trying to pass a $counter2 value from php loop to javascript, but $counter2 is incremented so I'm passing the highest value of $counter2, which i not what I want to do. Is there a way to combine values with html identifiers and pass them to js?I would be … | |
I am trying to write a student database. I've done most of it, however to improve im trying to write something that will display the infomation entered and then ask if this is correct, if it is then continue if not then start back at the entering data part. here … | |
I just can't seem to solve this. Heres what I want to do: I want my program to calculate movement, from one point to another. The function _updatepos is the main function, where I have troubles. It is supposed to, as the name says, update the position (posx and posy), … | |
Hi all. I'm new with jsp and i'm just looking for create a login solution. I use a mysql database and what i'm looking for is what follows: Make a query to my sql database and then insert the output of one field in a variable. I need this variable … | |
Hi everyone I have system that has classes derived from QGraphicsWidget. I manage derived class objects in layouts on QGraphicsScene. Now I need a compound item that contain two or more QGraphicsWidget in it and also I need to put that item inside my layout. So I choose QGraphicsItemGroup and … | |
i have a datalist that displays the titles of events.When i click a title i want to display the event details like date,venue,description... outside the datalist this is my code: [code] <asp:DataList ID="dlEvents" runat="server" HorizontalAlign="Left" GridLines="Both" OnSelectedIndexChanged="SelectedIndexChanged"> <HeaderTemplate> Events </HeaderTemplate> <HeaderStyle Font-Bold="true" Font-Size="16px" /> <ItemTemplate> <table onmouseover="dg_changeBackColor(this, true);" onmouseout="dg_changeBackColor(this, false);"> … | |
Hello friends, I'm creating image slide show. I can isplay images and checked imges (those that i want in slide show). but problem is i want save selectec images so that i can use them in slide show any idea plz help ![]() | |
Hi Does Anyone know how to display a table based on user selected fields? In my search box, once the user searches lets say all the female students, all the female students will show with all the fields of that particular table. then if need to print a report i … ![]() | |
I have been given an assignment to plan, code, and execute a program to calculate data about a person. I am not here asking about how to code the program, but rather to troubleshoot at what's wrong with my compiler/command prompt. Here's what's happening: I will code a program in … | |
hello all, i just searched via google and found a set of codes to login to a web site using httpwebrequest. but whenever i tried using the codes i got the very same exception that The remote server returned an error: (407) Proxy Authentication Required. one of the sample code … | |
Hi there, I have a listview control, on which I have two buttons 1) Wesite 2)Email Me. Note the listview only has the Item and Layout Templates as I will not be editing or inserting. I have assigned both the controls the CommandName="select" so that they both fire the SelectedIndexChanged … | |
I am new to Blackberry Development so Please inform me how to run existing midlet jar in blackberry using eclipse ide i am using eclipse Version: 3.4.1 with blackberry plugin and simulator is 8300... Step By step information Please.... | |
Greetings Everyone, Can you tell me how to take a query that returns a single row of data and load that data into textbox controls. I know about ExecuteScalar but it is only good for a single column of data from the query. Thanks. Truly, Emad | |
[CODE] Dim myConnString As String = _ "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\Userpass.mdb;Jet OLEDB:Database Password=1234567890" Dim ds As New DataSet() Dim con As New OleDb.OleDbConnection(myConnString) Dim daCust As New OleDb.OleDbDataAdapter("Select * From Userpass1", con) Dim m_dtContacts As New DataTable Dim m_datarow As DataRow Dim m_cbCommandBuilder As OleDb.OleDbCommandBuilder Private Sub Form5_Load(ByVal sender As System.Object, ByVal … | |
Hi, I'm having some requirement where i need to show some value in div tags and latter parse it to save in database. the value which is html escape char are getting translated when in div thus making the input wrong. like some where i'm using & and < they … | |
I want to know that how to get attribute "class" of an html element using webbrowser component in C# .. Normally i am able to get any attribute (except class attribute) of any html tag. but this time i want to get attribute of "class" here is a sample html … | |
I want to make Flash games like on addicting games, BUT $700 for Adobe Flash!?! I can't afford that! So how can i use an Adobe Flash alternative and to make games? | |
I have a problem I am hoping someone might be able to help me with or point me in the right direction. I have been developing a program that simulates an irrigation pivot panel for my job and I am running into a problem when I close the compiled program. … | |
Hi all, I have problem with Dataset. I couldn't use dataset in ASP.net editor. I created new object. dim ds as new dataset. I can't write dataset. If somebody know, plz let me know. thanks . | |
I want this code to work as if [flag==0] then set seatcount to 1 else provide me a message that seat is booked but it does not give me proper response it works for seatcount==1 & shows meassage that its booked but for seatcount==0 then also it provide same message … | |
hellow i am a new user here so plse can u give me some information about vb project. |
The End.