199,114 Archived Topics
Remove Filter ![]() | |
I have been trying for a while to find an idea for a good project. I have anbout eight months of time to work on it and I am trying to find a project that is preety complex and fairly original. I have been trying for months to think of … | |
I've managed to figure out how to create tables in a dataset, fill them with data, and link one of those tables to be displayed in a DataGridView. It works great when the selectionmode is by row, row header, or cell, but unfortunately for this project I'd like the user … | |
Hi I got a code that in pseudo dos something like [CODE] ifstream os; while(os.oef()){ os.getline(buffer,length); } [/CODE] If some condition is met, I'd like to be able to jump back to the previous line, such that the next getline will give the line just-read in, at a later time … | |
Hello, I wanted to know as to how to pass an object of a class with a number of member variables across aspx pages. | |
I can quite honestly say I am lost, having learnt HTML during the past 2 years and trying to understand a bit about java, but find myself very confused. Yes could look in books but find them equally confusing the same as when learning HTML and preferred to do more … | |
so i have this code on 3 different pages... and i'm kinda a newb... can u please help. the script is suppose to let someone select a $manufacturer... then from there select a $model... and then finally see the $notes for that model. The script works until it gets to … | |
I am new to javascript, my skills are very limited, so I use the great scripts I see posted on the net by experianced javascript users. I have this script that picks lottery numbers, the numbers it generates are in a little box, but the problem is the box has … | |
hello friends have a look on my attechments.. the rows are dynamically genrated from database..!! In column Amount user fills values....!!! when user click on add ledger.. a new popup window will open with a form... after adding ledger and closing the popup window...!! the parent page will refresh.. so … | |
I cant find a decent explanation anywhere! How can i use the serialport component in .NET 2008 to send and receive data. Also whats the common code syntax for this component. If any one could point me to a decent tutorial that would be great! Im fairly new to the … | |
Hi, I have some questions on vector. Please consider the code below. I use g++ compiler on Linux. [CODE=c++] #include<iostream> #include<vector> using namespace std; class Sampler { int a; int b; }; int main() { vector <int> vec1; vector<float> vec2; vector<Sampler> vec3; cout << sizeof(vec1) << " " << sizeof(vec2) … ![]() | |
how to animate object in C#. moving from left to right or vise versa | |
hi, i have developed a shopping cart using php mysql, it has around 50 products in home page its taking too much time to load can anyone suggest how to optimise my database so that it takes less time | |
hi guys, im creating this contact form code, apparently its having error as below [Parse error: parse error, unexpected '"' in E:\wwwusr\vhosts\ceriategas-premium.com\httpdocs\test3\send_contact.php on line 6] ive checked the line 6, but i cnt find the errors... do help me please... [code] <?php if (isset($_POST['submit'])) { // Collect variables $subject="$name"; $message1="$coname"; … | |
Hi frnds... here i am getting some error...plz check this one... these are the two files regarding my code...[B] thumbnail.php[/B] [CODE]<?php class thumbnail { var $img; function thumbnail($imgfile) { //detect image format $this->img["format"]=ereg_replace(".*\.(.*)$","\\1",$imgfile); $this->img["format"]=strtoupper($this->img["format"]); if (strtoupper($this->img["format"])=="JPG" || strtoupper($this->img["format"])=="JPEG") { //JPEG $this->img["format"]="JPEG"; $this->img["src"] = imagecreatefromjpeg($imgfile); } elseif ($this->img["format"]=="PNG") { //PNG $this->img["format"]="PNG"; … | |
Does anyone have a clue as to how you would impliment lets say : onclick="MM_goToURL('parent','index.htm');return document.MM_returnValue" inside lets say this: <script type="text/javascript" language="JavaScript1.2"> <!-- stm_bm(["tubtehr",430,"","blank.gif",0,"","",0,0,0,0,0,1,0,0,"","",0],this); stm_bp("p0",[0,4,0,0,3,2,0,0,100,"",-2,"",-2,90,0,0,"#000000","#000000","",3,0,0,"#ffffff"]); stm_ai("p0i0",[0," Products ","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#666666",0,"","",3,3,0,0,"#ffffff","#ffffff","#ffffff","#ffffff","8pt Arial","8pt Arial",0,0]); stm_bp("p1",[1,4,0,0,0,3,0,0,100,"progid:DXImageTransform.Microsoft.Zigzag(GridSizeX=16,GridSizeY=16,enabled=0,Duration=0.10)",-2,"",-2,100,2,3,"#000000","#ffffff","",3,1,5,"#666666"]); stm_aix("p1i0","p0i0",[0,"Order Catalog of Courses","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#000000"]); stm_ai("p1i1",[6,1,"#666666","",0,0,0]); stm_aix("p1i2","p1i0",[0,"AUDIO CDs - coming soon"]); stm_aix("p1i3","p1i1",[]); stm_aix("p1i4","p1i0",[0,"DVDs - coming soon"]); stm_aix("p1i5","p1i1",[]); stm_aix("p1i6","p1i0",[0,"VHS TAPES … | |
The age old issue of string parsing comes up again ... I have a text file that contains lines that are SUPPOSED to follow a set format, specifically: string, string, long string int string double int The delimiters are therefore: Comma (,) for the first two fields Spaces for all … ![]() | |
Hello, I'm struggling with the following issue, and need help with it.. I'm using ASP.NET, and trying to create a primitive webshop. You "buy" services, not products, and you only need to buy them once, so I'd like to filter the cart to add an element only once, no matter … | |
Task: Given input file A, translate the content to produce output file B Hi there, I need help in solving this domain problem. Any help will be appreciated. ====Scenario========== File A: Consists of multiple lines of data whereby each line is of form X;1.9,2;3,4.3; 5,6 Output file B, should consists … | |
I have written a shell script below while running this script , we have to give inputs manually, now i want that we are getting inputs in excel file ..can we automate this , this was a project for me , i am alreday late ..please help me soon [code] … | |
Hi All, I need to send email from a C# application from localhost. I was successful in sending email using gmail SMPT port and host. But i need send email from local host SMPT virtual server. I followed the steps explained in [url]http://forums.asp.net/t/268037.aspx[/url] and [url]http://weblogs.asp.net/steveschofield/archive/2007/08/15/send-email-from-your-local-machine.aspx[/url] but the mail was not … | |
Hi, I have a strange situation to tackle.I have a paging for the website I am developing. there are few records in the table which i want to skip from to display in my list in the web page. But paging works on the total num rows as using mysql_num_rows(resultset) | |
I am creating a code in php to read the content of a file and save it in a php array. this is my code: [CODE] <?php $myFile = "isbn.txt"; $fh = fopen($myFile, 'r'); $i=0; $ans=array(); while(!feof($fh)) { $theData = fgets($fh); $url='https://isbndb.com/api/books.xml?access_key=RPGYD5PC&index1=isbn&value1='; $url1=$url.$theData; //echo $url1; $ans[$i]=$url1; $i++; } ?> [/CODE] … | |
i want to playing mp3 file with vb.net. how can i do this? regard Naruse | |
Hi frnds... here i am confusing a lot..lot...from last 4 days i am struggling here...plz solve this problem aeap with patience.... This is my code for uploading images to my folder and db table...now, all images are blur at my user side...so, i need to create THUMBNAIL images for every … | |
hi i have completed my project in c# in visual studio 2008 i have used shockwaveflash for playing .swf files its working fine .., i have done setuped the project with all prerequests given .netframe work and windows installer all except the shockwaveflash. so i want i want to check … | |
Hello everyone, I am not much of a programmer but have some limited experience with vb.NET, so please bear with me. I have written the following code to create a dataset and fill it with three different tables, one of which is empty to begin with but is populated successfully … | |
Not sure this is going to be easy to explain but ... I have a class (A) that needs to have access to a map (mapCodes), this map is the same for all instances of class(A), therefore I don't want to create an instance of the map for each instance … ![]() | |
Hi, I have 3 sentences in table. These are the sentences. [code] Spatio-temporal tracking and phylodynamics prm. These are prM based values. All MR values are greater intensity than PRM vales. Values specified are equal to PRm values and PRM-lacZ. [/code] If user specifies the query like this: prm* i … | |
Ok help please , cant get my head around this .... i need to build a database that will hold the following : width x drop = price what i actually want to do is a quotation form for my website where the costumer will input the width and the … | |
Hi! I have a server-side button_Click event handler that generates an Excel file and downloads it to client with Response.AddHeader(...); Response.TransmitFile(); I want to refresh a page after the download is complete, but i don't know how to do it - things like ClientScript.RegisterScriptBlock(..., "alert('hi');"...) don't write anything to the … | |
Hi all, im starting to use paypal in my custom cart, i want to use express checkout in my cart. Can anyone tell me how to retrieve paypal token with php script ?? or just give me a simple brief about it, ill try to read paypal tutorial, but its … | |
Iv'e been searching this website forums for the right answer but i didn't find. Im using VS2008 and want to build some application that working with microsoft access database. in the database i have one table call "customers" with the coulmns = "firstName", "lastName", "address" etc.. I want to make … | |
[code] string s; cout<< "Enter name: "; cin >> s; cout<<"\n"<<s; [/code] on running this i need: Enter name: Tejesh Kinariwala Tejesh Kinariwala it is showing: Enter name: Tejesh Kinariwala Tejesh so how to get the input till user hits return key, instead of breaking it at space | |
i've wrote a code that read and write to some files, and i have a segmentation fault when i'm running it in the g++ (in the visual studio i don't have any problem like that..) anyway, i think the fault may come from this line, can anyone tell me if … | |
Hi i have to make this work... [code=cplusplus] //INFO: -eingabeprüfung auf buchstabe/zahl // -eingabeprüfung auf zahlenbereich // -wiederholung einbauen vill... #include <iostream> using namespace std; int main() { int eingabe; cout<<"Geben sie eine zahl ein> "; cin>>eingabe; if(eingabe>0 && eingabe<13) { switch(eingabe) { case 1: cout<<"eins"<<endl; break; case 2: cout<<"zwei"<<endl; … | |
Hello, I have a problem with my code and can't see what the difference can be. I am trying to change my JLabel text via a timer using .setText I have 2 small apps to demonstrate my problem. 1 - I have a JLabel within a JPanel within a JFrame, … | |
I need a help in designing form in vb.net. In my project I have to design a form to save the company's applicaton form details.the applicaton form is of two page.I have to make the form design catchy so that data entry is easy. A section in the application form … | |
![]() | im trying to make a little game and i cant find how to use the keyboard to control it what does the code look like? ![]() |
Ive managed so far with this code that amends data to an xml form, but I need to figure out how to remove the bit of code that amends data rather than overwriting it. Ive messed around with the code to see if I could manipulate it myself to get … | |
Hi guys I would like some help with this page that I have been working on. I would like to know how I could add comments on page and view the existing ones Here attached is the page and its accompanying pages... Any help is welcome Thank you!!! | |
hi, Am a newbie in php, Its been a quite a long time am trying for countdown timer in php , i have 5 different php pages with 5 questions each , when the user starts with the Q.No 1 the timer should start at each and every pages.Can any … | |
gives me error main /* The purpose of this lab is to open a text file and then make a copy of it */ #include <iostream> #include <fstream> #include "Interface.h" using namespace std; int main() { //open up file to be read from string input; ifstream in; cout<<"enter file name … | |
I am trying to write a page that requires a Pass/Fail for conditions that are done everyday and then posting them to a database. The problem I'm having is the validation of the checkboxes. Find the code below: [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 … | |
hi,i have a unique problem.actually i wish to put a polarchart developed using JFreechart on the frame that already has components placed on it.What i want to do is to make the particular component overlap the polarchart. How can i do so? i thought of creating the polar chart using … | |
Hi there folks! Please could anyone tell me how I can disable the underline of a hyperlink button server control of datagrid and similar controls ? I had used the following css code on the ItemStyle-CssClass which works for traditional hyperlinks to no avail. Thanks for the help:) [CODE] .tablecellhyperlinks … | |
Hi, I have a Button inside of a GridView, inside of another GridView. The higher gv is filled with a dataset, and in the RowCreated event I fill the second gv, and finally, in the RowCreated event (handler added in the RowCreated event of the first gv) of the second … | |
I'm trying to write a program that asks the user for a number between 1 and 10, then prints a line of that many “X"s. The program compiles, but I cannot figure out how to make the variable 'total' print X's instead of a the actual number, if that makes … | |
Could someone please help me figure out how to sort files in a directory by date? There are a lot of files to sort, thousands. All I want to do is sort by date last modified or accessed and then print that array. Thanks, Derek ![]() | |
Hi.. gud day.. i'm a beginner in php programming, i just started today and i want to ask a question about the use of the "isset()" function. the code in the .php file comes like this: [code=php]<?php if(isset($_POST["RegisterButton"])) { mysql_connect("localhost","root","") or die (mysql_error()); echo "Connected to mysql"; mysql_select_db("myDatabase") or die … |
The End.