199,114 Archived Topics
Remove Filter ![]() | |
Could anybody direct me to J2ME API link.. I couldn't found the download link. | |
Hey Guys, I am really trying to get into List-Implementation. Everything I wrote works fine except the "delete Element at Position" funktion. With the iterative Implementation there is no problem, everything works, but I want to do a recursive Version. This is the Task: Invent an algorithm which becomes a … | |
Guys I am having this error mess. Warning 1 sub 'Page_Load' shadows an overloadable member declared in the base class '_Default'. If you want to overload the base method, this method must be declared 'Overloads'. C:\Desktop\Vb 9.0\experimental_asp\experimental_asp\Default.aspx 6 9 experimental_asp I was just following the tutorial from w3Schools, and I … | |
Hey everybody. I'm new to the forum and have some experience with C#. I need to build a 2D box on screen using C# and have a ball that bounces around inside the box. I have to make a command key to stop and start the ball. I'm pretty lost … | |
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click strsql = "delete from student_info where Student_No = " & ctrl & "" Dim sqlcmd As New SqlClient.SqlCommand sqlcmd.CommandText = strsql sqlcmd.Connection = sqlconn sqlcmd.ExecuteNonQuery() MsgBox("Student Deleted") Me.fillclasslist() When I try to delete a student in the list … | |
I am new to JSP and I am not very familiar with what its advantages and disadvantages are. We all know that Java is a big and complicated language, but it's not as web oriented as PHP. I have also heard that it's more expensive to find a server for … | |
Hi, So, let's say i have a string "--_some_String_123". What is the correct regular expression pattern to remove those "-" and "_" from the beginning of the string? They only need to be removed from the beginning, so after removal the string looks like this - "some_String_123". There can be … | |
I’m trying to use an Aug20th 2005, how to set file access time, here on DaniWeb. I need to modify the file times for a “C”, not C++, Visual Studio 5, console ap that I am working on. Here is the exact code for the project: [CODE]#include <windows.h> #include <stdio.h> … | |
I have one html page with a form for searching. The form action posts to a new php page. I get results but when i click next(next page) i get the undefined variable error. i know undefined variable error means i'm using a variable that has not be defined but … | |
I have a java code that i don't know what is the problem. could you help me? On"Stock testStock = new Stock();" I get an error message that says " Stockcannot be resolved to a type." import java.util.Scanner; /** An application class to test Stock class */ public class StockTesting … | |
hello all how is the code to move the cursor from textfield1 to textfield2 right after key "enter" pressed ? thank you denny | |
i am runing this script it is fine for one contect but when i try this on 4 recepients it is not working just showing this error.. Fatal error: Maximum execution time of 30 seconds exceeded in D:\Hosting\8011955\html\admin\newsletter.php on line 60 please help me to improve this code.. Thanks i … | |
I want know the reason why this code is not running ? My Wampserver IP address is 127.0.0.1:8080 or localhost:8080 ! The username is the default "root", but I changed my password to "abcd" ! [CODE] <?php /** * @author * @copyright 2011 */ $con = mysql_connect('127.0.0.1:8080','root','abcd'); if (!$con) { … | |
Folks, I'm part of a team of advisors at a school. Students go to a central office to physically sign up to see us. The office is far from most of us, so we all need to make a once-daily trip over there to learn who's coming and when. The … | |
I want to perform calculation in gridview :NetAmount=(ServiceAmount*Quantity)*Discount I had written code in rowdatabound but it is not working,i amnew to programming help me solve this proble i would appreciate if some one share ther knowledge my Axpx code is: <asp:GridView ID="GridView1" runat="server" Height="156px" Width="618px" AutoGenerateColumns="False" BorderWidth="1px" HorizontalAlign="Justify" onrowdatabound="GridView1_RowDataBound" BackColor="LightGoldenrodYellow" … | |
I am designing a project in asp.net. I one page i have created a gridview having template field as checkbox. When I select any row in gridview using checkbox,that checked row goes to a new gridview on button click. Now what i want to do is to save that new … | |
Hello! I am writing a java program. This application will work on very slow computers too. 1) My application prints on the command line logs about what action did the user. Sometimes one action needs to write 50 lines on command line. Sometimes 2-3 lines... But these 50 lines are … | |
![]() | I am doing a program to do dfs traversal given the adjacency matrix. My code follows: [CODE] #include <iostream> #define SIZE 10 using namespace std; bool M[SIZE][SIZE]; int flag[SIZE]; int dfsNum[SIZE], num; int n; void dfs( int u, int p ) { flag[u] = 1; dfsNum[u] = num++; for( int … ![]() |
Please help me out to put the above code of delete array crashing together, because I've been trying millions of time. Please help. Thanks a lot. | |
Hello there Daniweb community, i am creating a 2d game in Java, however i have a problem. I googled up KeyListeners for JFrame, as they didnt work as usual, and i found out that when using KeyListeners with JFrame you have to set focus, right? Well. I have Googled abit … | |
[CODE]<?php require_once 'library/config.php'; require_once 'library/functions.php'; if(isset($_SESSION['sql_view'])) { $sql_view=$_SESSION['sql_view']; $result = dbQuery($sql_view); extract(dbFetchAssoc($result)); }else { //header('Location: index.php'); } $FileName ="view.doc"; header('Content-Type: application/word; name="word"'); header('Content-Disposition: attachment; filename="' . $FileName . '"'); header('Content-Type: application/word;'); ?> <!--<form id="frmSample" name="frmSample" method="post" action="" enctype="multipart/form-data" onsubmit="return ValidateForm()" >--> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="11%"></td> <td … | |
Hi! I have tryed do it from examples, but without succes. So my problem is - i have form where can change settings, but i have problem i need scripy wich will not insert into database new numbers or laters, but update(change) them. I have found some examples but i … | |
Hello Dear Brothers & Sisters how are you....? Well, i am facing a problem while handling a script and database. actually i am trying to shift some data (user id form database) form one page to another. through $_GET (if you have any other technique also suggest.) and after transfring … | |
Im trying to create a php webpages to update information in an access database using a odbc connection the page1 sends the variable to page3 and displays the result page two allows you to pick which row to update then goes to the update page where i want text boxes … | |
Does USSD syntax include other characters other than "[B] * and digits[/B]". While [I]googling [/I] I have not found where it is explicitly explained. This is because I am getting ERROR while sending USSD which consists of spaces and : (column) | |
I'm working on a tool that can copy the registry files from a designated drive or image onto a local machine. After doing that, how would I go about reading from those registry keys? I've seen other people use RegOpenKeyEx but that was on their computer and not an external … ![]() | |
Two applications, two different problems. Both of these applications worked perfectly in the test environment with SSL authentication turned off. Now that we've moved to a live environment, the applications can no longer connect to the client company's ActiveMQ messaging queue. using dlls from Spring.Net version 1.3.1. Connection string uses … | |
I'm at the very last bit of this project. I think i am confusing myself at this point. I need to do one last function called showCost. The function is to print the total cost and the average cost. I'm at a loss one how to do this. Wonder if … ![]() | |
Hey Guys, I Want to Display Content of Database Into TextBox, i.e. i have column named "Ename" in "EMP" table of database1 , now i want to display "Ename" in TextBox of my form , so, how can i do this ? Thanks In Advance | |
i want to write a program which display alert message whenever 15 mins are over.But i am not finding solution of my problem using waitforexit() or delay() functions. [CODE] #include<time.h> #include<stdio.h> #include<dos.h> #include<conio.h> void main(void) { time_t timer; struct tm *tblock; time_t t; //timeout=18000; /* gets time of day */ … | |
Im a beginner at Python and I have written a program consisting of three functions and now Im stuck when I need to 'call' on them at the bottom of the program. In the 1st and 2nd functions I get some information and saving it to a file, but the … | |
Hello all!!! My Javascript menu is giving me some problems. whenever i hover the mouse over the menu the dropdown is hiding behind the javascript slideshow. can u plz help me out. Here is the link to the website. [url]http://www.sewaindia.org/[/url] | |
Your program should calculate and output (to the screen) the following information about the file of text: 1. The total number of lines in the file, including blank lines. 2. The number of blank lines in the file. 3. The number of periods in the file. 4. The number of … | |
I have this code that displays a thumbnail strip and then when you mouse over a thumbnail a bigger images shows up over the strip. The problem is it only is working on some of them and only when the mouse is over a certain part of the picture. When … | |
hi I'm new to c++,I really need your help :( I have an assignment that it's title is a latin sort.It needs to read from the text file and then sort the words by bst and again write the sorted files to a text file,I also attach the assignment I … | |
I am getting the following error: PII.cpp:266: error: 'struct std::string' has no member named 'getfirstblock' And I'm not sure how to fix it, since "int block" has to be equal to the firstblock of the file, how can I fix that error? Also, my "getfirstblock" function should return the block … | |
Hi Friends I want to set the image to picture box from get sql. I wrote this coding , But Its not Working Properly . [B]byte[] mydata=new byte[0]; mydata=(byte[])dt.Rows[0]["img"]; int arraysize=mydata.GetUpperBound(0); MemoryStream stream = new MemoryStream(mydata,0,arraysize); img.Image = Image.FromStream(stream);[/B] where i wrote wrongly Please tell .. Thanks in Advance :) | |
Hey fox i had a hw problem and im stuck we're supposed to do a payment project and i sort of did the first part but then stuck on the second. Here's what i've done so far... [CODE]#include <iostream> #include <iomanip> #include <cmath> using namespace std; //Program name: Amortize int … | |
What is offset of array? And how can I define it? It's very important. Please answer!!!! | |
hi! I need to populate a flex combobox with the result query of a oracle db, using coldfusion. I have this code, but it is not functioning: my flex webpage: [CODE] <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Label x="230" y="36" text="Selecionar Consolas"/> <mx:Script> <![CDATA[ import mx.events.*; import mx.collections.*; import mx.rpc.events.ResultEvent; … | |
[QUOTE=Narue;1387727]Endianness is about byte order, not bit order. So 00000000 00000000 00000000 00000011 in little endian is 00000011 00000000 00000000 00000000 in big endian. Keep that in mind when doing your conversions.[/QUOTE] How to create a Little Endian computation code? MASM platform: val7 dword 12345678 ; little endian starting point … | |
Hello i am building a game. The bigger it gets , the longer it takes to compile. I wanted to speed up compile time. I have a lot of headers and cpp's and they recompiled every time. I was thinking about when building my game, excluding some parts of it … | |
So, I've been assigned to write a program that reads the wind-tunnel test data, that of which is called the "tunnel.dat" in my program, and then allows the user to enter a flight-path angle. If the angle entered is within the bounds of the data set, the program would need … | |
this is my first year of c++ and i am really confused on functions. if someone could help me with one of my examples to get me on the right track i would really appreciate it. 1. using void printMenu().....i dont understand how to set it up 2. using isEven(int, … | |
I've got an algorithm that at most does 1 operation for the first time a loop is run, 2 for the second, 3 for the third up to n for the nth. Essentially the sum of all numbers 1 to n is the worst case running time. or [TEX]\frac{n*(n+1)}{2}[/TEX] I … | |
Hey guys i am having a little trouble with this code [CODE]# include <fstream> # include <iostream> # include <string> using namespace std; int main() { fstream filestr; filestr.open("text.txt", fstream::in | fstream::out | fstream::app); filestr.close(); return 0; }[/CODE] But i keep getting a error when i run it 1> All … | |
Hi friends, i am trying to create a media gallery which will display images from a folder. I have sorted the images into a separate folders according to years i.e (2011,2010,2009). which i will be using as navigation. so far i've been able to list the folders in the directory … | |
Hello, I have a question about classes on C++. So far I have 3 classes on my project. BibEntry ( abstract class), KeyFinder (class to find the \cite in file and store to private KEY at abstract) and TypeFinder ( class to find which entry is it article, journal so … | |
Hii all, I have an assignment in my java course and i just did the required 1 , and the else is very confusing for me , I'll be very appreciate if any one could help me for 2nd required and then ill try again in the rest . <URL … | |
Hey guys, I have been having a problem with converting an interger into string for input purposes. For example, I am trying to make it so when the user inputs his/her name and it is an integer the program will not accept it. The IBIO file is the input method … |
The End.