199,114 Archived Topics
Remove Filter ![]() | |
i m new to delphi.i have coded in vb,php, c etc..now i have to learn delphi.I was wondering if there are any good websites or books, where I could learn the delphi.. ??? | |
Hi Perl Gurus, I have a text which look like 20 Dec 2010 | Completed | ABC 20 Dec 2010 | Completed | DEF 20 Dec 2010 | Completed | GHI 19 Dec 2010 | Completed | JKL You can see that the file have three columns first column is … | |
hey guys, I have a site where users can upload photos, what i want is when they upload photos, then automatically, my site name should be labeled on image so that when some one download that image a watermark of "mysite.com" is printed on that image. any idea how to … | |
Hello, I was wondering if anyone could help me. At the moment, I have some quizzes on a site which store the result in to a database. there are 6 quizzes in total and the the fields in the database are. Quizresult1, Quizresult2 Quizresult3 Quizresult4 Quizresult5 ,Quizresult6. What I would … | |
Hi, I've just uploaded a very simple web app that uses hibernate via a war file to my webserver: [URL="http://www.colin-java.co.uk/BANK"]http://www.colin-java.co.uk/BANK[/URL] The first couple of times I loaded the page above, it was fine, and it correctly displayed some of the contents of the User (MySQL) table. But now when I … | |
I had a gui set up that displayed menu items a window and some buttons at the bottom. i am having it communicate with an outside program using commands. i recieved a strange error msg after i tried to have it communicate with the other program. I know the gui … | |
I have a problem with the val function it is unable to get the value of a field once I have type text into it, this only occurs when the form is in a jQuery popup box that has a form. According to my inspector, it says that the element … | |
In localhost i am able to upload the file when i tried to upload from the deployed sever i am getting the error [B][B][U]Logon Error unknown user and bad password[/U][/B][/B] | |
hi all ! I am trying to submit a form using javascript but form is not being submitted. Following are the code : [CODE] <html> <head> <script language="javascript"> /***********************Email Validation **************************************/ function echeck(str) { var at="@" var dot="." var lat=str.indexOf(at) var lstr=str.length var ldot=str.indexOf(dot) if (str.indexOf(at)==-1){ alert("Invalid E-mail ID") return … | |
Hi, I am fetching data from the database.but I want to fetch it in proper format on PHP page. Suppose i insert some data like. 1)chair 2)bed 3)sofa n when i fetch it comes like that 1)chair2)bed3)sofa But i want to do in proper format. 1)chair 2)bed 3)sofa Need suggestion? | |
Hi all, I am constructing a program on TCP sockets. The server should be able to accept connections from more than 1 clients. My programs seem working fine when accepting connections. Now the problem is: when I try to terminate one of the client programs, the server program would also … | |
Hi, I am trying to get control of an opened command prompt.Is there any possible way to do that. So that i can directly pass arguments ie commands to command prompt using c# coding. ( I tried using process but only killing the process is working so that already opened … | |
Hello Everybody! My problem is connected to the SQL Server Enterprise Managager. I worked with it for a day testing a database attaching/detaching it and after I closed the Manager the following problem occured. The local database seems to be dissapeared. However, the applications through the network reach it because … | |
This is a simple server/client program. What i'm trying to do is let the server send a message to the client, the client should receive this message and print this message on screen. When i run the program the server prints "Server start" like its supposed to but nothing happens … | |
I have an assignement to use each grouping of code only once and put it into an application. Cut the snips of code from the snips part (ill have that coded at the bottom) and paste in the application based on comments within the application. You dont enter a single … | |
Hello.. I created a executable jar file for my java application.. but there's a problem that the images are not being displayed in application eventhough i included images in jar file along with classes. How to make them displayed from the jar file only instead of accessing them from any … | |
Hi everyone I am trying to display a listbox(list of Column Names selected from a table in database)into a textbox displaying like a CSV file format. Please be notice that I do not want to create a CSV file, as I said I just like to pass items from listbox … | |
[code] <%@Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="EducationInfo.aspx.cs" Inherits="EducationInfo" Title="Qualification"%> <%@Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1"%> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <script language="javascript"> function Delete() { return confirm("Are You Sure You Want To Delete This Record?"); } </script> <aja:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <table cellpadding="0" cellspacing="0"> <tr> <td> <table cellpadding="0" cellspacing="0"> <tr> <td> <asp:ValidationSummary ID="VSError" runat="server" … | |
Hi Guys I have to merge(insert)data from source database into target database(over 600 tables).The good thing is the both source and target tables have exactly same structure and constrains but I have to transfer only data that are not existing in target database/table.Right now I am using this code but … | |
Hello! I am working with an Access Database (Access 2002) that contains a form that is supposed to import a CSV. However, because some of the integers contained in the CSV are too large for Access to handle (regardless of the number format I select for the field), I'm going … | |
Formula field on crystal report of asp.net as hyperlink | |
Using Two Classes, one main class only for calling methods in the second class {Hint: suppose you two classes Like Class A and Class B. Class A has all methods only. Class B only Calling methods} Q1- write a java program to do the following i- method for input array … | |
Hi guys: I am constructing this simply code to read a number of columns in a file, get a number and produce a new file. I am just not certain what is wrong. I used the same standard as an old code of mine so it should work but I … | |
Hi, I have the following applet which works on my localhost server but when I upload it to my online server then the Java console spits out an error saying the following: [CODE] Exception in thread "thread applet-viewer.class-1" java.lang.NoClassDefFoundError: viewer$1 (wrong name: viewer) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at … | |
I am reading from a file, upon certain condition I want to insert rows into a Excel file. This is to be done on a regular basis. The current will be replaced with old one. | |
I'm trying to send an e-mail through a C# program. It works until it sends it, then the operation times out. This is what I have: [CODE]{ try { SmtpClient client = new SmtpClient("smtp.gmail.com"); client.UseDefaultCredentials = false; client.EnableSsl = true; client.Port = 465; client.Credentials = new NetworkCredential("mygmailacc@gmail.com", "mypassword"); MailAddress from … | |
I cannot figure out why my update statement will not work? I figure it has to be something small that Im missing. [CODE] private void button2_Click(object sender, EventArgs e) { string strconn = "SERVER=15.5.7.9;User=sa;password=JFK3G785!340b;Database=addressstagingtable"; SqlConnection conn = new SqlConnection(strconn); conn.Open(); try { SqlCommand cmd = new SqlCommand(); cmd.Connection = conn; … | |
I've been searching this for a little while now and I'm absolutely unable to figure out what the problem is. This is the code I'm having the issue with: [CODE] std::vector<std::string> TexName; TexName.push_back("mega.png"); [/CODE] and I get... error: 'TexName' does not name a type I've included both vector and string … | |
[CODE] #include <iostream> #include <vector> #include <iomanip> using namespace std; class DAI //DynamicArrayInput { public : void getCountry() { cout << "Country : "; cin >> Country; } void putCountry() { cout << Country << endl; } static int putCount() { return count; } private : static int count; char … | |
Dear All, I have a java application which is a listener receiving data from different gps devices. The programme have been working fine. Each time I receive a string it will read process and store into a local database(mysql) and also write into a text file. Off late I notice … | |
Hey Guys, Iam John and a newbie.. Iam building a database to store the business rules in the database. For example the following expression Expression=(a=5 or b>6) and (c<7 or d=0) will be stored in the database as follows: Rule ----------------------------------------- RuleId |LHSCode | Operator | RHSValue ------------------------------------------ R1 a … | |
This is my code to save values in MS access...but when i click on save it shows "INSERT INTO STATEMENT error" Plz som1 help!!!! [CODE]Private Sub save_Click() 'Text4.Text = cmbCustID.Text 'Text3.Text = cmbLocation1.Text 'Text5.Text = cboSize1.Text Dim temp As Integer 'On Error GoTo eror blnerror = False myValidation If blnerror … | |
Hi, I have the problem that the textfile did not appear after I saved it at my document, dekstop and other existing folder or new folder that created by user.Currently, it is only can be saved at C and D. Below is the summary: first:i want to call the value … | |
Hi all, I'm trying to do something simple, but I've been away from writing any code for so long (and I wasn't that good at it to begin with) and I am trying to generate a rectangular arry in excel using a VB macro. For simplification, what I would like … | |
Anyone know if there are methods to alter the properties of files such as "Date Created" or "Date Modified" or even extended attributes such as an image file's "Star Rating" or tags, comments or even the Image ID? I attached some example images of what I am talking about. | |
Hi i have a C# windows form that has two list boxes on it.The left one contains a list of 16 student module codes that are available to enrol onto. The user selects a module from the left to transfer to the right box. I have it working up to … | |
I have a dropdownlist which gets the data from a database table(emptyseats). I select an item (seat) from this dropdownlist and save it in a different table (occupiedseats).After this i want to delete the seat from the first table (emptyseats) to show that it is now occupied. My problem is … | |
Hello , all dear. I was not here for long time. I got project for a tuck shop please suggestion me what type of database i hae yo use MS access,Sal, Orelle or other ease tool? regards, Zeb noon | |
Hi. Im a newb programmer. I m wondering... 1.what exactly is an api. I cant seen to find a clear answer 2. How do i use them in c++ | |
Need help with this java program Write a Java program that maintains a price catalog for a grocery store. Each catalog entry is an object of the class Item defined exactly as shown: public class Item { private int id; private String name; private double price; public Item(int i, String … | |
I know that the programming style is bad/functions NOT being used are terrible... But I cannot escape my professor's methods... Ok. So this program is meant to read a text file containing: Have a good day then we pick a pick a word, and change it, and output it to … | |
Hi i am writing a program to compute the smallest number divisible by each of the numbers 1 to 20. This is what i have so far but it does not cout anything. it just gives me a blank page. Could anyone please help [CODE]#include<iostream.h> #include<math.h> bool div(ull y) { … | |
Hey, so im creating a work example for school and right now i'm working on an "address book" sort of. I have three options the user can select add, view, and delete contacts. I want the "view" option to be able to search for first and last names inside of … | |
Using an appropriate definition of listnode, design a simple linked list class with only two member function and a defult constructor: void add(double x) boolean isMumber(double x) LinkedList(); The add function adds a new node containing x to the front (head) of the list, while the isMember function tests to … | |
I'd like to print preview and print 3 tab pages from a windows form. Below is my code. I was able to get it to work if it's only one tab. but not 3 tab pages. [CODE] Imports System.IO Imports System.Windows.Forms Imports System.Drawing Imports System.Drawing.Printing Public Class Results Dim bmp … | |
I have an issue with my python code and in some cases, users are getting the "IndexError: list index out of range" message. However, I'm not getting the error and it's not happening with every case so it's a bit confusing. I did search the site and found this article … | |
I am workin on eclipse Helios Service Release 2, serser Tomcat 7. When i try to reach test.jst i get error 404, type Status report message /bandymas/view/test.jsp description The requested resource (/bandymas/view/test.jsp) is not available. it is strange becouse i can reach error.jsp in the same directory, using the same … | |
Hey guys, I have a simple problem in javascript that I can't figure out. I am adding a feedburner url into an html page, but need to make it so you can increase the amount of posts you want to see. Ex. The default amount of posts on the page … | |
FYI: I am not asking for anyone to do any work for me. I'm taking a class on Unreal Development Kit and I'm having a problem with differences in versions of the kit. The book we're using for the class has tutorials and code for an older version of UDK … ![]() | |
I'm having troubles with a cin statement in my code and need some guidance. I need my code to refresh an array with completely different ASCII characters, then have the user enter a keystroke and have the refresh speed increase by a few hundred miliseconds every time. Now my C++ … |
The End.