199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for codedhands

Hello,i am developing an indexer that indexes html pages.My problem lies in the aspect of creating a global index of all the stored pages in the reprository.I need a method that will be suitable for quick retrieval and insertion of new data.I have tried using STL MAP but i do …

Member Avatar for codedhands
0
147
Member Avatar for coud_ren_26

Actually these is not just printing text. It somehow involves logic but I keep on thinking these for almost a week. First I printed a price list then I want also to print the receipt. What can I put to eliminate the price list and then print the receipt. But …

Member Avatar for BestJewSinceJC
0
98
Member Avatar for minyax_mu

helo..i have a problem with my system.. i have try many time and i cannot solve the problem..here is my question Use one dimensional array to solve the following problem: A company pays its salesperson on a commission basis. The salesperson receives RM200 per week, plus 9% of their gross …

Member Avatar for minyax_mu
0
109
Member Avatar for stvrich

Hello This is a completely foreign thing to me, so, forgive my "Noob-ness" I'm so embarassed. You programmers out there are prob gonna say, "how much easier can we MAKE it for you?" I just installed the python gui on vista. (I will re-install it on THIS xp machine also …

Member Avatar for stvrich
0
240
Member Avatar for darangho

Hi all I just have questions about how not to show messages after you execute a certain command. for example whenever you execute "which xxx" there will always be a message on the terminal saying its path or command not found will be written. is that possible to write a …

Member Avatar for sknake
0
144
Member Avatar for Muaz AL-Jarhi

Hello, Im new to programming with openCV. I gotta do some geometrical transformations on an image, like translation,rotation, scaling, etc... I still dnt know how transformations are done in opencv. I looked in a cv refenrence manual and found a couple of functions many on resizing and rotation. I tried …

Member Avatar for hemant_chawla89
0
158
Member Avatar for nolesce

I had an issue getting data beck from a popup form and was assisted with a solution from Stevoni (thanks again). It has led to another problem however. In trying to send data to the popup I have over loaded the constructor to get the new data across. It appears …

Member Avatar for Stevoni
0
104
Member Avatar for xellos

isnt it an good idea to make an sticky where everyone can post, simple examples? or mini tuts to get peaple started with asm? like this an masm example: [CODE=assembly].model small .stack .data .code main proc mov ah,1 ; dos int 21 interupt ah =1 to int 21h ; get …

Member Avatar for Nathan Campos
0
124
Member Avatar for aj07

[CODE=C]#include <stdio.h> #include <math.h> #include <string.h> #define N 100 void exit(); int main() { int n,n1,n2,bin[100],i,j; printf("Enter Decimal: \t\t"); scanf("%d",&n); n=n; n1=n; n2=n; printf("\nEquivalent Binary:\t",n); for(i=0;n!=0;i++) { bin[i]=n%2; n=n/2; } for(j=i-1;j>=0;j--) { printf("%d",bin[j]); } printf("\nEquivalent Octal:\t",n1); int r[10]; for(i=0;n1!=0;i++) { r[i]=n1%8; n1=n1/8; } i--; for(;i>=0;i--) { printf("%d",r[i]); } printf("\nEquivalent Hex: …

Member Avatar for Nathan Campos
0
99
Member Avatar for gretty

Hello I have just learnt recursion & I thought I would try & alter some of my previous funtions to make them recursive, well the 1st function I try to alter totally stumps me & I thought I understood recursion :P Is it possible to make this function recursive? [code] …

Member Avatar for Tom Gunn
0
119
Member Avatar for homeryansta

I've been working on this for hours! the code makes perfect sense, but wont' work!!! aaah! about to pull my hair out. the code is suppose to do get the sum of this 1/1 + 1/2 + ..... + 1/n I blocked all the codes and just print out the …

Member Avatar for Nathan Campos
0
112
Member Avatar for kernel>panic

I want to know how to seek to a point in a file. Example I have a database program with a text file named "info.txt" There are two lines in it: Password = user makes password Activated = true/false How do I make the program find if they have activated …

Member Avatar for kernel>panic
0
184
Member Avatar for san_crazy

just like in C, format specifiers are used in both printf(), and scanf() functions. in this C# statement Console.WriteLine("{0}, {1}", intValue, longValue); what does it mean by {0},{1}? are these format specifiers? regards san

Member Avatar for papanyquiL
0
102
Member Avatar for turbomen

Dear All, Could you mind telling me how to code with the card game? It has 52 cards and it comes together with Spade, Heart, Club and Diamond. There are 2 people play together for 8 times, after it, we will get the result of it. Cheers,

Member Avatar for FlamingClaw
0
106
Member Avatar for homeryansta

how do you do a square root in MIPS? I have to write a program to find the hypotenuse of a right triangle and I'm stuck on this part. Please help.

Member Avatar for wildgoose
0
2K
Member Avatar for VBNick

I posted yesterday with some questions about making a mouse utility to replace the double click with a single keystroke. I finally put it all together, and came up with this DLL: [code="cplusplus"] #include "stdafx.h" #include <windows.h> #include <stdio.h> HHOOK hook = 0; bool quit = false; LRESULT CALLBACK ClickProc(int …

Member Avatar for VBNick
0
146
Member Avatar for Steammike

Hi expert, i facing a problem when i try to connect to database by using vb.net below is my code: Imports System.Data Imports System.Data.OleDb Public Class Form1 Dim dSet As New DataSet Dim da As OleDb.OleDbDataAdapter Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim User, …

Member Avatar for Steammike
0
331
Member Avatar for rinque

As mentioned in the title. I wrote a script that has pretty long execution time. Some user just close the window half way and in the end cause some file corrupted. Is there any way to prevent the user closing the window? (Like turn the 'x' button of the window …

Member Avatar for rashshell
0
148
Member Avatar for SQL_n00b

I have been reading up quite a bit on the topic of Stored Procedures (SPs) and keep coming across contradicting opinions from various 'SQL experts' on whether or not they should be used. Sometimes it's a downright 'No' ([I]Frans Bouma's[/I] Blog for example -- google the term for the article), …

Member Avatar for SQL_n00b
0
193
Member Avatar for mrcniceguy

I`ve finished my website,its a social netwrk web in PHP. Now before i lunch it,i would like to know what are the precautions i should take to protect it from hackers. please if any one has idea on what i should do,to protect mysql,and my site as a whole.i will …

Member Avatar for mrcniceguy
0
299
Member Avatar for TheWhite

I'm trying to make an app that will memorize 1 point on the screen and continuously click that point (running on a timer) until it is manually stopped. I've noticed that the mouse functions require you to be "inside" a component for it to recognize the mouse position or do …

Member Avatar for TheWhite
0
103
Member Avatar for mahela007

Hi.. I'm just curious as to how one would set about writing some python code to monitor the network usage in one session... The program should simply record how much data has been downloaded from the time the computer is switched on to the time it was switched off. What …

Member Avatar for willygstyle
0
3K
Member Avatar for anuj_sharma
Member Avatar for GRaymer
0
101
Member Avatar for sab786

hi all, i still cant get myself out in my previous thread i wrote that i wanted to carry out a random sample function on an entire file.. now what i wish to do is read a file use a dictionary to search lines and then get this lines and …

Member Avatar for willygstyle
0
148
Member Avatar for acidleaf

I am currently working on a school assignment which requires us to read and write two kind of derived objects into a file, but i cant seem to read them in correctly once i have saved them into a .dat file. here's what i have got so far: the base …

Member Avatar for acidleaf
0
217
Member Avatar for usmanbssi

i am using a PHP file to first connect to my database and then make a table in that database. i am able to connect to the database fine but i can not create a table, it keeps on saying: Warning: mysql_query() [function.mysql-query]: Access denied for user 'SYSTEM'@'localhost' (using password: …

Member Avatar for nav33n
0
168
Member Avatar for mahela007
Member Avatar for ichigoSJ

Hi guys i have recently begun exploring encryption and came across XOR though i have attempted to understand it and implement it in reading files and then encrypting it but i cannot understand the decryption process of it at all and keep getting confused [code]srand(time(NULL)); for(index=0;index<MAX;index++) { Matrix[index]=rand()%63000000; KeyFile1<<Matrix[index]<<endl; } …

Member Avatar for tux4life
0
114
Member Avatar for raavi.munaf

[CODE] Dim Friends(0 To 10) As String Private Sub Command1_Click() If Friends([COLOR="Red"]any[/COLOR]) = text1.text Then '[COLOR="Green"](what should I put here instead of [COLOR="Red"]any[/COLOR]?)[/COLOR] MsgBox "You already have " & text1.text " in the list else end if End Sub [/CODE] In above code I have an empty array of 10 …

Member Avatar for raavi.munaf
0
131
Member Avatar for xfreebornx

You are required to develop a system to record details of student. This system should be implemented using structure and array. You are required to develop a structure which contains student details such as Student ID, Student Name, Nationality and Gender. You are also required to create a system which …

Member Avatar for xfreebornx
0
289
Member Avatar for penepepe

hi all i'm trying to send an email with an attachment from a form and i've found a few scripts on the internet but can't make them work. has anyone got any simple code that works for sure? and another question: is the attachment sent directly or it has to …

Member Avatar for slyme
0
356
Member Avatar for abu taher

In my access file I write code in query [CODE]SELECT AccountInfo.incategory, Sum(AccountInfo.InAmount) AS TotalAmount FROM AccountInfo WHERE (((AccountInfo.Date)>=#1/1/2009# And (AccountInfo.Date)<=#12/31/2009#)) GROUP BY AccountInfo.incategory; [/CODE] It show the total amount between 01-01-09 to 31-12-09 and it show in report. but in vb6 I want I select this two date and the …

Member Avatar for vb5prgrmr
0
215
Member Avatar for ice_cool

This is a mini-paint program which uses class Point. It is very basic and allows a line to be drawn, then altered by its size and color. The issue that I am having is when I change color or size, all of the previous lines change with it? [CODE] import …

Member Avatar for padtes
0
93
Member Avatar for pluring

Hi! I don't remember where but i found this download function (geturl) that works great if i just send one url to the function. But as you can see i want to execute geturl() for each line in url.txt witch contains url:s. It still downloads but instead of a progressbar …

Member Avatar for pluring
0
140
Member Avatar for gaya123

[code=html]<html><head> <script language="JavaScript"> function update() { confirm("Are you sure?(Yes/No)"); document.forms[0].submit(); } </script></head> <body> <form name="form1" method="post" action="controller/servlet"> <input type="submit" name="event" value="Add"> <input type="button" name="event" value="Update" onClick="update();"> </form> </body> </html>[/code] here, on the click of both buttons "Add" and "Update",the control should go to the servlet.While clicking Update, the script runs …

Member Avatar for javaAddict
0
74
Member Avatar for BlkR

Hi guys, Currently I am updating a listview with data in it via clicking on the selected row and displaying that row data onto textboxes and then updating it. What the data has is ID number follow name and QTY. What I want to add to this function is to …

Member Avatar for samir_ibrahim
0
5K
Member Avatar for greeny_1984

Hi everone, i have a table containing employees in and out dates of a project containing sat and sun.i want to remove sat and sun and display results.how to achieve this.

Member Avatar for timothybard
0
94
Member Avatar for coud_ren_26

I am doing a Java project for cash registry. I cant italicize or bold a text. Can someone help me.

Member Avatar for JamesCherrill
0
47
Member Avatar for atplerry

1.) I have problem uploading file. it work sometime and in the other hand will not work give and error that cannot find the path 'c:/upload/' 2.) i want to upload video file i could not upload video file please could anyone help me with VB.Net coding to upload video …

Member Avatar for saj_amo
0
129
Member Avatar for aflneto

Hi I'm trying to write a simple version of the tail program in linux, but I keep getting a seg fault when I run the program. I wrote a simpler version but with fixed number of lines to print and using [code] char lines[10][100]; [/code] instead of [code] char **lines; …

Member Avatar for aflneto
0
70
Member Avatar for danielpataki

Hi Everyone! The title pretty much explains it all! I have a variable which holds the site's root url, but to make it work online and offline on my xampp, I need to make some differences. When the end variable is output, there are two "intermsediary" ones I used to …

Member Avatar for cwarn23
0
169
Member Avatar for coollife
Member Avatar for SgtMash

Hi guys. I'm trying to validate some code, but getting ID already defined errors...which I 'm expecting as the code loops through a record set and re-uses the DIV id. The question is how would you get round this? I thought about adding a simple variable +1 to the ID …

Member Avatar for SgtMash
0
77
Member Avatar for jp071

Hello, I Could not Display data from Serial port. Please check my code and help me how to display data from serial port. The error is "error C3861: 'ProcessChar': identifier not found". I understood, it need to write some code for ProcessChar function to access data. could anybody help me …

Member Avatar for Nick Evan
0
333
Member Avatar for seangdy

Here is my code: <title>Hanuman Database</title> <div align="center"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="10"><img src="../images/bg_up_exp_left.GIF" width="20" height="20" /></td> <td width="722" background="../images/bg_up_experience.gif">&nbsp;</td> <td width="10"><img src="../images/bg_up_exp_right.gif" width="20" height="20" /></td> </tr> <tr> <td background="../images/left_bg.gif">&nbsp;</td> <td><table width="758" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="../images/logo_1.jpg" width="96" height="122" /></td> </tr> <tr> <td><?php [B]session_start();[/B] echo "Global …

Member Avatar for seangdy
0
84
Member Avatar for senthilkumar.ns

Hi All, i using Hibernate to develop a project for my company, i getting jvm out memory error often, every 5 refresh. please help me to find out what is causing this. Thanks

Member Avatar for quuba
0
47
Member Avatar for penfold33

Hi I need to generate a CSV of names and address from a table and I would like only one result (it doesn't matter which) per distinct email address. If possible, they also need to be ordered by DateAdded descending so I can select just the most recent 1000 results. …

Member Avatar for penfold33
0
282
Member Avatar for avirag

hi i m making a window application in C# .net. can anyone tell me how can i use search engine in window application?

Member Avatar for sknake
0
742
Member Avatar for nicholasamh

Hi, i am using visual studio 2008, C++ MFC to do my program. I am doing serial communication. I have a GUI C++ program. At the beginning, i will ask user to choose the com port then connect it. After that, i will need to let the user change the …

0
86
Member Avatar for stoymigo

Hi, what is good source code management system for .net developers. Our scenario is that we're 4 developers , working on pcs that are on a network that we don't control. Some network drives get cleared every night !! Is there way that a Master software app(on one dev's machine) …

Member Avatar for sknake
0
102

The End.