199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for coolsasuke

Hello friends, i am making an internet cafe progra,. And i need some help . Well, I was wondering if it is possble for this ; when a time is counting down for the customer , and the customer wants to top his/her account with more time , my cafe …

Member Avatar for codeorder
0
258
Member Avatar for shrutipopat

i am making paint in c#.when i am drawing a rectangle by the below code then it is working: [CODE] namespace deniweb2 { public partial class Form1 : Form { Rectangle rect; List<Rectangle> therectangles = new List<Rectangle>(); public Form1() { InitializeComponent(); this.Cursor = System.Windows.Forms.Cursors.Cross; this.DoubleBuffered = true; } private void …

Member Avatar for nick.crane
0
117
Member Avatar for seamus400

I was wondering if anyone could help me compile code which will actually work for my comiler. I've found many examples and two good references for... keyboard [url]http://www.codeproject.com/KB/system/keyboard.aspx[/url] and mouse [url]http://msdn.microsoft.com/en-us/library/ms646260[/url] ...but have never actually gotten a working version to run and therefore haven't been able to fiddle around with …

Member Avatar for seamus400
0
1K
Member Avatar for xxxferraxxx

Hello, I need to know how do i locate a form window on custom location at the desktop: At application start. EX: Screen: [url]http://img707.imageshack.us/img707/5653/56465ytyt.png[/url] Other question: is there any idea to solve the design bugs on other Pcs? P.S Im so newbie at VB.NET x)

Member Avatar for xxxferraxxx
0
435
Member Avatar for asitmahato
Member Avatar for Schol-R-LEA
0
233
Member Avatar for jacksantho

Hi, If i turned OFF in php.ini file magic_quotes_gpc = Off; my code is working finely, when by using unserialize. Problem here: If i turned ON in php.ini file magic_quotes_gpc = On; [CODE] echo "<br>"; echo "<table>"; echo "<tr><td><b>confirm</b></td><td><a href='test.php?cname=confirm&cid=".base64_encode($id)."&code=".base64_encode($pcode)."&pname=".serialize($name)."'>Confirm</a></td>"; echo "</table>"; [/CODE] ($name is an array).Not unserialised--problem here [CODE] …

Member Avatar for diafol
0
281
Member Avatar for stinkypete

I am trying to write a multi-window text editor. I have a Page Control containing 20 pages, and each page (tab sheet) contains an instance of my editor. Which works mostly ok, except I sometimes get weird results when painting my editor window. The attached code is a greatly cut-down …

Member Avatar for stinkypete
0
247
Member Avatar for Coffee_Table

I am trying to run what i thought was a pretty basic program to solve a problem concerning strings (besides the point). It turns out that my algorithm works properly but i am stuck on a detail; the following segment of code is the problem: [CODE] int cases; string line; …

Member Avatar for Coffee_Table
0
600
Member Avatar for rakwel10

Hi! I have this code that adds field when the user hit the "add new field" button. The problem here is, once you added an input field, then fill it out, then add a new field again, the info in the first field be erased. As how the code runs, …

0
121
Member Avatar for chandnigandhi
Member Avatar for chandnigandhi
0
125
Member Avatar for Danielle87

I am trying to search for a word or multiple words out of the given text. How could i assign different words to each principles so if the word searched for is amongst the assigned text that particular paragraph will be triggered. Any help will be greatly appriciated. Thank you. …

Member Avatar for TrustyTony
0
144
Member Avatar for Majestics

Its providing me error................................ [code] insert into products_information values(1,to_timestamp(current_timestamp,'DD-MON-YYYY HH24:MI:SS'),1200,10,1000,12,1100,10) / ERROR: date format picture end before converting entire input string.... [/code] This is making me nuts... Please Help a bit....

Member Avatar for debasisdas
0
152
Member Avatar for tommygee100

Hi All, I'm Trying to solve this puzzle for my script: Let's say we have 3 lists, A,B and C with the following elements 'A' = [5,3,1] 'B' = [6,5,2] 'C' = [2,0,-2] I want to go through all 27 combination sequentially, looking for a combination that is 'valid' AND …

Member Avatar for TrustyTony
0
352
Member Avatar for hondros

I posted a while back ago on making directx work in classes. I'm having more issues now. On line 125 (system.cpp), when in debugging, it tells me that it has an access violation. I googled the issue, and someone had said something about initializing the pointer, but that is taken …

Member Avatar for hondros
0
197
Member Avatar for bsb_12

An hourly employee is paid at a rate of 125 per hour,from the workers gross pay,12% withheld for income tax,and 15 withheld for union dues. If the worker has 2 of more dependents additional 120 for health insurance. Write a java program that will input the total deduction,basic salary,gross pay …

Member Avatar for NormR1
0
287
Member Avatar for cgull

Hello, Does anyone know how can I setup an email server on my local machine, with google or my host's server? Or do you know of any site that explains how to do that? Thanks

Member Avatar for cgull
0
88
Member Avatar for raghamayee

I recently attended an interview in which i have been asked this question. " A person is sending a gmail to another person. now u have to explain the process that will happen along with the network layers and where in the system these layer functionalities are implemented" eg: application …

Member Avatar for Netcode
0
117
Member Avatar for amrita111

Whats the use of super keys and candidate keys when primary key can handle the entire thing in database?????

Member Avatar for Netcode
0
92
Member Avatar for kheijhei

hi there, can anyone please help me how to insert, search and delete a picture in vb.net and Microsoft access 2007? A picture that will be store in access is inserted in a form or a picture box. But it seems i have the wrong codes.. and when i click …

Member Avatar for Netcode
0
159
Member Avatar for jenberden

Hello! i would like to ask some codes in voting system using php, can select and determine the winner. Thank you...

Member Avatar for pritaeas
0
118
Member Avatar for king_saqib
Member Avatar for Coco Chanel
0
73
Member Avatar for Nahiyan

Hello, I am experiencing a problem with running javascript code when ajax calls a file. I have a file named 'index.php' which simply loads some comments by using the file 'comment.inc.php' and run some javascript code to change the id of some div. I don't know how to let the …

Member Avatar for Nahiyan
0
519
Member Avatar for anonymousi

i wanted know the vb.net code that checks the password strength on the basis of length ,special characters ,both combined ,numeric,alpha-numeric.... >>contents of form may include: >textbox for password >label or progress bar or trackbar to tell the user the strength(good ,very >good,excellent,poor) >button to execute commands...

Member Avatar for Netcode
0
4K
Member Avatar for suemaina

Hi pliz assist me, I need a code that can allow the login form to search for pin number stored in another form example when a customer enters the pin number and clicks ok button the login form searches if the pin number exists in the bank details form ..thanx …

Member Avatar for Netcode
0
204
Member Avatar for Labdabeta

Really quick question (I hope) before I buy Maya I want to know if it has the option of exporting coordinates for triangle vertexes rather than images. If it doesn't, is there software that would allow for modeling while exporting vertexes for 3d triangles?

Member Avatar for jwenting
0
156
Member Avatar for kheijhei

guys, when you log in a username and a password a msgbox will show that you are log in, and then when you enter the same username and password, the program will identify that the username and password is log out. no button will be use in here. what code …

Member Avatar for Netcode
0
288
Member Avatar for Hajira Khanum

i have tried to write a code, but i have a problem with the play() module where the message "one Row Completed" is not being displayed. Please help me with this:icon_confused: [CODE=c++]#include<iostream.h> #include<conio.h> #include<stdlib.h> class bingo { public:int a[5][5]; void input(); void check(); void play(); void comp(); }; void bingo::input()//input …

Member Avatar for tajendra
0
244
Member Avatar for Rupindersingh

Following code when executed, prints out a smiling face (ASCII equivalent of integer 2), but when the format specifier in printf is changed from %c to %d, it does not print integer 2. Any reasons why.... [CODE]main() { int i; int *c; char b[10]={1,2,3,4,5,6,7,8,9,0 }; c=&b[1]; printf("\n%c",*c); }[/CODE]

Member Avatar for Ancient Dragon
0
117
Member Avatar for maddocspace

Hello there, Sorry, unfortunately python parsing is not my main activity, it does not print the last block of the statement. i should get: *elset, elset=top_s1 1, 2, 3, 4 *surface, name=top, type=element top_s1 If i add in the test2 file a line such as *surface, name=bot, type=element then it …

Member Avatar for maddocspace
0
216
Member Avatar for narendra_kuma

[CODE]#include <iostream> #include "stdlib.h" using namespace std; struct var{ int a; int b; int result; }; void adD(var&); int main() { int a; int b; cout<<"please ente the value a ==== "<<endl; cin>>a; cout<<"please ente the value b ==== "<<endl; cin>>b; var v1; adD(v1); system("cls"); cout<<"the value of result == …

Member Avatar for tajendra
0
104
Member Avatar for rajhans

Hi, I am facing problem regarding the element wise comparison of two strings and finding the difference of two Strings where one sting is not sub string of other. More than that Strings are of different length. Let String 1= "1 2 3 4 5" String 2="3 4 5 6 …

Member Avatar for rajhans
0
136
Member Avatar for to.areeb

I have htmltable which dynamically generated. I want to print this table. which consist lot of pages. when I used window.print() its printing into 7, 8 pages. but my problem is I need Header and footer on each page (A4 size). how can Set header and footer to each page. …

Member Avatar for Alfredking
0
499
Member Avatar for nats01282

Hello, im unsure how to fetch a database row that includes php, i have a row in my database that displays a marquee saying 'welcome $username' i have connected to the database but the php on page shows 'welcome $username' how would i get it to state the username instaed …

Member Avatar for cgull
0
215
Member Avatar for TIP.Synergy

Hi to Everyone, i want to filter my record in datagridview w/o database like a search. Is it possible?? anybody can help me please ^_^

0
112
Member Avatar for saboteur

I have this code for solving eight queens problem. There are 92 solutions but there are only 12 unique solutions by rotating/inverting. I cant seem to figure out how to make the program show only 12 unique solutions. Can someone help me getting that code? [CODE] #include <iostream> using namespace …

Member Avatar for raptr_dflo
0
135
Member Avatar for uselessninja

hi everyone .... how to graph data from MSSQL database using php? i research in google and i found phpgraphlib but it only graph the value of the array

Member Avatar for uselessninja
0
132
Member Avatar for spawn2004

hi, everyone, i have a question abbout pdf and php. I use php , mysql and ajax in my page. After upload the pdf files i go in this page and get to data in table with paging. My question is hot to load the pdf files in same page …

Member Avatar for pritaeas
0
90
Member Avatar for fifarulez

Hello, I've always liked coding and lately I've learned a little but more of it. Now I also understand sql and db a little more. My problem is that my register.php file seems to give me a notice. Notice: Undefined index: op in C:\wamp\www\hacks4all.wapzan.com\registration\register.php on line 11 and Notice: Undefined …

Member Avatar for pritaeas
0
458
Member Avatar for aksahoo17

Hi, I am new to ColdFusion , so i need so help from all.... I am going to do a form having multiple submit buttons in it . So how can i know which button was clicked. according to this i want different work... Like simple i want to do …

Member Avatar for aksahoo17
0
827
Member Avatar for dwinn

Hello, I am currenrtly trying to write a query in Microsoft Access 2010. This query retreives a list of values from a table I have called tblTable Some of the values are numeric and some are alpha numeric. I am trying to do the query so that when it comes …

Member Avatar for dwinn
0
2K
Member Avatar for Onlineshade

This is my code.... [CODE] #include<iostream> #include<conio.h> using namespace std; int main() { int t,i,j,k,m,n,o,q=0,a,b,c; cin>>n; cin>>k; i=n+1; j=k-1; for(a=n+1;a<=k-1;a++) { for(b=i;b<=j;b++) { m=a*b-n; n=a-n; o=b-n; t=n*o; c=m%t; if(c==0) { m=0; n=0; o=0; q++; } else { m=0; n=0; o=0; break; } } } cout<<q; getch(); return 0; } [/CODE] …

Member Avatar for raptr_dflo
0
53
Member Avatar for PHkiDz

please help me in my code the error appears and i can`t figure it out. i used to write a program that will accepts the user input, but only a word then the program will scramble the word that had been inputted by the user and display it on JFrame(WINDOW) …

Member Avatar for peter_budo
0
188
Member Avatar for TrustyTony

I finally modernized this code. It is very primitive, but it is nice to have basic version, even it does a lot of mistakes. You could add features, like repetition elimination, or you can check the compete chatbot: [url]http://www.jezuk.co.uk/cgi-bin/view/software/whereskal[/url].

Member Avatar for TrustyTony
0
942
Member Avatar for devilishloki

Hello everybody, I was wondering if someone could help me. I have a magnetic stripe reader, that uses KB wedge, but since my laptop doesnt have a kb wedge i am using it with usb extension. I want to make a simple magnetic stripe reading program, that just reads and …

Member Avatar for nick.crane
0
207
Member Avatar for SilentCoder

Hi, i am trying to merge Folders into File.extension and i was wondering how would i be able to do this. Basically i am trying to merge all files in a folder to one File.extension, for example: i have folder called Client, i have few files in Client folder: Notice.inc, …

Member Avatar for raptr_dflo
0
183
Member Avatar for charlybones

Greetings. Ok so my problem is that I get a "Currency" formatted value from the database and this value sometimes comes as a whole number (without decimals) and sometimes it doesn't. But, when I output the information as "string" into an XML File, I [B][I]always need to show the 2 …

Member Avatar for charlybones
0
215
Member Avatar for extemer

HI guys i have a little problem while i post the data that is class_id and subject_id to my db with it extra field is generated having zero in class_id and subject_id e.g below [B]Edit Delete 0 0 Edit Delete 315 1[/B] beside the original ids.here is my code below …

Member Avatar for cgull
0
131
Member Avatar for guinntiques

Hi. I'm using vs2008 and asp.net masterpages. One of my pages is in my administration area on my server. When I visit this page, I can click a button which begins sending newsletters out to my membership 50 at a time and every 11 minutes (as specified by my email …

Member Avatar for guinntiques
0
139
Member Avatar for shivya jain

Hello to all, I want to auto generate id that should be access from my sql database. I try this code- [CODE] Dim j As Integer = 0 Dim cmd As New SqlCommand("select staff_id from staff ", c.con) Dim dr As SqlDataReader dr = cmd.ExecuteReader() While (dr.Read()) txtstaff_id.Text = dr("staff_id").ToString() …

Member Avatar for lolafuertes
0
272
Member Avatar for kylelendo

Hii friends Well i am working on hex values of a file.Now to test it i delete single byte and then try to write the file using the remaining bytes.Well the file gets corrupted but still the file is constructed. So is there any code with which i can test …

Member Avatar for Teme64
0
943

The End.