199,113 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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) | |
I want to compile an assembly program in NASM using MS visual studio 2010. thanks..:D | |
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] … ![]() | |
![]() | 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 … ![]() |
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; … | |
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, … | |
code for bold,italic and underline in c# when button is pressed..... | |
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. … | |
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.... | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
Hello! i would like to ask some codes in voting system using php, can select and determine the winner. Thank you... | |
asalam TO ALL GENIUSES HOW CAN I CHANGE THE ICON OF MY EXE IN VB 6 | |
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 … | |
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... | |
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 … | |
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? | |
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 … | |
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 … | |
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] | |
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 … | |
[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 == … | |
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 … | |
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. … | |
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 … | |
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 ^_^ | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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] … | |
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) … | |
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]. | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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() … | |
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 … |
The End.