64,152 Solved Topics
Remove Filter ![]() | |
Hey Guys, I am new to PHP and know nothing of java scripts. I have to build a web page where user enters login information at the time of registration. I have taken help of a PHP tool to generate the required scripts. Now in that I have to incorporate … | |
Hi :) I have a question, if you don't mind =] (What is the situation where quadratic probing is better than chaining?) I guess (as I'm thinking) while searching? maybe? because if the Hashtable have a lot of elements in chaining it'll take a lot of time searching the Hashtable … | |
hi, I have a application form in which i want to use exactly the same functionality used as in following link [url]http://my.naukri.com/manager/createacc2.php?othersrcp=5424&wExp=N[/url] I am an asp.net developer.I have no previous exp in javascript.Can any one suggest any method to implement this functionality using asp.net and javascript. | |
I just need some code that will return a string of the name of the current activated window title/name. I've spent almost hours looking for a simple example though... ================================================================ I've seen other people say to hook windows messages and listen for wm_activate, and others... I already have when to … | |
Hi, I wanted to know how do I create the exact polygon(trapezium) in my main form. I've now created a class "PolygonShape" and inside there is this code(this is a shape of a trapezium): [code=c#] protected override void OnPaint(PaintEventArgs pe) { // Create pen. Pen blackPen = new Pen(Color.Black, 3); … | |
Hi Im really in need of some help here. I'm doing a website for a sports team and have nearly finished it. However the last thing i need to do is create a slideshow (very fancy) at the top of each page. I know it sounds mad a slideshow at … | |
Hey all! I've been struggling with a problem for a week now, and it seems that I'm stuck. PROBLEM ONE: I'm trying to make a "Dynamic" Combobox? Well, I'm trying to read in an XML file, and based on the number of Nodes in that file, i wish to create … | |
Is it possible to send something like, a Frame or Applet to a target computer? If not, how would I set it up so that two users from two different computers could interact with the same JFrame or JApplet? Edit: No I'm not asking for code, just general advice* | |
I am using Visual C++ version 6. I need to know how to add a .lib file to a project. I want to add it as a static lib file. | |
I found: IDLE 1.2.2 >>> x = 157.73 >>> r = x * 100. >>> int(r) 15772 Can I convert more precise? | |
In vs2005 there is a winsock component, how do you receive data using the component? I found a ->SendData(blah), but cant find a receive. Does anyone know how to receive with this component? Thanks. | |
Hello I seem to be having a problem, I have this query that pulls back correct results [CODE]SELECT hourStamp, SUM(CASE WHEN datestamp < GETDATE() THEN 1 ELSE 0 END) / @numberofdays as HourAverage, SUM(CASE WHEN dateStamp BETWEEN DATEADD(d,DATEDIFF(d,0,GETDATE()),0) AND GETDATE() THEN 1 ELSE 0 END) as HourToday FROM webstats GROUP … | |
Hi my friends, how do you do? I hope everything is alright.. :) Please may I have a few mins. from your time? It'll be much more appreciated :) I have this question (Write a member function to check whether two singly linked lists have the same contents.) anyone can … | |
In javascript we can swap only jpg images? Then what about the gif images. Please help me. By answering my first post so the second post will be solved automatically. | |
I've designed a PHP based chat using mysql tables for database storage, but the obvious problem is that PHP has no obvious way to control the browser like JS does. I'm wondering, are there functions hidden in the depths of PHP which can do generally what JS can do? The … | |
Hi, I want to know if it is possible for Internet Explorer to detect any action on the "Print Screen" key. The website needs its content to be secured as much as possible. The clipboard is being cleared for every fraction of a second, until this web-application is closed. There … | |
i need help..... i need to write a SHORT java program that takes two arrays a and b of length n storing int values, and returns the dot product of a and b. | |
Hi, I need to get event handler's argument in Firefox3 - but it does not have any global 'event' variable like IE nor it passes an argument to the handler. How do I get this argument then??? [CODE=JAVASCRIPT] function doSomething(e) { if(!e) var e = event; //for IE alert(e); //It … | |
Hi, I have bought [U]Programming Windows Fifth Edition[/U] by Charles Petzold. I was wondering if there are any differences between the Win32 API talked about in this book and the one that applies to Vista or anything newer than Windows 2000. Also, my book didn't come with the CD (I … | |
Hi, I have been making a macro building program. I am trying to handle mouse events right now. I have made a program that hooks the mouse, then puts information into a text file which is then read by another program. The recorder writes the delay in milliseconds, so the … | |
This is the scrip, is working perfectly on IE but not on Firefox, can anybody help please, THX [code=JavaScript]<script type="text/javascript"> <!-- var sw_interval; var sw_x = 10; var sw_dx = 0; var sw_t = 10; var sw_cursor = 1; var sw_v; var sw_w; var sw_numItems; var sw_first; var sw_last; var … | |
Hi, Information is being listed from middle of the page, not the begining of the page. Why? Thanks [code] <html> <head></head> <body> <Table border="2px" > <tr> <td>ID</td><td>Name</td><td>Surname</td> </tr> <?php $mysqli = new mysqli("localhost","root","","dbf"); if (mysqli_connect_errno()) { printf ("Connection failed : %s\n", mysqli_connect_error()); exit(); } else { $sql = "SELECT id, … | |
hi, i have the following structure in the "simple application": application_folder | |--makefile | +-headers | | | +----func.h | | +src | | | +------ func.c | +------ main.c | | and here are the contents of the files: *func.h [code=c] float hey(float a, float b); [/code] *func.c [code=c] … | |
So i have this app that i wrote to get the permissions on a directory and it works fine for small directories. however when i use it on a huge server it freezes when it compiles the file. i know the program is running but windows gets pissy because it … | |
:?: can anyone tell me where the error is? [code=cpp] #include<iostream.h> #include<conio.h> void main() { clrscr(); void zero_small(int &,int &); int a,b; cout<<"\n\n\n\tEnter the first no "; cin>>a; cout<< "\n\n\n\tEnter the second no "; cin>>b; zero_small(a,b); cout<<"\n\n\n\tValue of the first no is "<<a; cout<<"\n\n\n\tValue of the second no is "<<b; … | |
[code] Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in config.php on line 60 [/code] I have checked a previous thread and they said it was due to the '' in the select statement. But I dont think this is the case here. All I did was … | |
This is a program i made..but i wanted it to arrnge the total in decreasing order showin the highest scorer 1st....what more should i do 4 that in this program....??? [code=cplusplus] #include<iostream.h> #include<conio.h> void main() { int n; const int limit=50; int rollno[limit]; int maths[limit],english[limit],science[limit],social[limit],hindi[limit]; int Total[limit]; char Grade[limit]; int … | |
I have just begun to learn python, so my question is probably silly. Just for practice I want to write a function which calculates the first n primes. prime computes some prime numbers and keeps them in a list. Then tries another number and if it's not even divisible by … | |
hello... Can any one please help me out? I want an image gallery script, where the images are displayed as thumbnails from many subfolders created dynamically and not from database... Thanks in Advance... | |
This is not a problem but a question. I am new to VB and am curious as to the "Gestalt" (temper of the times) on this in terms of general practice. I come from an AS/400 (green screen) and also Clarion for Windows background. Generally, when I offer the user … | |
VB2008.I have a form which has a textbox and a button on it. the button shows another form, which has a listbox bound to a datasource on it. When the user selects a list item, i have code that sets the value of the textbox on form 1 to the … | |
I am doing some self-made exercises lately to practice my C skills. One of them is something like this: Given a file with something like: "Peter Wilson the swordsman". I want to store "Peter Wilson" in the char array "name" and "swordsman" in char array "title". So far I've tried … | |
hi there, can someone help me how to write a recursive function that takes the number to the power. Thus, if the number is 2 and the power is 4, the function will return 16. I'm looking forward for anyone to help me with this my problem. I try to … ![]() | |
help for this... want to set an attribute of file. 4 status Hidden, archive, system, read only. thank you all... Best Regards Neji | |
Hi Guys, i need help...can any body know what component name for using table like this... thanks for help. | |
I am wondering how one would append additional memory to the end of a pointer that already has memory allocated? For example, if I do something like this... [code=c++] int *intPtr = new int[5]; // pointer can be assigned 5 values of type int // Now I want to add … | |
i want to make a hotkeys app ... i need to detect keystrokes even if the form is not active so that by pressing a button i can launh the calculator.... or games and stuff like that... any ideas ? Thank you | |
If you read anything from my last question you know I am working on a dice roller and I am on to the next step. Stage one was just trying to figure out how to get a random, and I finally got the to work. I can now roll and … | |
Hey, I googled it and found TONS of pages, but most are for linux/C#/VB and I can't seem to get any C++ code for this X_X. I did a search on the forum, and couldn't find anything either... Anyway, I would like to have my program "ping" a host name … | |
Hello! I am trying to make a program for string compression using LZ compression techniques, but the program is at the beggining - I fail to realise what goes wrong, but I think it is a problem with string operations. [code=C] #include <stdio.h> #include <conio.h> typedef struct comp { char … | |
hi i wanna start programing with python just wondering if any one knew any sites which has python source code? would appreciate any help :) | |
Hello, I have done this successfully in firefox, but I need to do this in IE now, I want to dynamically generate an id for my input elements for an element being created. So far I can't get the id to come out correctly, here is what I have: [CODE] … | |
[CODE] public class test { public static void main(String [] args) { Person p = new Person("ABC"); p.setName("DEF"); changePerson(p); System.out.println(p.getName()); } public static void changePerson(Person p) { p.setName("GHI"); p = new Person("JKL"); p.setName("MNO"); System.out.println(p.getName()); } } class Person { String name; Person(String name) { this.name=name; } public void setName(String n) … | |
are there any good (comprehensive) tutorials that anyone knows of for the SAX parser? i cannot find a good one | |
Hi, just a quick question but I couldn't find an answer to it. Say I have 3 variables, "a", "b", and "c". I want to assign each one a value of None. The only way I know of doing this is: a, b, c = None, None, None Is there … | |
I am trying to build a random number generator based on dice. Yes, I know there are ones out there but I am trying to do this whole programming thing for myself... I thought I had done it right but it keeps telling me "Warning: Division by zero" when I … | |
![]() | Hi i want to be able to open a python program on someone's computer but they don't have python installed and they don't have room to install it. how could i 'compile it' if that is the correct word, so that it can be opened as an exe file? |
Hi...I'm Zozel...I am trying to make a program and to use the cleardevice() function to clear screen...but I'm not satisfied of this function...calling it, it flashes the screen...it "blinks" my whole screen.....how could I avoid this flash?...please help!...I appreciate any answer ...:) | |
I am using asp.net 3.5 and a sql server database. My host is godaddy. I was able to login before I deployed my website but now I am just getting the failure text of the login control. Can someone please help me? | |
When an Access database is being updated and an apostrophy ' is embedded in a user input string, (txtArray[0].Text here), the query fails. I am using OLEDB. I am hoping I do not have to parse each user input searching for single quotes and probably other naughties like ". I … |
The End.