199,114 Archived Topics
Remove Filter ![]() | |
The problem in my code lies somewhere in the Class2DPoint object1 = new Class2DPoint(num[0], num[1]); Class2DPoint object2 = new Class2DPoint(num[3], num[4]); part of the code and there is a problem in the object1 = object1 * object2; and public Class2DPoint() { this.x = 0; this.y = 0; } I only … ![]() | |
Hi , i have decided to develop a program on typing tutor for my school project. C++ the program should be based on classes and objects. The main menu shall contain : login, create acc, help , exit login and create acc options will ask for the username and passwords. … | |
Hi, This is my first post in the forum. I got a situation where i have to find a file in a folder based on its extension and there by use the file name and contents of the file. Thanks for the reply. | |
Basically, I want to create a countdown timer. Which isn't hard. It's all over the web. BUT I would like to know how and what I would need for, when the timer reaches zero, the code commands a relay to close, allowing voltage to flow to something. Also, presetting the … | |
Hello, I have this huge problem. I'm supposed to make a LISP interpreter in C++ but I have absolutely no idea what the programm should look like. So far I have a parser, which splits input string into the list of smaller strings (words, brackets). Could anyone give me a … | |
Hi All, I need to be able to send bulk emails (somewhere in the thousands) for the online service I am planning on providing. Is there an online service (preferably, a web service api) that I can use to send bulk emails? Are there any other options other than running … | |
Hi all, I able to detect user current location on google map, but i need to show speed of user travelling. Any idea how to detect it? I can give u my code if u wan. Thanks. | |
Hello! Do anyone know optimal solution for [B]roman numerals to 100[/B]? I made a program just for numerals to 10, but I have no idea how to solve it to 100 optimally cuz if statements are not a very good solution. [CODE]static void Main(string[] args) { int number; bool checkValue; … ![]() | |
[B]I just want to know how to perform a real calculator in ASP.NET like... there's a 1 textbox or 2 and 1 label where in that label will show the text came from the TEXTBOX while typing get it? any idea? please need some help^_^[/B] | |
DEFINITION OF DATA REQUIREMENTS Produce an itemised consigment note for each customer including -dimension,weight and price per parcel. -total weight and price consigment -number of parcels RESIDENT DATA -up to 2kg-£7.50 -up to 4kg-£8.00 -up to 10kg-£8.55 -up to 12kg-£9.10 -up to 14kg-£9.70 -up to 16kg-£10.35 -for each extra 2kg,up … | |
I was wondering if anyone could point me what coding feature I'm talking about that can fulfill this role. - So I need to update data values from many users at the same time at a specific X amounts of time or specific hours of the day. What programing process … | |
Gets the names of all the partitions in a system. Note that media must be in every removable drive for this to work (can be fixed easily) | |
Can anyone please help me! Very stuck on an assignment i need to code a java applet so that it counts the lengths of words for example i am a man would produce the output 2 - one letter words 1 - two letter word and 1 - three letter … | |
Hi. I wrote a calculator that calculates the given expression (eg, 2 +3 +4-3-1), it works only if you type expression and press ctrl-d, what i have to do to display the result after pressing enter Here's the code: [code] #include <stdio.h> int main() { printf("give expression \n"); char expression; … | |
I keep getting an unexpected$end parse error on line 32, but that line doesn't exist. I can't seem to find what is causing the problem. This is driving me crazy. [CODE]<!doctype html public "-//W3C//DTD HTML 4.0 //EN"> <html> <head> <title>Your Output</title> </head> <body> <h1>Your Output</h1> <center> <? $basicText = $_REQUEST["basicText"]; … | |
I am so stuck, I lost 2 days trying to figure this out and here I am! I have an online cart selling subscriptions and I want to offer customers the ability to subscribe and choose their own payment schedule by paying monthly, quarterly or annually. Further, I want to … | |
I am following this [URL="http://www.boost.org/doc/libs/1_37_0/libs/serialization/doc/index.html"]example [/URL]to serialize an object with boost. However, I keep getting the same compile error: error C2248: 'boost::scoped_ptr<T>::scoped_ptr' : cannot access private member declared in class 'boost::scoped_ptr<T>' Any idea why? [CODE]// Console2.cpp : Defines the entry point for the console application. #pragma once #include "stdafx.h" #include … | |
Hi, Hoping someone can help with a query I'm stuck on. I've got a field (sm_contact1number) containing phone numbers. Some of the data has been imported via Excel and its stripped some of the 0's out of the start of telephone numbers, so 0121 3324234 now looks like 121 3324234.. … | |
Hi there all, I am trying to get data from a sql view and bound it into the datagridview, after that, I add 4 more colums into the datagridview which are editable, finally pass the entered data into a new database and call that data in the future in the … | |
So I'm creating a backup GUI in Python which basically asks the user for their username/password and source directory so it can be rsynced over to a remote server. The only trouble I'm coming across is passing the password (entered in the GUI) to the server after I execute the … | |
Hi all, I tried to do a CAPTCHA "error message - I would like an error message (pop up) show on the first page (checkForm.php) when user entered a wrong code/secureimage. At the moment the error message showing on the next page (processFrom.php) which isn't really what I want. Can … | |
I've recently used mod_rewrite and changed my .htaccess allowing clean urls. Is there a tutorial that tells me how to use $_GET with a clean url? for instance how do i get the name with the clean url($_GET method)? messy url[code]example.com/play.php?id=203&name=test[/code] clean url[code]example.com/videos/play/203/test[/code] also when using forms is it as … ![]() | |
I am using visual basic 6. I need to update my database table which i created for the form. I am using ADobc database. How can i update the database by using the coding? | |
Greetings! Hi guys, Im mike, i am new in using Sybase central using sql anywhere 9, i've got a big problem, on how am i to connect my Sybase database to Visual Basic 6.0. Guys.. i badly to want to know this, because i am new to my work. I … | |
Just when I thought I was out of the woods on this application, I decided to block someone that simply clicks the Submit button without entering any data. I looked up the use for "if (empty($field) == TRUE" and i was pretty certain I had it right,. I still had … | |
I've come up with this code and cant figure out why nothing appears when I press the button. The table is soposed to show. Probably something really simple cuz I often stuck on stupid things. [HTML]<html> <head> <script type="text/javascript"> function appendtable() { var div = document.getElementById("divide"); var ControlsDesign = document.createElement("div"); … | |
hii, i am new to python.. i want to run a batch file on a remote computer by running python script on my computer both in the same network. i am able to run batch file on my computer in python script using subprocess, but not able to access the … | |
Hey, I have a .htaccess file but I wanted to know if you can make the file check if a directory exists and if it does go to there and ignore the commands... such as ROOTURL/category/page/ this changed the URL to index.php?cat=$&page=$ but say I put in ROOTURL/dan/ and that … | |
Hi, I am new to this forum.Can someone tell me how to compare textbox value with all the values of a particular column in the database. Thanks. | |
Hi, In my main wpf Window I instantiate a new wpf window at a click of a button, that collects a bunch of data. This data is stored in a class object (see below). Now when I try to pass this class to a backgroundworker I get the well-known “The … | |
I'm trying to populate the city select box based on the selected state (which is also a select box) using Ajax. When i select state, the city select box is not being populated. There are 5 models below: Student, MerryParent, MerryClass, State, City. All of them are related to one … | |
Hi good day! I just want to know on how to center a new page window when click.. I have this java script below but it appears on top left. I want it to appear center of the screen on even in different resolution! [code=javascript] <a href="javascript:void(window.open('http://localhost/nonescostmpc/accnt_login.php','','width=350,height=220,left=0,top=0,resizable=no,menubar=no,location=no,status=no,scrollbars=no'))"> [/code] thank you! | |
hi all, I have built search form that it retrieves information from database. for ex: when i click axtar (search) button it retrieves normally but when i click ENTER button via keyboard instead of axtar (search) button but it only displays results with white blank page here is web page … | |
Hi guys, I was requested to makes a 3D house plan, which a user can be able to move about in, using the keyboard or mouse. Like in games. I'm relatively good in Carrara, VB and C++ but I'm new to game programming. :S I need your help on how … | |
Hi, I'm new here. i have a problem with forms, i have forms divided in sections, 3 forms in total. 1st for general information, 2nd for company information and the 3rd one for finance information. i want to save all information in database only when 3rd form is filled, i … | |
Hello, I'm trying to access a value from an input form. I know this works without the onkeyup event but with it it says the that document.formname.elementid.value is undefined! Its extremely frustrating. As the user types into the input, I am using AJAX to generate some more options which works … | |
I need some help regarding pagination. whenever i searched for a record, the pagination doesnt work but it still show the results. here are my codes index.php [CODE] <html> <head> <title>Paginating Your Data with AJAX and Awesome PHP Pagination Class</title> <form action="index.php" method="post" name="searchdb" id="searchdb"> <table> <tr> <td><tr> <input type="text" … | |
Where weight is the person’s weight in grams and height is their height in centimeters. If the result of this calculation is less that 20, then the person is medically underweight. If the result is greater than 30 then the person is medically overweight. Write a program to calculate whether … | |
i need help in adding $data into datatable data.setvalue where will be used to generate column chart. first column = x-axis while the rest of the columns = elements. thanks in advance. [CODE] <?php $result=mssql_fetch_array($row); // $result already in correct structure. $data = json_encode($result); ?> <html> <head> <script type="text/javascript" src="https://www.google.com/jsapi"></script> … | |
i wan't to develop as a high school time-tabling system. the school has streams ranging from 4 to 7(maximum) streams and teaches more than 20 subjects. can somebody give me the required logic/or algorithm to enable me develop it. Thanks | |
I am using the following code to extract second name from the html having following kind of lines - <tr align="right"><td>3</td><td>Matthew</td><td>Brittany</td> So, I want to extract "Brittany" from the above line [CODE]for line in f: match3 = re.search(r'$([a-zA-Z]+)(</td>)',line) if match3: print match3.group(1)[/CODE] But this ain't working. Please help. | |
Who can help me? I always get error to connect my project in vb.net to sql server on remote computer?? | |
i am having an sql query in catch block. the code is: [CODE] Dim str_exception As String = ex.Message Dim sql5 As String = "insert into table_data(type,description) values('ERROR'," + str_exception + ")" Dim cmd_sql5 As New SqlCommand(sql5, connection) cmd_sql5.ExecuteScalar() [/CODE] it throws an exception at cmd_sql5.ExecuteScalar(). the exception is - … | |
I am having a issue as above title. How to show data from file (txt file) in list view control? Please help thanks | |
hey whenever i put the password it comes both in alphabets and numbers i.e we have to press the same key 2-3 times... bt i dont want it like that i only want the password in numbers. So,can you please help me out for that or can you please tell … | |
[CODE]con=L2DatabaseFactory.getInstance().getConnection() rem=con.prepareStatement("DELETE FROM buffer_scheme_contents WHERE scheme_id=? AND skill_id=? AND skill_level=? LIMIT 1") rem.setString(1, scheme) rem.setString(2, skill) rem.setString(3, level) try : rem.executeUpdate() except : pass if getBuffCount(scheme) == 0 : HTML = getOptionList(scheme) else : HTML = viewAllSchemeBuffs(scheme,eventParam2,"remove") return HTML if event == "add_buff" : event = eventParam1.split("_") scheme = event[0] … | |
Hi, My program does 2 functions i.e. a) It creates text files b) The text files gets copied to some other locations. The program is as below: [CODE] $n=5; #Count of files to be created. for($i=0;$i<=$n;$i++) { print "\n$i file is getting created \n"; open(FH,">file_$i.txt") || warn "cannot create a … | |
Hi, I am trying to use a hash table to sort the two string words from an input file ,display words and again put them back to an output file. so if this is my input in input.txt: thank Merci yes oui hello bonjour the sorted output in output.txt will … | |
<text> <p><s id="s1"><ng><w pws="yes" id="w1" p="CD">25</w> <w l="woman" pws="yes" id="w4" p="NNP" common="true" headn="yes">Woman</w></ng> <vg tense="past" voice="act" asp="simple" modal="no"><w l="create" pws="yes" id="w10" p="VBD" headv="yes">created</w></vg> <pg><w pws="yes" id="w18" p="IN">for</w></pg> <ng><w vstem="succeed" l="success" pws="yes" id="w22" p="NN" headn="yes">success</w> <w l="barbie" pws="yes" id="w30" p="NN" headn="yes">barbie</w></ng> <ng><enamex type="location"><w l="reynold" pws="yes" id="w37" p="NNP" locname="single">Reynolds</w></enamex> <w l="sep" pws="yes" … | |
Alright, so I have been o this for quite sometime. I am building a Facebook application with Wordpress and have a question. I have the app integrated into my fanpage and that works fine. The only problem is, whenever a user clicks a page inside the iFrame, it should be … |
The End.