199,114 Archived Topics
Remove Filter ![]() | |
Hi All, I need yours help again. I'm looking for "search" option javascript for seach website content. means in own website if u will put keyword to find weather that keyword is there or not if that is there then it should show in how many pages that key word … | |
I have an assignment to write a C++ program that will ask the user for the name of a data file. This data file contains a list of drivers. The names are listed, one per line, in the following format: lastName firstName middleInitial and each part of the name is … | |
for seq_record in SeqIO.parse(open("mm.fa"), "fasta") : I am using the above code to read fasta files. But when the number of sequences record exceed about 30000, the python return this error: Traceback (most recent call last): File "C:\Python26\Neutral\AICMM.py", line 28, in <module> if (seq_record.seq[count] == "A") : File "C:\Python26\lib\site-packages\Bio\Seq.py", line … | |
I'm working on the book "Beginning Aspnet E-Commerce with C#", but I have encountered a problem. The tutorial includes a Pager Control, this works fine for all of the products it is just when the a department is selected the pager does not work, only after a Category is selected … | |
I'm trying to populate the items of a foreach-element in a JSP page. [code]<c:forEach var="request" items="${manageSchedulesBean.userController.getRequestsBySchedule[schedule.scheduleId]}">[/code] Gives me: org.apache.jasper.el.JspPropertyNotFoundException: /secure/manageSchedules.jsp(40,36) '${manageSchedulesBean.userController.getRequestsBySchedule[schedule.scheduleId]}' Property 'getRequestsBySchedule' not found on type $Proxy8 the called function exists, and when i cann manageSchedulesBean or userController, there is no error. Someone got a clue? | |
I am trying to modify this trivia program to read scores from a separate text file and then add the scores to a running total if the user answers correctly. Here is my code so far: [CODE]# Trivia Challenge # Trivia game that reads a plain text file import os … | |
Hi all, When sending emails i get random ! in the tex! t a bit like this ! po!st i believe its someting to do with RFC 2822 what can i do to my headers to rectify it? | |
Can anyone tell me what this means and how to fix it? I keep getting this warning, the title of this post, and I'm not quite sure on how to fix it. It is messing up what I'm trying to do. Here's the code: [CODE]#include <stdio.h> #include <stdlib.h> #define MAXLINELEN … | |
hi everybody!!!!!!! can anyone tell me how do we test the data type of variables in java, like if a variable is a string, the system prints out that this variable is string or not. more especially how can we test this on primitive data type? waiting for your replies!!! | |
Hi All, Refer me a good C++ book, specially for Exceptional Handling. thanks mridula. | |
In my project i wanna use the last_insert_id() to be stored in a session variable and after that i wanna use that session variable i.e., the value of last_insert_id() in another page. How can i carry the last_insert_id() to some other page using session or storing it in a session … | |
Hey Guys, Should i use hidden textboxes or session variables to pass values between various jsp pages?? | |
Hi guys good day. Ive create a pc time logger to detect the time-in, and to set timeout of the user. But i am having problem regarding on getting the time left value. Time out value will be the timein value plus 2 hours.Here is my code in Timer1. [code=vb] … | |
[b]Purpose of the program:[/b] This program is supposed to use a void function called removeLetters to remove both uppercase and lowercase letters from a given string. The function isn't allowed to use square brakets (ie no arrays) and the only (1) local variable allowed must be a pointer. [b]Problem:[/b] The … | |
Hi, I'd like to be able to put a JTable inside a ScrollPane, so that when the table is large, the horizontal and/or vertical scrollbars 'kick in', and when the JTable is small, I just get a small JTable. Also I want to limit the size of the scrollpane to … | |
[CODE=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="JavaScript" type="text/javascript" src="js.js"></script> </head> <body> <h2>Calculate the area</h2> Choose shape <form> <input type="radio" name="hinh" value="hcn" onclick="area(this.value)" />Rectangle <input type="radio" name="hinh" value="htron" onclick="area(this.value)"/>Circle </form> <div id="property"></div> </body> </html> [/CODE] [CODE=javascript] // … | |
Hi everyone:cool:, I'm new in this forum. This is my first post. Can you guys give me any idea about adding a grid control into a combobox (Windows Application)? While developing desktop applications with C# I felt many times that it would be preety good and very useful to have … | |
i have a question about the logic about the calendar question. I have to make a calendar, so user inputs a month (number 1-12) and a date, and the output is suppose to be: Friday, January 1, 2010. Suppose to be written in just simple c, no arrays or anything, … | |
This is homework, but I'm stumped on this problem. It prints store->storeId properly in "case 0", but storeId prints with the name added in the "printMall" function, i.e. "L01vacant" it then prints "vacant" for store->store name as it should and the rest of the printMall function prints properly. I've changed … | |
Hello. Good day. I have this problem with my current program right now. I have a separate report created in Seagate Crystal Reports, and I'm integrating it to my program in C#. I'm using CrystalDecisions and calls the ReportDocument class. Under that report, I have many subreports. What I want … | |
I am supposed to be writing a program that will calculate sales in a week. Every week 200.00 dollars is earned, then sales is calculated on top of the 200.00 (i.e., 5000.00 in sales, would be 200 + .09 * 5000.00). My code is below, but I am having problems … | |
In phpmyadmin and wanting to copy the mentioned rows below to within the same table. I am not copying the id so it is automatically incrementing. Why isnt it working??? Thanks in advance. INSERT INTO `table1` (title, alias, published, introtext, video, gallery, extra_fields, extra_fields_search, created, created_by, created_by_alias, checked_out, checked_out_time, modified, … | |
I wrote the following code for a homework problem, but it's stuck in an infinate loop. I'm not sure how to correct that problem. The other issue is I want the answer to be given in two decimal places and not rounded in any way and it appears that my … | |
I am trying to compile some software I found online. I am getting a bunch of these errors: [code] No rule to make target `/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h', needed by `formCluster.o'. Stop. [/code] In the Makefiles, there are certainly lines like this: [code] transform.o: /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h [/code] The errors seem to go away if … | |
i get an "This SqlTransaction has completed; it is no longer usable." error everytime i run my code: the main code [CODE=vb.net] If DBOpen() = True Then Try 'begin transaction BeginTranscation("Clearance") 'receipt CallSP("InsertReceipt") InsertParam("@ORNo", Trim(txtOR.Text)) InsertParam("@FACode", "***") InsertParam("@Amount", txtAmount.Text) InsertParam("@Nature", "Business Clearance") InsertParam("@PaymentType", "Cash") InsertParam("@DateIssued", dateDocIssue.Text) ExecSP() 'document CallSP("InsertDocument") InsertParam("@PersonID", … | |
i want to put multiple instances of sqldataadapter into a single transaction. how can i accomplish this? | |
ok i had a thought and i know that i can do it with jquery but dont know if it could be done with php. i would like to create a function where, if called it could see if the necessary files and code that it needs are in the … | |
i am trying to create a function that i can put in my program but i have got myself stuck. basically i have a string that contains letters. for example 'gototheshopatnoon'. from that string i need to transfer all the letters to another array and discard any duplicate letters. so … | |
Okay, I am a new member and I have this program for this game. its an Exe. program and I run up to about 30-40 alts or employees who run around and gather coin from human and hunters and auto banks it for me. It save me alot of time, … | |
Hi, I'm trying to just grab a small column of data from a Database and return it. This is a function called getAccessLevel(), it returns the Access level which is an integer. There is a table called users in the DB and the column access holds either 0, 1, or … | |
i have 2 gridview. i put this java script for chekbox, my id is [email]<<Email Snipped>>[/email] plz help me , if u knw the ans thn plz reply me , thank you [code] <script type="text/javascript"> // Let's use a lowercase function name to keep with JavaScript conventions function selectAll(invoker) { … | |
I have a homework assignment that where I need to find the longest word that has the most amount of consectutive vowels. here is the description: The text file words.txt contains an alphabetically sorted list of English words. Note that the words are in mixed upper and lowercase. Write a … | |
I have this code(in a separate thread if it helps): [CODE=C#] // I know i don't store data from here. There is a reason for it. HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(mainUrl); req.CookieContainer = this.cookieJar; req.Method = "GET"; req.GetResponse(); // Another request HttpWebRequest gReq = (HttpWebRequest)HttpWebRequest.Create(secondaryUrl); gReq.CookieContainer = this.cookieJar; gReq.Method = "GET"; … | |
I am producing a input form, the code of which can be seen below: [CODE]<form method="post" action="../php/addshopfloorcount.php"> <table width="80%" border="1" class="table_text"> <tr> <td colspan="4" class="table_text">Count Information:</td> </tr> <tr> <td width="30%" colspan="-3" align="left">Count ID</td> <td width="70%" align="left" >Department</td> <td width="70%" align="left" >Username</td> </tr> <tr> <td colspan="-3" align="right"><input name="id" type="text" id="id" size="10" … | |
[code] #include <iostream> #include <vector> using namespace std; int main () { int N =0; int Range=0; int NumberOfCases=0; cout << "Enter N" <<endl; cin >> N; cout << "Enter Range" <<endl; cin >> Range; cout << "Number of cases" <<endl; cin >> NumberOfCases; vector<double> range_time_Vector(Range); int K = N; … | |
hi, I want to bind the datasource to a CheckBoxList Based on Database Value i want to check few checkboxes, ex: in roles table ModuleIds column contain few ids with ',' seperator but my checkboxlist contain all modules, now i want to checked which module is in miduleIds field. <asp:CheckBoxList … | |
Guys i need help with this icmp echo packet log. I need to identify the operating systems used in the originating system based on the information from the following captured data: [URL="http://i128.photobucket.com/albums/p191/Lukassi/icmp.jpg"]http://i128.photobucket.com/albums/p191/Lukassi/icmp.jpg[/URL] Thanks. | |
I like PHP, its my favorite language when it comes to web-scripting, and from time to time i like to just see what i can come up with... so i was messing around today and came up with this: [CODE]<?PHP function string_to_ascii($string){ $ascii = NULL; for ($i = 0; $i … | |
it's a update form and i want when pressing edit, the input text to be changed with the text in mysql database but it doesn't work. is there some kind of error which i don't see? or is there alternative way to do this form? [B]update.php[/B] [code]<?php include("contentdb.php"); if(isset($_POST['submit'])){ $id= … | |
Hi there guys thanks for you help. Basically I have created a c# form based rot13 encryption program. The problem I am having is implementing these into a class with methods which can be accessed from the from. In the main from I have a textbox called message textbox I … | |
Friends, pleas tell me a simple method to upload and then view the upload image using php and mysql. The image can be stored in a separate folder or in database itself. But anyhow tell me the simplest way to do this. It'll be very good if u post the … | |
[CODE]//function example #include <iostream> #include <cmath> using namespace std; float cutoff(float& windchill) { int z; z = (int)(windchill + 0.5); return(z); } float calculate (int& t, int& v) { float windchill; windchill = 35.74 + (0.6215 * t) - 35.75 * pow(v,0.16) + 0.4275 * t * pow(v,0.16); return(windchill); } … | |
What is wrong with my code? Prompt user for hourly rate. If less than $5.65 or greater than $49.99 display error message. [CODE]{ //declare variables const double HIGH = 49.99; const double LOW = 5.65; double HourlyPayRate //input Console.Write("Enter your hourly pay rate:"); HourlyPayRate = Convert.ToDouble (Console.ReadLinne()); //output if (HourlyPayRate … | |
I am trying to get some code I found online to compile. It looked like this: [code] #include <iostream> #include <list> using std::list; template <class T> class leda_list : public std::list<T> { private: iterator loopIter; [/code] the error was: ‘iterator’ does not name a type I tried changing it to: … | |
Hi? i'm new at programming and im trying to decipher a code. i'm trying to count how many times a char occurs in txt file | |
I need to make this formula c++ compatible, ive spent quite a while trying to figure this out, looking for some help! WindChill = 35.74 + 0.6215T - 35.75(V^0.16) + 0.4275T(V^0.16) Thanks! | |
How in java we can add double menus, like file bar and search bar both are different in internet explorer? Thanks in advance. | |
I have a matrix A stored in column major order as 1 3 2 4 and I'm using this function to output it in row major order, i.e. 1 2 3 4 which is does correctly. However I'm confused about how it does this, as I thought the loops would … | |
i am supposed to have 2 void functions and 4 value returning functions (including main) to eventually calculate netsalary from calling the specific functions to calculate tax and insurance and receive and display data.... basically i'm wondering what is my error (compiled in dev and couldn't figure out what was … | |
Hi, I am using Visual studio 2008 express edition now. It does not have stdafx.h. so I download stdafx.h and three other head files: AFXWIN.h, AFXEXT.h and AFXCMN.h from google. I put these four headfiles into C:\Program Files\Microsoft Visual Studio 9.0\VC\include. And then I wrote a small program just to … |
The End.