199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for andydeans

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 …

Member Avatar for almostbob
0
81
Member Avatar for NickMalone85

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 …

Member Avatar for NickMalone85
0
86
Member Avatar for notuserfriendly

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 …

Member Avatar for notuserfriendly
0
192
Member Avatar for Geodude0487

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 …

Member Avatar for moutanna
0
323
Member Avatar for LevyDee

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 …

Member Avatar for LevyDee
0
119
Member Avatar for reedd5404

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?

Member Avatar for reedd5404
0
108
Member Avatar for NinjaLink

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 …

Member Avatar for NinjaLink
0
116
Member Avatar for SREENIVAS_DANDA
Member Avatar for Chocolataria

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 …

Member Avatar for kanishkablack
0
453
Member Avatar for Instinctlol

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 …

Member Avatar for Ancient Dragon
0
79
Member Avatar for T.Dott

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 …

Member Avatar for T.Dott
0
490
Member Avatar for Annettest

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 …

Member Avatar for Annettest
0
106
Member Avatar for lionaneesh

[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: …

Member Avatar for jephthah
0
172
Member Avatar for naseerhaider

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 …

Member Avatar for naseerhaider
0
168
Member Avatar for sneekula

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.

Member Avatar for twekberg
0
325
Member Avatar for nikc121

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. :), …

Member Avatar for WaltP
0
268
Member Avatar for ttboy04

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 …

Member Avatar for ttboy04
0
158
Member Avatar for capiono

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 …

Member Avatar for Kreadus
0
122
Member Avatar for gradstud

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 …

Member Avatar for gradstud
0
324
Member Avatar for Stefano Mtangoo

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) …

Member Avatar for Stefano Mtangoo
0
188
Member Avatar for rmontgomery

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]

Member Avatar for kronald
0
195
Member Avatar for johnnydarten

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 …

Member Avatar for johnnydarten
0
184
Member Avatar for jms78888

[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 = …

Member Avatar for TheBlindSleuth
0
182
Member Avatar for k2k

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 …

Member Avatar for k2k
0
108
Member Avatar for seularts

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 :)

Member Avatar for JRM
0
161
Member Avatar for loliana

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) { …

Member Avatar for loliana
0
101
Member Avatar for sbrown2594

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, …

Member Avatar for quuba
0
721
Member Avatar for miweiser

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 …

Member Avatar for miweiser
0
200
Member Avatar for luvthug

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 …

Member Avatar for luvthug
0
134
Member Avatar for mstatdaniweb

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 …

Member Avatar for mstatdaniweb
0
92
Member Avatar for Twonk

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 …

Member Avatar for Joneswilliamsc
0
139
Member Avatar for Tvirusx1

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), …

Member Avatar for Tvirusx1
0
156
Member Avatar for shella

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 …

Member Avatar for peter_budo
0
426
Member Avatar for onurozcelik

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 …

Member Avatar for onurozcelik
0
203
Member Avatar for lisles

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);"> …

Member Avatar for lisles
0
191
Member Avatar for sonia_demo

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

Member Avatar for rajarajan2017
0
258
Member Avatar for rukshilag

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 …

Member Avatar for diafol
0
157
Member Avatar for mbrinkley

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 …

Member Avatar for mbrinkley
0
234
Member Avatar for khan17

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 …

Member Avatar for khan17
0
162
Member Avatar for arranhaceu

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 …

Member Avatar for kvprajapati
0
100
Member Avatar for sharathk60

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....

Member Avatar for sharathk60
0
98
Member Avatar for emaduddeen

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

Member Avatar for emaduddeen
0
67
Member Avatar for Anigmalee

[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 …

Member Avatar for kvprajapati
0
138
Member Avatar for rs25

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 …

Member Avatar for rs25
0
196
Member Avatar for j4jawaid

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 …

Member Avatar for Hallupa
0
871
Member Avatar for nsutton

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?

Member Avatar for SgtMe
0
491
Member Avatar for anchorjoe

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. …

Member Avatar for AndreRet
0
118
Member Avatar for thanlin

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 .

Member Avatar for dnanetwork
0
60
Member Avatar for bhaskarbabar51

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 …

Member Avatar for dnanetwork
0
150
Member Avatar for priyadarshani s

hellow i am a new user here so plse can u give me some information about vb project.

Member Avatar for AndreRet
0
89

The End.