199,114 Archived Topics
Remove Filter ![]() | |
I want to research an ID on a sheet in a Excel file and found it and delete this ID from excel file and save this file. I want to remove a register from my file. ID is a fisrt column and I must be research this column and find … | |
Please help me. I got this error while uploading in Server. I developed this code in windows based. But the deployed server is Linux Server. In windows server i didn't get this session error. Here is my code: [code=php]<?php session_start(); require_once('l2t_connect.php'); if($_GET['action'] == "send") { if(isset($_REQUEST['btnSend'])) { $key=substr($_SESSION['key'],0,5); $number = … | |
Hi my name is Kirk. I just graduated from college with a degree in Computer Science. I have a broad range of knowledge of computers and programming, but not much knowledge specific to databases that will ultimately be used in a project I am working on. I am building a … | |
Hi all, I have completed a cms system but at present they have to use html tags to edit the information. I recently found out about wysiwyg, which i would love to impliment but im having issues. the two following files allow you to type something, then click edit, which … | |
[code] package mypackage; import java.security.SecureRandom; import java.util.Random; public class SecureRandomTest { /** * @param args */ public static void main(String[] args) { SecureRandom sr1 = new SecureRandom(); System.out.println("1. SecureRandom object 1. nextInt() result :" + sr1.nextInt()); System.out.println("1. SecureRandom object 2. nextInt() result :" + sr1.nextInt()); System.out.println("1. SecureRandom object 3. nextInt() … | |
Hey guys. I was just following lazyfoos' SDL tutorial when i got stuck on lesson 08. Everytime i try to compile and run the source code the program closes immediately and a window pops up that says "An access violation(segmentation fault) raised in your program.". :S The compile log: Compiler: … | |
pls i need help!I am writing a code to turn on and turn off a light bulb between a client side and a server side using sockets in java.The thing communicates but i am having problem puttin it on gui radio buttons .I called the method to sendMesage from the … | |
I have an array of div elements that apparently is too long, but I need all the divs for my dragNdrop application. Could someone suggest a work around? The dragNdrop initialization is... [code=javascript] var elements=['div1','div2','div3',.....,'div400']; //Doesn't work properly var elements=['div1','div2','div3',.....,'div200']; //Works properly window.onload = function() { elements.each( function(item) { new … | |
Hello, I have a forum and i want to have a avatar system for each users avatar to appear on the side of his thread. but i am newbie to php and don't know how to do this. Can source code for this. Thankyou, Quickbird | |
When I compile the code below it generates more than 30 syntax errors. It does not make sense. The problem is probably somewhere in [CODE]Patient(string name_of_patient, int age_of_patient, string address_of_pat, double visit_duration_ofp, string ssn_of_patient, Doctor &doc);[/CODE] but I could not figure out the problem. I know it is not convenient … | |
I have a jsp where i have two buttons. Each button runs a script on click and then in the script i invoke submit(the action is to a servlet)... my problem is when the script invokes submit, it goes to the servlet...but the value of the button that was clicked … | |
Hi, I have SQL Server on a server. I need an applet, to appear within other peoples web sites that has read and update access to my database on my server. I would like it to be written in C# as the rest of the application is C# and I … | |
Dear all, I'm a newbie learning Java. Could you please help me on how to find the length of the longest group of duplicates in an array using Java. Let's say we have an array of integers as follows {9 7 7 7 7 3 2 1 1 5 5 … | |
Im getting an: ERROR: findSuppliersCandy(): Column not found error in my program. i have two related tables. One supplier table and one candy table for different types of candy. the method below is trying to retrieve all the candy entries related to a specific supplier by passing a supplier id … | |
I have a database with four tables: name, meaning, gender, origin, and i want to have the origin field automatically populated from the database rather than having to type the code for all the selections in the html. Below is what i've been playing with but I can't make it … | |
Hi, I want to develop a desktop application in which I want to render different views on button click. What should I use to achieve this? I thought of going for Swing but I don't have much idea about it. Can we show different views in Swing on button click? | |
Hello all, I have run into an issue with an JavaScript expand menu (you click a menu option a sub-menu shows, moving the other main navigation menu options down). Well I have designed a nice custom script to do just this. The problem is, how do I keep that sub-menu … | |
I've been working on a project for a few days now and have hit a part of the project that I don't know how to fix. I have a propertygrid control on the form and buttons that create controls when pressed. Here's how I am creating the controls:[CODE=C#] private void … | |
Basically the idea is to center a string. I selected the total length to equal 80. I know there is no fail safe placed into this program. I know there is another way to do this. I am stuck in a way. The program works, but I think I am … | |
I bound the Gridview to the database,Now I want that in each row edit link is there,When i click on dat,then the data of data row comes to edit mode... SOURCE TAB [code] <asp:GridView ID="GridView1" runat="server" onrowediting="GridView1_RowEditing" AutoGenerateColumns="False"> <Columns> <asp:BoundField HeaderText="SNo" DataField ="UID" /> <asp:BoundField HeaderText="First Name" DataField ="FirstName" /> … | |
Hi guy, I currently having problem saving my drawing into the sql database. Can I get some help here pls. my current codes: [CODE] Imports System.Data Imports System.Data.SqlClient Imports System.IO Imports System.Drawing Imports System.Drawing.Drawing2D Public Class Page_2 ' for GCS TABLE Private value_GCS As Integer = 0 Dim value_Eyes As … | |
Hi.. I am trying to update a webcontrol on a main site from a usercontrol but how can this be done. Let's say I want to update an asp:textbox from a usercontrol on the page, but how is this done most respectfully. The usercontrol does ofcause not know the controls … | |
Recently I've encountered an error which I'm not sure how it's supposed to be done given my very basic knowledge of Solaris. After building and running the project, this are the message which appear on my output... init: deps-jar: Compiling 1 source file to C:\Documents and Settings\Administrator\SimpleRead\build\classes compile: run: Caught … | |
Hello, I'm learning Java ME, remember that i'm already a Java developer, but i was trying to do a simple contact book application, then when it was finished i run it in the WTK emulator, but when i try to add some record it only shows me the message that … | |
My program doesn't make it pass these lines on one computer: [code] import re, os, glob, time os.chdir('/Software/xampp/htdocs/catalog/temp') file_list = glob.glob('Full-EP*.txt') file_dict = dict([(os.stat(a_file).st_mtime, a_file) for a_file in file_list]) date_list = list([key for key, value in file_dict.items()]) s = file_dict[max(date_list)] datePattern = re.compile(r'^Full-EP(\d{4})(\D{3})(\d{2})-(\d{2})(\d{2}).txt$') webdate = datePattern.search(s).groups() metadata = os.stat('WEB-Price-List.txt') dbdate … | |
I'm trying to make a simple program to improve my use of pointers (because I suck very badly at that), and I was doing fine, until I found this problem: -- HEAP CORRUPTION DETECTED: after Normal block (#155) at 0x007D18F0. CRT found that the application wrote to memory after end … | |
Hi guys, I'm new here. I have a problem though. I can perform a bulk insert from .csv file to MS SQL Server 2005. My problem here is that there are foreign tables in the .csv file. What I want to happen is that these data should be replaced with … | |
I am creating an classifieds section for the newspaper that I work for. I am able to get the ads to display and search them. I want to add a few features: Save ad Print ad E-mail ad Does anyone know how to do the Save Ad feature? Basically you … | |
So I'm coding a form in html and ASP and so far I have it working perfectly in terms of going from one page of the form to the next and shooting off an email at the end as verification of the form input. What I've just inserted into the … | |
our task is to determine how the computers should be connected into such a chain to minimize the total amount of cable needed. there are 20 terminals each has a corresponding coordinate(x,y). the user will just choose which terminal he will put his pc's. 1. you wil ask the user … | |
Hi all, I have two classes [B]C[/B] and [B]D[/B] these classes are inherited from [B]B[/B] class. My question is how can I use a member function of [B]C[/B] at[B] D[/B] and at [B]D[/B]'s child classes? I tried to do it with a regular function but it does not work in … | |
I'm in the process of writing a comment system for my blog. Each blog page will be on a PHP document with an HTML form where the viewer can type in their name and comment in a form at the bottom. [ICODE] echo "<form action='postcomment.php' method='post'>"; echo "<input type='text' name='PosterName'/>" … ![]() | |
Hello. I'm a new c++ user after having used Java for a few years as well as php. I'm having trouble with strings and how they can be used with classes. This is what my runner.h file looks like [CODE]#include <string> #include "TestApp1.h" #ifndef RUNNER_H using namespace std; class Runner{ … | |
Hi, Im Kiran. Can any one help me with the C# code for denying access to the local drives?? when anyone try to access a drive ( thru cmd or double clicking the drive directly) it shud nt b allowed.. for that.. So hw can we do that programattically..??? Plz … | |
Hi, I want to retrieve the hardware information (CPU info, RAM size, HDD info, VGA info) for dos platform. Anybody can help me with Turbo C or C++ source Code? Any help will be greatly appreciated. Thanks | |
I can connect from the services window but whenever I try to set the code myself on my app it tells me it cannot connect to the database. Here's my code: [CODE=java]import java.sql.*; public class LogBook { public static void main (String[] args) { connectToDB(); } // Connect to the … | |
![]() | I am not writing this to spam people. I am trying program that will send the message "What's Up" to all the people on my friends list that are online in AIM. The main problem is how do I get Java to read the friend list, open up the message … ![]() |
hi guys? Im new to this so please bear with me. I have not seen a practical example of what I am trying to do so i'd appreciate any help I get. The code below contains a form with a number of fields. I am trying to query the database … | |
I have read a little bit on XML and I will need it to get some information from already available XML files. I would like to learn it by making very small playlist. However I have encountered the two beasts. I don't know much of XML, especially with python. So … | |
I have already studied C, and C++. I googled for the best programming languages. Somewhere I found c# also. I want to know that, what type of programming language is this. I heard that C is useful in writing operating systems, C++ in gaming and i also used it in … | |
Hi, I've been thinking of ways of creating an application that involves working with data, what would be the best way to accomplish this? With the JavaDB, MySQL or plain text files? The project is fairly simple, the idea at least. It's a set of records for students, each student … | |
Hello, I have created a site where users will have to pay fee for signup, that fee will be calculated using the options the select. I want them to be able to pay their fee using Paypal, I know how to process a fixed amount using paypal but don't know … | |
I am trying to echo two predefined variables, on the same line, with a space in between them. I am also hoping to use either ucfirst or ucwords to capitalize the first letter of each word. But to my understanding these only work with a string. Here is the code … | |
Dear people, There is any function instead of explode which does not add an index in the beginning of every line? Instead of show: [0] => Number=0 [1] => Number1=1 [2] => Number2=2 Shows like that: Number=0 Number1=1 Number2=2 or some function that removes the [0], [1],[2]... Thanks in advance! … | |
hi I have a freetextbox, a hiddenfield and a button on my web page. By pressing the button it insert the text from hiddenfield into freetextbox at current cursor position. I am doing this task using java script. when I run the webpage it give me Object required error. The … | |
Hi there, I'm currently trying to write a function that works on a 24 hour (obviously) day but it must run 4x the normal speed. So as an example, hour: 22 will pass 4 times every day. It doesn't need to work on a AM/PM basis but only hour 1-24. … | |
I am trying to write to a file using StreamWriter, but for some reason it is cutting off my data. I have set up a simple problem of what is going on below: [CODE]TextWriter TestOut = new StreamWriter("test.txt"); for (int i = 1; i < 1001; i++) { Console.WriteLine("i = … | |
well i am creating a registration form . the problem i am facing is i want to generate the name text field based on the input of number of participants. if some one wants to perform bulk registration, then he can keep filling the form again and again, having all … | |
Hello i'm new here and I hope you can help me :) I've made a bootloader in assembly that's starting up my kernel. The code for the bootloader looks like this: [code] ; 3.ASM ; Load a program off the disk and jump to it ; Tell the compiler that … | |
hello im not very experienced with python so sorry for any bad code i am running ubuntu 8.10 and using pyserial i have made a script that reads the serial input from an arduino if you are not familier with an arduino here is there website [URL="http://www.arduino.cc/"]http://www.arduino.cc/[/URL] for some reason … |
The End.