64,152 Solved Topics
Remove Filter ![]() | |
Good day to all! I am working on some error checking and I have run into a snag in my code. Here is what I want to do: Upon Submit, error check field criteria. This code has to do with posting Internal Job Postitions and based on the dates entered, … | |
I have been using the Borland BCC32 compiler and love the CPP32 line numbering tool. Now I want to switch to the cl.exe compiler. Is there a tool like CPP32 in the Microsoft system? | |
Could someone just look at this code and point out the obvious errors. It may or may not be obvious on what it is supposed to do. Never the less what I want it to do and the syntex are bad. Could someone just make observations on how to accomplish … | |
So today was the first day of class, and I started it as I did last year: by logging in all students as admin temporarily, then having them drag over the installer from the network and running it, then logging off. It's slightly insecure, but the class is for beginners, … | |
I have a function that takes a void** and I want to pass an integer in to the function but can not seem to figure out the syntax here is the function prototype [code]bool pop(Node **stack, void **data)[/code] | |
My question is rather brief (it's similar to what is at [url]http://www.daniweb.com/forums/thread79268.html)[/url]. I've writen the program....but...i was just wondering (apart from the program itself) if there would be anyway to verify if what the program did is correct mathematically? I'll post my code if required. Thx and have a good … | |
Hi, I have been searching around for a few days and cannot find exactly what I looking for. Was hoping someone could point me in the right direction. Looking to query MYSQL with keyword. For each of the records or rows its finds based on match. Would like to retrieve … | |
Hi all, I have a assignment that says, write a program that will add up all of the odd numbers from 1 through 3579 and alll of the even numbers from 522 to 2222. Use While loops. Output should look like this The sum of the odd numbers from 1 … | |
I would be grateful if anyone could let me know of an easy way of searching multiple tables for information. I would like to display any found results in a grid alowing the user to choose the correct one and have this disply in the main form. If this easy … | |
My prof is touching on information hiding, and good programming techniques. He said it's a good idea to keep as much of the user interface (i.e., couts) in main, and then modify object variables through the use of functions. Here's what I want to do: I'm starting on a program … | |
How to populate data from access database into asp.net table control. plz help me out. waiting for quick response. thanks in advance.. | |
I've found that my application does not find my mdb file anymore! I have used a open file dialog box to select the mdb file that I want my app to use and add it to my connectstring via a variable, but although the variable has the correct path to … | |
when i, [code] g++ -c Serdar.cc [/code] compiler says: [code] Serdar.cc:3: error: semicolon missing after declaration of `Serdar' Serdar.cc:4: error: ISO C++ forbids defining types within return type Serdar.cc:4: error: two or more data types in declaration of `SetValue' Serdar.cc:4: error: prototype for `Serdar Serdar::SetValue(const int&)' does not match any … ![]() | |
I have a backup utility that copies all files and folder into a backup area This can take some time as the files take up 92Mb over a 1Mbps Data Link I have added multi-threading to the utility so that the copy can be aborted and so the GUI keeps … | |
I have a Table with a 'Dates' Field as the primary key and 20 other Fields of Integer Type. This is the Master Table with 9 other Detail Tables all with a 'Dates' key field. I have a form to view all this and it works fine. My problem is … | |
[code] typedef map<string, Attr_info, less<string> > AttrMap; [/code] i do not know what "map<", less and ">" represents? What I little understood from the code is AttrMap is a collection of Attr_infos. If so how can i add a Attr_info into AttrMap? could u plz help? thanx | |
Hi, I have a report desigend in Crystal Report 11. The report has 2 sections which is divided in between by a simple dark line. The report's left side has the fields of TABLE A and will be used to show records from TABLE A only. And the report's right … | |
Hi all, I have just start to work on C++. I want to open a text file, then write few text there. This is the code I wrote for that. [CODE]#include <iostream> #include <fstream> using namespace std; int main() { ofstream file; file.open ("example.txt"); if(file.is_open()) { file << "Write a … | |
Hello I am at a work computer (firewall) I need to add to the CLASSPATH and the PATH to use apache tomcat. Though I know this addition won't disrupt anything I do not have a administrative password. Is there a way to add to these enviornmental system variables? DOS maybe? | |
[code] <form action="interface.jsp" method="post"> <input type="text" name="accttxtbox" value="Enter Account number"> <% if(request.getParameter("createacct" != null)){%> <jsp:useBean id= "creditCardBean" class = "creditcardproject.CreditCard"/> <%long AccountNo=getNewAccount()%> <%accttxtbox.value(AccountNo)%> <% double CreditLimit =creditCardBean.CreditLimit %> <% double TotalCharges =creditCardBean.TotalCharges %> <% double TotalPayments =creditCardBean.TotalPayments %> <tr><th>Account</th><th>CreditLimit</th><th>TotalCharges</th><th>TotalPayments</th></tr> <tr> <td><%= AccountNo %></td> <td><%= CreditLimit %></td> <td><%= TotalCharges %></td> <td><%= … | |
[B]This class was given to me. I need to work with JSP. Am I correct in thinking that I need to make the methods setters and getters for each method I need data from. And if so could you give me an example of one? Lets say I needed to … | |
Hi, I would like to know how to create variables like booleans When you type a boolean command it look like this Dim Boo as Boolean Boo = True False and then you select one Can this style of preset entries be done for Other Custom Variables i.e. Dim Height … | |
Hey guys, Just got started on this, and I keep getting an error saying Missing ";" before "." starting at line 25 and pretty much on all of my functino calls in main. Anyone know what I'm doing wrong? Here's my code: //driver - main #include "prob6.h" int main ( … | |
[code] <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <context-param> <param-name>webmaster</param-name> <param-value>webmaster@myeducationonline.com</param-value> </context-param> <context-param> <param-name>jdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </context-param> <context-param> <param-name>dbURL</param-name> <param-value>jdbc.odbc.clientDB</param-value> </context-param> <session-config> <session-timeout>30</session-timeout> </session-config> <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list> </web-app> [/code] so this file as to be put in my "workspace" where my projects are ? | |
You really do not have to open the netbeans project. However you can. Does anyone know why when I comple the jsp's can not find the bean because the class file is in the build/classes file and not the src file. Does it not need to be there? Or I … | |
depython [[url]http://www.depython.net[/url] depython online service] could decompile python bytecodes. Depython online service supports Python versions from 2.4 up to 2.5.You can freely test its function online. | |
Hi, how do I print a string such that only a section of it gets printed, without printing it character by character? I thought of pointer arithmetic, but that will only change the starting point of the string for you. What I want to do is to print from start … | |
Hello! How can it be done? I've the two things installed, but in order to get help about anything within the VC++ I must manually open the MSDN Library. Pushing the F1 button on a needed function to get help for it is much more comfortable... Respectfully, Alex | |
I'm trying to calculate sin(x) without using #include <math.h> i need to use Maclaurin Series to calculate sin(x) with recursive process. thanks | |
could u plz give 4 little files-sample (c and c++ code and header files) which shows how to call c++ class public member function. thanx. | |
hi guys......i want to view a piechart extracting items from a mysql database. i've created a button on a jsp page(view.jsp) which is calling another jsp page(viewrst.jsp) when i click that. the code for (viewrst.jsp) is given below: [code] <%@ page language=[COLOR=red]"java"[/COLOR]%> <%@page import=[COLOR=red]"org.jfree.chart.*;"[/COLOR]%> <%@page import=[COLOR=red]"java.sql.DriverManager;"[/COLOR]%> <%@page import=[COLOR=red]"java.sql.*;"[/COLOR]%> <%@page import=[COLOR=red]"org.jfree.data.jdbc.*;"[/COLOR]%> … | |
hi to all how to obtain the date and time of server from client by vb coding anyone plz tell me is it possible in vb somebody said we can use client side caching but i dont know hw to implement this thanx in adv | |
I am using a example in a book to build my own program (java server pages) I can not even get the example to run. Is there someone to take a look at the program? (netbeans package)? [EMAIL="ceyesuma@hotmail.com"][/EMAIL] | |
How to solve this problem? Generate 200 integer random numbers in the range (1000,9999) in an one-dimensional array x. Then determine:- a) How many of these fall in the ranges 1000-2499 and 2500-4999; b) How many of these are (a) even numbers and (b) divisible by 5 c) Sort and … | |
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. error: Invalid class file format in C:\Program Files\Java\jdk1.6.0_02\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '49.0' is too recent for this tool to understand. I'm not sure what to do to fix this error tomcat 4.0; any help? | |
I want to generate a code that will automatically take the poll-id..of which the user wishes to view the result of that poll. there's the code:using mysql & java & another thing i wish to use this on a jsp page: [CODE] package votepiepack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; … | |
Hi! I compile this simple "Hello world" Win32 program: [code] [COLOR=green]#include[/COLOR][COLOR=green]<windows.h>[/COLOR] [COLOR=green]int[/COLOR][COLOR=green] WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, [/COLOR] LPSTR lpCmdLine, [COLOR=green]int[/COLOR] nCmdShow) { MessageBox(NULL, [COLOR=green]"Hello World!"[/COLOR], [COLOR=green]"Note"[/COLOR], MB_OK); [COLOR=green]return[/COLOR] 0; } [/code] When the program runs I get weird fonts. See attachement. Kindly advise. Thanks | |
![]() | I'm learning perl now. By using whereis command, I found out where perl command is. $whereis perl /usr/bin/perl I make a program and tried to execute it. But I got error message like this one. $perl yahoo_search.pl #!/usr/bin/perl -bash: !/usr/bin/perl: event not found Can somebody tell me what I should … |
rsYear1.Open "select count(ComplaintNo) from tblcomplaint where year(cDate) ='" + Year(DTPicker1.Value) + "'", ConSQL, adOpenDynamic, adLockOptimistic hi if u find any fault here reply me immediately rsYear1.Open "select ComplaintNo from tblcomplaint where cDate ='" + DTPicker1.Value+ "'", ConSQL, adOpenDynamic, adLockOptimistic i already try this also plzzzzzzzzzz | |
I have a Database which is dealing with a book library system. I have a table which has a has a field dealing with the ReturnDate of a book. I was wondering if it is possible to do a SELECT statement that would return the the fines due on an … | |
i want to do a compiler but, now i am stuck in the compilation part, suppose that i want to compile "cool.java" that is located in the bin directory, what shold i do?? help please | |
[code=c] BOOL setContent( LPSTR szContent ) { HANDLE hFile; BOOL bSuccess = FALSE; DWORD dwTextLength; hFile = CreateFile( "data.txt" , GENERIC_WRITE , 0 , NULL , CREATE_ALWAYS , FILE_ATTRIBUTE_NORMAL , NULL ); if( hFile != INVALID_HANDLE_VALUE ) { DWORD dwWritten; dwTextLength = strlen( szPassword ); if( WriteFile( hFile , szPassword … | |
I am building a device connected to the serial port of my PC. I need to chect the signal level of the RTS and DCD lines. How can I do that using MSCOMM? thanks tonino | |
Hi. Can anyone help me with this? If I have, for example, a MSSQL database named 'COUNTRIES' and an existing table in the database named 'COMPANIES', can anyone let me know how I can add an additional field name 'PEOPLE' with a string datatype (for example) to this existing table … | |
Variables in the data structure changes when they were sent to CreateRawDataBUFR at runtime. With gdb debugger, just one line before CreateRawDataBUFR, I print the value of rdi.sIdentName, rdi.sRawDataFilePath and rdi.sRawDataFileName to the screen, they are "IST" and "data/" "IST050906125859.RAWADM9" accordingly. They are true. But after i send the address … | |
I have an idea how to do this, but never did it before heres my code: <label for="weatherCity">City:</label> <select name="weatherCity" id="Cities"> <option value="0"> </option> here's my query: SELECT distinct state FROM ols_weather_current ORDER BY 1 asc; [code=java] Connection connection; PreparedStatement pstmt; ResultSet rst2; try { // execute the query connection … | |
Dear all, I was stored the gif/jpg image into the MySQL Database as a buffered image. But when i was retrive the image from database and display in jsp page, it will not working well. The image is not displaying. The content get from the database, but it's type is … | |
I want to generate a code that will automatically take the poll-id..of which the user wishes to view the result of that poll. there's the code:using mysql & java & another thing i wish to use this on a jsp page: [code] package votepiepack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; … | |
what I mean is that, when I click a hyperlink on a webpage it will call a .java file which will then show "text or image"..is it possible? if yes how?....please suggest.......thanks | |
Hello guys! As usual i need anybody help. pleeeeaaaaase..... :) My problem is to take value from the URL. Not the entire value but only part of it like the example below. [URL]http://localhost.localdomain/YPS/lets-talk-main-conversation-full.php?id=5[/URL] This is the link where the value id is passed from the previous page. Value for id … |
The End.