199,114 Archived Topics
Remove Filter ![]() | |
Hi, I would like to create, modify insert del and read from excel files I found some articles on daniweb and other sites and even on msdn but they are very difficult and not complete. I was wondering if someone could please give some tutorial link to explain how to … | |
1. $q="Select SQL_CALC_FOUND_ROWS * from post_resume where ind_type='$industype' and career='$careerlevel' limit $cps, $rpp"; 2.$q="Select SQL_CALC_FOUND_ROWS * from post_resume limit $cps, $rpp"; hi i am doing paging in php.the first query is not working.the second one is not working........please do tell me the error. [CODE=php] <html> <head> <title>Record Set Paging with … | |
hello friends, i am sending selection formula from code. something like ... CrystalReportViewer.selectionFormula = {MyViewForReport.Q_code}=" & cboQ.Item(i).value my req. is i want to send multiple values with " and " , "or" what i did is - "{VoterRegDetail_Qry.QualificationCode} = 1 and {VoterRegDetail_Qry.CasteCode} = 19 Or {VoterRegDetail_Qry.CasteCode} = 20" But its … | |
I've never coded in c before but have to for a class that I'm taking. I'm using miracle c as my compiler but am having a strange error when I try to execute a program. The program executes, but the command window instantly closes so I can't even tell if … | |
For a school project I am doing we are required to take character input through the command line and convert the character to its ascii value. I would think, therefore, that the line of code: printf("%d",(int)argv[1]); would print out 97(ascii for a) if i were to type 'a' as the … | |
Hi, I am working on the IE7 bowser. when i close(exit) the browser. i want to need a conformation. I have written the below code but its working in IE6 only. code : <html> <head> <script type="text/javascript"> window.onbeforeunload=function(){ if (window.event.clientY < 0 && (window.event.clientX > (document.documentElement.clientWidth - 5) || window.event.clientX … | |
I am in the last part of the program and everything is working but one final thing. I need to get all the Subtotals, taxes, and total cost to add up....I tried using sums, counts, and change the variable names and still having trouble....this program has been a real pain … | |
i have found out how to track the mouse and the click of the mouse when it is over the for, how can i track it outside the form? also how do i record it and the timing of when keys are pressed? i need to make this program so … | |
Ok, I've had enough of looking at the same piece of code now. Someone please enlighten me as to what simple bloody thing it is I'm missing: [code=php] $pp2 = $_REQUEST["pp"]; $io2 = $_REQUEST["io"]; $sn2 = $_REQUEST["sn"]; $re2 = $_REQUEST["re"]; $sd2 = $_REQUEST["sd"]; $ed2 = $_REQUEST["ed"]; $dp2 = $_REQUEST["dp"]; $rn2 … | |
I spit out 4 photos across the screen, then I want to start a new row of the next 4 photos, then so on until done. This works fine expcet the first row shows only 3, then it goes to 4 across. Can someone help? <?php $ln = $_POST['lastname']; $ps … | |
Hello PHP experts how can you detect [B]'[/B] character in your search field? Because every time I input the word [B]hilgard's[/B] it returns an error I think because of the character [B]'[/B]. This is the error [CODE=php] Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) … | |
I'm having some issues retrieving data from an OLEDB database. In a certain column it contains about 400 or so characters, but when I read it into my dataset or read it using a DataReader, all I get is the first 199 characters. I'm completely stumped as to why the … | |
a = 2; b = 3; a = (a + b) % 2; b = b – a; a = a * b; cout << a << "\n" << b ; What is the output for a and b? ------------------------------------------------------------ Why is a [B]3[/B] and b[B] 2[/B] is this one … | |
My problem: Use an Iterator to go through all of the elements in the list, getting each element's textual representation, and displaying this text neatly inside the text area. My thoughts: Do I use an add method to add elements from the list to display onto the text area? | |
Assignment was to take information about sales made, hours worked and number of dependents from a file, calculate the gross pay expected on one of two plans Plan A 10% commission on sales, and 9.50 an hour with 1.5x overtime after 40 hrs Plan B 30% commission then we had … | |
I have managed to create a file (Sample.txt). So what I need now is to put the contents from array (ReadLines[]) to this file, line by line and the file name should be what is written in textBox3. [code] array<System::String^>^ ReadLines = gcnew array<System::String^> ( textBox2->Lines->Length ); ReadLines = textBox2->Lines; … | |
Hi I wrote a visual basic program years ago for a friend. I retained the source, but I get a load error on some of the files. Apparently they are saved in binary (or tokenized?) format. I would like to read them so I can update the program and even … | |
/** Program name: MonthlySales.java Author: Dominick Saccoccio Date: 2-19-08 Description: The program provides an end-of-the-year sales analysis for a company. The revenue contains total sales for each month, where revenue ={ 16692, 2504, 2463, 1857, 2369, 2684, 3374, 2630, 2531, 1928, 2692, 2578} presents the sales of January to December. … | |
Hi Fellow programmers, I need to print the content of a repeater list located inside of an asp:panel. once the page is loaded, the code for the asp:panel is displayed as a regular div tag. What I need to do is to print the content of the div/asp:panel once the … | |
Hello everyone, My name is Stephanie I am new to the forum I have been just reading, this is my first time actually participating in one of the threads. I must say that I have learned a great deal from this site, I have been able to fix minor problem … | |
hello all, I have an old database that was written for xenix 386 using the old a.out binary format. Since then most unix/linux OS s have adopted the ELF format. These binaries will not run on a modern OS. I don't have the source code, just the binaries. Is there … | |
If I have a textBox1 that contains 2 lines of text. What I want to do is to put each line into an Array. So I want to check the textBox1 and read in all consisting lines into an Array. [I](1 line will reprsent 1 memoryplace in the Array)[/I] How … | |
Hi, I will be making a small site (my first in php) that will be available in 3 languages (eng, jap, chinese). my idea is to have index.php page in the root, and then (also in the root) 3 folders (en, ja, zh) with a version for the site in … | |
hey im using vb 6 on a 64 bit vista computer in vb express 2008, is there some way i can compile a lightweight program for use on a mac? thanks m | |
Hi All, Please bare with me as I'm new to this forum and to web design. I was asked by my boss to design adn upload a new website via ftp, which I can do. I realised this morning that it is not as simple as just that! Basically, here's … | |
I am writing a program that performs a NOR function and i keep getting this error I cant figure it out! 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(28) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(29) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(30) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(31) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(33) … | |
Dying here people! I am have basically confirmed that I my script is getting a POST and that it has some length to it, etc.: $ENV{REQUEST_METHOD} $ENV{'CONTENT_LENGTH'} But this line here: [code]read (STDIN, $query, $ENV{'CONTENT_LENGTH'});[/code] Comes back with $query being blank. Surely I am missing something? Wish I knew Perl … | |
hi I am new here. I have started an assembly class and I have completed the beginning assignments about making a program perform addition and what not. I am now stuck on making it do an NAND function. I have to use 16 bit registers, but I cant wrap my … | |
I have a function find(x) in my linked list, that search through the listfor the value and return an Iterator pointing to the first node contaning value x. if x is not found in the list, it returns an Iterator pointing to NULL. it should be a linear search. would … | |
Hi all, I have a program which downloads a bunch of documents from a remote server and after bundles them up in a .zip file using ZipOutputStream. The problem is that when I download the files, there could be more than one file with the same file name. So, when … | |
Iam facing a wierd issue with ASP.NET and MySQL. My ASP.NET site hangs pediodically. After it hangs none of the pages open. But other sites on the same Server still works. The only way to bring the site back is by restarting the WWW service or by restarting the server. … | |
I need code for autosuggest textbox in html using java connecting database. plz its very urgent. Thanking u in advance. Sridhar. | |
HI I need to make Microsoft Access 2003 Dependent Drop Down from an existing application which set a configuration file. The user interface contains many drop down that are filled dynamically. The issue here is the latency, meaning the time needed to refill the drop down after making a first … | |
I wonder. When you are in dubbingmode and develop you program you refer to ifstream like in the code below. [code] ifstream OneFile("Text.txt"); [/code] "Text.text" is in the folder debug. Later when the application is finished. I want the file "Text.txt" to be in a folder like this: C:\NewApplication\FileFolder\Text.txt How … | |
[CODE]#include <iostream> using namespace std; void intialize(char array[][6]){ for(int i=0;i<13;i++) for(int j=0;j<6;j++) array[i][j]='*'; } void menu (char array [][6]){ cout <<endl; cout<<"\tA\tB\tC\tD\tE\tF"<<endl; for (int i =0; i<13 ;i++){ cout<<"Row "<<i+1<<'\t'; for(int j=0;j<6;j++){ cout<<array[i][j]<<"\t"; } cout<<endl; } cout<<endl; } void main(){ char array[13][6]; intialize(array); char smoking,type,exit,column; int row,col; do{ smoking = … | |
I'm having trouble with this program that is a math tutor for a young student. The program should display two random numbers between 1 and 500. Could I get some help? | |
I had a form that requiring a Job Order Code, "the Job Order Code is just like number of transaction". We had 12 months in 1 year. I need to reset the starting Job Order Code in every month. For Example: January: In month of January I had 10 transaction, … | |
Hi, I am writing a simple program to read and write a serial port. I only have access to one serial port on my pc so I am using a HugePine RS-232 to USB convertor. The driver is installed and windows recognizes it is attached. My question is what comm … | |
Hello Well I have this coding and I thought I set it up ok to catch this simple exception, but as of right now, the program continues to run after the exception happens and its not even catching it. where did I go wrong. Thank you all Your rookie programmer … | |
Implementation of Apriori algorithm using count distribution algorithm could any one send the source code at [email]chetan_a84@yahoo.com[/email] | |
Is it possible to issue SQL Style Commands to manipulate data from XML Files ie. SELECT, INSERT, UPDATE and DELETE The reason i ask is the i want to write an appliclation that will store the database with the application but with out the user needing to have MSAssess (for … | |
Urgent,, I'm trying to pass a variable via double click event to a sub routine on another page, yet the ondblclick is not working here's my code: <td align="left" ondblclick="alert('Selection confirmed')" bgcolor="<%=backColor%>" style="BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; MARGIN-LEFT: 0px; BORDER-LEFT: gray 1px solid; WIDTH: 150px; COLOR: #000000; … | |
Hi All, I have created a table called tblState in access with 2 columns: id and state and am populating a dropdownlist with state. I am in need of code to delete a selected value of dropdownlist from database in asp.net2.0 using c#. Can anybody help me please. Thanks Wajid | |
How can I make my pygtk windows switch to another workspace. I'm working on a box-oriented task selector and I need my boxes to follow windows to their new workspaces when they change workspace. This is my code thus far: [code] import wnck import pygtk pygtk.require('2.0') import gtk import gobject … | |
I am trying to make a box-oriented task selector similar to the style of nextstep. I am currently having problems painting the box background and application icon onto my window. If I just use a normal gtk.Image widget it works fine, but that won't let me have both the box … | |
Hi, My below code compiles and builds ok but it behaves a bit unexpected. Please see my comment where I am having the problem. Any advice will be highly appreciated. [code] while(count<9) { system("cls"); printf("\n\n\n"); printf("\t\t\t PURCHASE ORDER SYSTEM \n\n\n\n\n\n\n\n\n\n\n"); printf("\t\t\t\t INPUT NEW ORDER DETAILS MENU\n\n\n\n\n\n"); printf("PLEASE SELECT ONE OF … | |
How can I display an image randomly in ASP.Net? | |
Hi everyone, I was hoping somebody could help me unravel this - i'm very new in programming in php and i'm teaching myself so bear with me. scenario: I have a website with 4 distinct section (all in seperate tables): 1. A header - where my menu buttons are, 2. … | |
I see I am not the first to have problems with ComboBox and will most likely not be the last This is likely to be an easy one for most of you... i put it down to my age :) am using Visual Studio - Visual Basic.. I have a … | |
Here is part of my code- [Code] extrafiles1=$(ls mt.*.*.*.*) if [[ $(ls -l $file 2>/dev/null) = *$today* ]]; then if [[ $file -eq $extrafiles1 ]];then rm $file fi fi [/code] when i am running the script it's showing an error-- mtclean[239]: ./mt.log.8882.-5.1202989443474: bad number. when i just ran this command … |
The End.