199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Zvjezdan23

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 …

Member Avatar for stbuchok
0
102
Member Avatar for rajatchak

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

Member Avatar for rajatchak
0
219
Member Avatar for hari kishan

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.

Member Avatar for d5e5
0
145
Member Avatar for Kerlix

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 …

Member Avatar for Kerlix
0
175
Member Avatar for Lerilaine

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 …

Member Avatar for TrustyTony
0
386
Member Avatar for jacob21

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 …

Member Avatar for mschroeder
0
150
Member Avatar for KadajXII

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.

Member Avatar for peter_budo
0
98
Member Avatar for danuz

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

Member Avatar for stbuchok
0
176
Member Avatar for GAiXz

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

Member Avatar for GAiXz
0
143
Member Avatar for andersonelnino

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 …

Member Avatar for sirlink99
0
120
Member Avatar for Deathmachine

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 …

Member Avatar for Deathmachine
0
81
Member Avatar for alex_extreme

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)

Member Avatar for Mark A
0
182
Member Avatar for shan123456

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 …

Member Avatar for sirlink99
0
184
Member Avatar for Thoronath

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

Member Avatar for Thoronath
0
213
Member Avatar for SolidSora

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

Member Avatar for leakbali
0
186
Member Avatar for bill_kearns

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 …

Member Avatar for bill_kearns
0
222
Member Avatar for Jsplinter

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 …

Member Avatar for mitrmkar
0
378
Member Avatar for minart

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

Member Avatar for minart
0
164
Member Avatar for symeramon

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 …

Member Avatar for symeramon
0
216
Member Avatar for kingdeslok

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 …

Member Avatar for kingdeslok
0
537
Member Avatar for siabenie

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 …

Member Avatar for siabenie
0
883
Member Avatar for MDanz

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 …

Member Avatar for diafol
0
105
Member Avatar for Muhasin

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?

Member Avatar for xtianenikkian
0
99
Member Avatar for michael.pilapil

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 …

Member Avatar for xtianenikkian
0
378
Member Avatar for MichaelFL

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 …

Member Avatar for MichaelFL
0
370
Member Avatar for belama

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

Member Avatar for kedman1234
0
381
Member Avatar for manni123

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 …

Member Avatar for Gribouillis
0
3K
Member Avatar for Danny159

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 …

Member Avatar for Danny159
0
132
Member Avatar for arun.11

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.

Member Avatar for Netcode
0
42
Member Avatar for hmortensen

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 …

Member Avatar for hmortensen
0
315
Member Avatar for vaanipala

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 …

Member Avatar for vaanipala
0
518
Member Avatar for PinoyDev

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!

Member Avatar for PinoyDev
0
115
Member Avatar for azegurb

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 …

Member Avatar for Airshow
0
106
Member Avatar for faroukmuhammad

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 …

Member Avatar for Victormarques
0
321
Member Avatar for riteshe

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 …

Member Avatar for urtrivedi
0
135
Member Avatar for come_again

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 …

Member Avatar for Airshow
0
216
Member Avatar for banmikko

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

Member Avatar for debasisdas
0
156
Member Avatar for andersonelnino

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 …

Member Avatar for peter_budo
0
185
Member Avatar for Ichcha

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

0
81
Member Avatar for mwenyenia07

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

Member Avatar for Netcode
0
102
Member Avatar for theharshest

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.

Member Avatar for Gribouillis
0
446
Member Avatar for fransiskus

Who can help me? I always get error to connect my project in vb.net to sql server on remote computer??

Member Avatar for Netcode
0
477
Member Avatar for abc88

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

Member Avatar for Netcode
0
210
Member Avatar for BARATUM

I am having a issue as above title. How to show data from file (txt file) in list view control? Please help thanks

Member Avatar for aldeene
0
431
Member Avatar for Mahesh.

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 …

Member Avatar for Mahesh.
0
62
Member Avatar for fokys

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

Member Avatar for fokys
0
205
Member Avatar for amithlaxman

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 …

Member Avatar for amithlaxman
0
126
Member Avatar for milan2011

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 …

Member Avatar for m4ster_r0shi
0
682
Member Avatar for knan

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

Member Avatar for snippsat
0
223
Member Avatar for epicrevolt

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 …

0
83

The End.