199,114 Archived Topics
Remove Filter ![]() | |
I'm an experienced programmer (20 years+) but am new to web programmer. Any suggestions on where someone like me might start learning about PHP? Just start reading PHP For Dummies or are there better options? Thanks. | |
I could use some help. I've got a JTree, it's a file browser. I'm trying to programatically select a cell in the tree. I'm making the following calls: [code] File home = new File(System.getProperty(HOME_DIR)); setTree(home, newFile); TreePath path = this.pathFromFile(home); tree.setSelectionPath(path); [/code] But, that doesn't seem to highlight the cell. … | |
How do you allow a user to change the image displayed in the picture box? It's part of an extra credit assignment, but I don't remember reading anything in the book about it. :( | |
Hello! I'm trying to type a thing in MIPS code. It takes two integers n and m. Both must be between 1 and 10 inclusive. It tests the numbers and complains until the numbers meet the requirements. It then computes 1^m + 2^m + …. + n^m. For example. should … | |
Hello everybody, my program have been working and today I'm getting run time error 1004 - invalid number of arguments on this line of code: [code]mystr = "Comments:" & "'" & xlApp.Clean(Trim(rsin![Comments]))[/code] Also, I am getting a "Runtime error 1004 - unable to set the RowHeight Property of the range … | |
Hi guys ,i really need a good project idea in VB.NET.....I am doin my final year engg in computer science..........i havn't started my project yet.I am intrested in Vb.Net projects....ASP.NET will also do.... its urgent !!! | |
![]() | Keywords: ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box I've betting the following for days... it's driving me insane: [B]Server Error in '/' Application.[/B] [B]Security Exception Description[/B]: The application attempted to perform an operation not allowed by the security policy. To grant this … |
| |
I'm considering writing a program for my economics class that will allow me to use the multiple variations of the elasticity equation. How can I compile my code to an app that I can place on my desktop and simply double click to make it run? I don't want to … | |
The Delphi7 Application has two EXE. One main EXE and other Secondry EXE. Main Exe loads this Secondry Exe when it runs(executed) as I have checked it in the EVENT LOG. I want to debug this secondry exe. At present I am able to debug only main exe. The functionalities … | |
I have a JSP page which has student roster and letting instructor choose grades for some students with check box. I want only the students info which were checked to my next JSp page, but I cant take the only selected ones. It takes the selected number of students like … | |
I have one doubt about WAR file........ Like i am creating a project with mysql databse and deploying it through WAR file My question is if i want to deploy it on some other machine then i am copying war file there in webapps folder.........but do you think it war … | |
Hello there, I have here a problem with the compilation of my program. The compiler tells me that my typedefs are redefined, but I defined it only once. Ok, heres the score, I have here a header file (let's name this as file X) that contains all the typedefs that … ![]() | |
hi, please help using keil compiler for 80c51.. how to writ assembly program and compile iot in keil... please help.... :sad: | |
I am having trouble formatting my output of decimal to binary conversions in the format of XXXX XXXX and XX for hexadecimal using numbers 0 to 300. Does anyone have any ideas? Thanks in advance. Here is a copy of my output. DECIMAL BINARY HEXADECIMAL 0 0 0 1 1 … | |
hi all, i am using visual studio 2005 C++ to developing a pocket pc dialog. But this error occur when i try to compile. Error 1 error LNK2001: unresolved external symbol "public: void __cdecl CTryDlg::OnBnClickedBackBtn(void)" (?OnBnClickedBackBtn@CTryDlg@@QAAXXZ) AddTryDlg.obj can anyone tell me what is the possible solution? | |
I have a problem as following... # I have stored some value in session to reach a Page "A" # I have other pages "B", "C", "D". # If I am moving from Page "A" to "B", I should not clear my session value but If I am moving from … | |
i have a search program that when searched i will make a receipt, a reciept form will be displayed, the 1st item searched will be displayed on text1(0).text and the quantity also will be displayed in text5(0).text my problem is how to subtract the stock items minus the quantity text5(0).text(its … | |
Hi all, I have given this program to convert it to MIPS code in SPIM and print anapshot of the registers and the results . and then assemble the MIPS instructions to machine code writing the out put in HEX format thank you for help //this program compile with C++ … | |
hi every one: I have binded some data which I have connected through DATA BASE wizard of OLeDB in a comboBOX AND now i want to add queries to select distict values . i have entered the query [COLOR="Green"]select DISTINCT[name of my field] from table_name[/COLOR] but I get the following … | |
[COLOR=#0000ff]can somebody tell m, what's the error in below code-where all the columns with sex="male" should be displayed with color choclate in datagrid...plz -------------------------------------- Protected[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]Sub[/COLOR][COLOR=#000000] datagrid1_itemdatabound([/COLOR][COLOR=#0000ff]ByVal[/COLOR][COLOR=#000000] sender [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]Object[/COLOR][COLOR=#000000], [/COLOR][COLOR=#0000ff]ByVal[/COLOR][COLOR=#000000] e [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] System.Web.UI.WebControls.DataGridItemEventArgs) [/COLOR][COLOR=#0000ff]Handles[/COLOR][COLOR=#000000] datagrid1.ItemDataBound[/COLOR] [COLOR=#0000ff]If[/COLOR] (e.Item.ItemType = ListItemType.Item) [COLOR=#0000ff]Or[/COLOR] (e.Item.ItemType = ListItemType.AlternatingItem) [COLOR=#0000ff]Then [/COLOR][COLOR=#0000ff]Dim[/COLOR] str [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String [/COLOR][COLOR=#0000ff]If[/COLOR] … | |
can someone tell me how to find dummy tutorials on how to compile and run C programs using a text editor and the Command Line Window. | |
1>.\speedgame.cpp(10) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body please help! | |
Hi all, I'm new at c. How do I make the system pause until any key is pressed in linux like getche does in borland? thanks | |
Hi all, I am using AJAX to submit a data from a web page, it is properly working on the local host (when test with the local machine it is ok). When access from another machine the pages are properly lord. But when send data it gives an http request … | |
[B]Methods before Members or Members before Methods?[/B] In a header file, which do you define/declare first. Do you list all your variables before the methods (also known as functions), or do you do it the other way around? I always thought that you put the variables first. That was the … | |
I am trying to program a work-related report system. The reports are generated in php, and I have been requested to have the results sent via email to the individual who needs to review them. (That is, one person generates the reports to look at via an external program, but … | |
Hi Can anyone advise me on a good Korn Shell scripting book for me. Im fairly new to programming, so looking for a good korn shell book. Im considering buying two books as my work will pay for it. Any suggestions? | |
I need help on this, im not getting how to go about this... ok, let me explain where im stuck, i have a class, and its structure goes like this(i will show a some kind of replica of original class, so that you guys can easily follow my question), [code=Java] … | |
Hey all! Here's the scenario: [LIST] [*]I've got an array of strings (Dates, but stored in a string[]) [*]For each date in this array, I need to parse it as a universal DateTime EG "yyyy-MM-ddTHH:mm:ss.fff" [/LIST]Because it's a string, I can't perform the parse AND make the format conversion, so … | |
Currently I am running a program that receives data from an outside device and displays it to the console. I need to be able to take the information received and save it to a log file of some sort. I then need to be able to parse each line for … | |
I have a button that when pressed displays all the customers in the table. Other buttons are used to add or delete a customer record, or upload a batch of numbers. How can I fire the Click event of the View button after the Add or Delete buttons code has … | |
What is actually meant by the term "web-based development/solutions/applications"? In particular in relation to java? I hear this terminology all the time but I don't really understand what it means... :$ | |
1.Show that X^62 can be computed with only 8 multiplications. 2.Programs A and B are analyzed and found to have worst-case running times no greater than 150NlgN and N^2, respectively. Answer the following questions, if possible: 1. Which program has the better guarantee on the running time, for large values … | |
Hello guys, just wanna ask help from you again. I just reviewed my notes and tried to run the code, I successfully debugged it but when I ran the code it says [I]java.lang.NoSuchMethodError: main Exception in thread "main" Process completed. [/I] I just don't know what to do. =/ here's … | |
Hey peeps, i am just another lost programmer here looking for some good old fashion help, pertaining to a histogram program. If there is anyone out there that can follow me as to what i will me explaining i would like it if u'd step in make a suggestion or … | |
Pls i need your help concerning a program that on PHP code using Mysql and Apache as the webserver. i need to select some record from the database which will give about 500 records at a time i need to braek it smaller unit like 40 records at a time … | |
Please help!! I am creating this midlet (non vital coding excluded) but I feel like a noob! here is the code: [code] import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import java.lang.*; public class MainMenu extends MIDlet implements CommandListener { public Display mDisplay; private List mlstMainMenu; private Calculator mobjCalculator; private Command mcmdOK; public MainMenu() … | |
[Code:C++] bool CheckSymmetry(char *File , vector<string>& vertex_set, vector<vector<string>>& edges,vector<string>& char_first) { ............. .......... ........... return true; } Here i m getting the following errors:- error: edges' was not declared in this scope error: `&' cannot appear in a constant-expression error: `>>' should be `> >' within a nested template argument … | |
when i convert a program into an application it brings database error | |
Hi The following my code snippet [code=c++] void main() { vector<vector<string> > edge_set_test; [B]edge_set_test[0][0]="1"; edge_set_test[0][1]="0";[/B] cout<<"\nTesting values "<<edge_set_test[0][0]<<" "<<edge_set_test[0][1]; } While assiging the values to the vector it throws runtime error what can be the reason for this.. | |
Hello all. Which is the best practice to use when creating dynamic links i.e. onclick events. [CODE]<a href="javascript:somefunction()">click me</a>[/CODE] OR [CODE]<a href="javascript:void(0)" onclick="somefunction()">click me</a>[/CODE] i realise the first is not an 'event' but i have a web app which is displaying 6000 of these links all at one time and … | |
Can anyone please help me here? the IpoptApplication.cpp and .hpp do exist, plus i have specified the ipopt.lib file path in the linker setting of the property page. what is confusing is that, when lapack, asl, hsl and ipopt are compiled, each produces its own 'ipopt.lib' of a different size, … | |
Hello.. I am designing a page in which if i click "call" button the button gets disabled and the timer starts.. This code is in JavaScript..(coz I couldn't write the PHP code to start timer on a button click) Now.. I need to pass the time of the "call" button … | |
Hi i am making a new user page where user will fill username and password and i want to put some client side validation on it Suppose user has given wrong values in password and Confirm password column so before a request is send to secnd servlet i want to … | |
Hi Guys I need your help as what i am trying to develop is doing me head in :-) I am developing a PHP form which basically adds two variable together. The final number then needs to placed in to a HTML url which triggers the image to be loaded … | |
Hi All I am trying to create 2 tables Table 1 with cust_id , username and password (Cust_id is primary key here) Table 2 wth cust_info that will store info for that cust........now i want to use this Cust_id as foreign key here in table2 but i am not able … | |
![]() | This is my code below: [code=cplusplus] using namespace std; int main(int argc, char *argv[]) { int thisisanumber; int SecondNumber; int TotalNumber; TotalNumber = thisisanumber + SecondNumber; cout<<"Please enter a number: "; cin>> thisisanumber; cin.ignore(); cout<<"You entered: "<< thisisanumber <<"\n"; cin.get(); cout<<"Please enter a second number: "; cin>> SecondNumber; cin.ignore(); cout<<"Your … |
The End.