64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for gargg321

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 …

Member Avatar for gargg321
0
169
Member Avatar for Q8iEnG

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 …

Member Avatar for Q8iEnG
0
117
Member Avatar for greeny_1984

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.

Member Avatar for greeny_1984
0
194
Member Avatar for Shadow14l

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 …

Member Avatar for Shadow14l
1
16K
Member Avatar for karhong

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); …

Member Avatar for karhong
0
93
Member Avatar for Designer_101

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 …

Member Avatar for buddylee17
0
92
Member Avatar for AllanJP

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 …

Member Avatar for AllanJP
0
196
Member Avatar for Alex Edwards

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*

Member Avatar for Alex Edwards
0
144
Member Avatar for guy40az

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.

Member Avatar for guy40az
0
132
Member Avatar for R.V.

I found: IDLE 1.2.2 >>> x = 157.73 >>> r = x * 100. >>> int(r) 15772 Can I convert more precise?

Member Avatar for R.V.
0
155
Member Avatar for Nemoticchigga

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.

0
55
Member Avatar for bartbauldry

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 …

Member Avatar for bartbauldry
0
191
Member Avatar for Q8iEnG

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 …

Member Avatar for Q8iEnG
0
158
Member Avatar for ghostrecog

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.

Member Avatar for ghostrecog
0
108
Member Avatar for Alexandre Lark

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 …

Member Avatar for somedude3488
0
300
Member Avatar for clhari

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 …

Member Avatar for Troy III
0
1K
Member Avatar for arLe20

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.

Member Avatar for javaAddict
0
128
Member Avatar for edek

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 …

Member Avatar for Troy III
0
106
Member Avatar for TheBeast32

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 …

Member Avatar for TheBeast32
0
87
Member Avatar for TheBeast32

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 …

Member Avatar for TheBeast32
0
344
Member Avatar for fifufifu

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 …

Member Avatar for Troy III
0
180
Member Avatar for veledrom

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, …

Member Avatar for veledrom
0
93
Member Avatar for n.aggel

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] …

Member Avatar for n.aggel
0
165
Member Avatar for nschessnerd

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 …

Member Avatar for nschessnerd
0
89
Member Avatar for anuizath2007

:?: 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; …

Member Avatar for anuizath2007
0
89
Member Avatar for OmniX

[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 …

Member Avatar for nav33n
0
418
Member Avatar for anuizath2007

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 …

Member Avatar for anuizath2007
0
113
Member Avatar for myle

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 …

Member Avatar for myle
0
141
Member Avatar for Shanti C

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...

Member Avatar for tanha
0
527
Member Avatar for Bill Purkins

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 …

0
66
Member Avatar for Bill Purkins

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 …

Member Avatar for Bill Purkins
0
95
Member Avatar for Crushyerbones

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 …

Member Avatar for Crushyerbones
0
98
Member Avatar for rahye

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 …

Member Avatar for iamthwee
0
289
Member Avatar for Neji

help for this... want to set an attribute of file. 4 status Hidden, archive, system, read only. thank you all... Best Regards Neji

Member Avatar for RockyRhodes
2
198
Member Avatar for ochien

Hi Guys, i need help...can any body know what component name for using table like this... thanks for help.

Member Avatar for ochien
0
121
Member Avatar for Alex Edwards

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 …

Member Avatar for Narue
0
141
Member Avatar for Dell XPS

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

Member Avatar for Dell XPS
0
252
Member Avatar for Orbit2007

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 …

Member Avatar for johnsquibb
0
145
Member Avatar for fmwyso

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 …

Member Avatar for Ancient Dragon
0
222
Member Avatar for soultrav

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 …

Member Avatar for Narue
0
149
Member Avatar for tommy1988

hi i wanna start programing with python just wondering if any one knew any sites which has python source code? would appreciate any help :)

Member Avatar for AKarnisky
0
216
Member Avatar for adaykin

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] …

Member Avatar for adaykin
0
157
Member Avatar for javax_

[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) …

Member Avatar for javax_
0
131
Member Avatar for sciwizeh

are there any good (comprehensive) tutorials that anyone knows of for the SAX parser? i cannot find a good one

Member Avatar for sciwizeh
0
83
Member Avatar for shadwickman

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 …

Member Avatar for shadwickman
0
122
Member Avatar for Orbit2007

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 …

Member Avatar for Orbit2007
0
132
Member Avatar for leegeorg07

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?

Member Avatar for vegaseat
0
109
Member Avatar for Zozel

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 ...:)

Member Avatar for Zozel
0
3K
Member Avatar for WhYuLoOkIn

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?

Member Avatar for senol01
0
155
Member Avatar for KJBB

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 …

Member Avatar for KJBB
0
119

The End.