199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for karthik_ppts

Hi frendz, I need to calculate the decimal latitude and longitude value from the following latitude and longitude value. latitude 11006805N longitude 076577304E

Member Avatar for karthik_ppts
0
103
Member Avatar for dandixon

Have a table in column a i have a list of part numbers p101, p101, p102, p102, p102, p103, p104 etc part no alternative p101 a178 p101 a196 p101 a192 p102 a135 p103 a165 p103 a145 p104 a179 i need to have it like this but i cant work out …

Member Avatar for JhonMoney
0
147
Member Avatar for PdotWang

This is an answer to a question in C++ area. [url]http://www.daniweb.com/software-development/cpp/threads/355232[/url] It should be ready to be modified to code in C++, C#, or Java, because VB.Net is fully OOP. Even though it can be used for vectors, you may still want to modify it to a Vector Class.

Member Avatar for spixy
0
718
Member Avatar for spixy

I have a problem on programming, its not really my assignment, but my friends... i just thought i can resolve this at C, because i got some backgrounds on it.. but i can't do it my compiler is dev c++ the code must be on C++ not C can i …

Member Avatar for spixy
0
2K
Member Avatar for rpv_sen

Hi I am using Xampp Server in my machine, i used php mailer (class.phpmailer.php), when i run the mail file, i am getting the below error msg Could not execute: /var/qmail/bin/sendmail Please help me to solve this issue.

Member Avatar for rpv_sen
0
3K
Member Avatar for arunair

I am developing a system reminder application where the date n time are inserted along with a message in the database.when the datetime from the database matches with the current system datetime,it should display an alertbox. I am inserting date and time with datetimepicker. i will be able to get …

Member Avatar for arunair
0
200
Member Avatar for dospy

recently i understood at last how can i store more values in an int with bytwise operators, also, i have read that #define directives are evil for a number of reasons. one of them: [CODE] #define SEVEN 2 + 5 int result = SEVEN * 5; cout << result; // …

Member Avatar for dospy
0
171
Member Avatar for seraphon

PLease can someone help? I need to create a program that reads a list of units and names "eg ounce,gram,28" then asks for a user input, and then converts and displays the result. So far all i have been able to do is get it to read the first line, …

Member Avatar for abelLazm
0
317
Member Avatar for Atistus

I am quite new to Python programming, just started about a week ago, and was just designing a simple menu for a simple guessing game. I have browsed Google and other websites trying to find snippets of code that may help me but my searches haven't turned up anything. I've …

Member Avatar for Atistus
0
176
Member Avatar for nayansaurabh

SELECT * FROM salesdetail where date<'"+DateTime.Now.Subtract(365).ToString() Q)How to compare whether current date and date stored in salesdetail database table has difference of 365 days. Please reply urgently.

Member Avatar for bhagawatshinde
0
479
Member Avatar for ayesha789

Hi, I have 3 feilds in my invoice processing Table. [LIST=1] [*]Submet [*]Return [*]Resubmitted [/LIST] Now I am using this query [CODE=mysql]SELECT `SRNo` , `VenName` , `Submet` , TO_DAYS( NOW( ) ) - TO_DAYS( `Submet` ) AS Days FROM `invmain` WHERE `Status` = 'SENT TO PAYABLE' AND `Submet` != '0000-00-00' …

Member Avatar for ayesha789
0
224
Member Avatar for lxXTaCoXxl

Okay so I got the original working and is fairly simple. Only problem is I can't figure out how to set it up to scroll one color section after the other. Like this pseudo code would be: [CODE]if (color1 >= 255) { color2++; } if (color2 >= 255) { color3++; …

Member Avatar for abelLazm
0
119
Member Avatar for newbie14

Dear All, I am using third part tab. So I have build the tabs nicely and include the code like below. The problem now is that when one of the tab is press it call the javascript. So that is when I dont know how to pass the $dD or …

Member Avatar for happytogether
0
190
Member Avatar for cyman29

Hey this is from my c++ assignment at Uni. I'm fairly new to programming so i need some help. The program has separate functions after the main() which i have to call everytime i need to use them. So I've sorted an array using a fuction with an algorithm of …

Member Avatar for mike_2000_17
0
193
Member Avatar for seleniumJava

I need a bit a help to randomly select a radio button on an page to answer questions. I am doing some Selenium / Java / webdriver development and sort of new to this. Below is a some code to find the number of radio buttons. any help that someone …

Member Avatar for lxXTaCoXxl
0
335
Member Avatar for visom

Hi, I'm making a program that finds the number of days between two dates (so far you can only put in 1 date because my code is incomplete). The code is incomplete right now but my problem is that the problem is that my code doesn't return a needed value. …

Member Avatar for visom
0
105
Member Avatar for gauravk_bhanot

I am working on a application for which i need to connect it to a database. I have chosen postgreSQL. But i cannot connect it to java. Can somebody help. I tried this [url]http://www.faqs.org/docs/ppbook/x20856.htm[/url] but i don't know how to set classpath.I am currently working with windows xp.

Member Avatar for gauravk_bhanot
0
176
Member Avatar for xyzt

Hi all I'm designing a multithreaded application which has long running threads. I need to check some condititons in the main thread, interrupt the threads and end the program if the conditions are true. But i'm not sure if this is the correct/safest way. Here's my pseudo: [CODE]main() { boost::thread …

Member Avatar for thekashyap
0
176
Member Avatar for wdearth

I'm supposed to make a program using getchar() to input the operation entered, then return the result of the operation after extracting the operands and the operator and calculating the result. if you enter 15 + 30 the result should be 45 or 15+30=45 Also using user-defined functions to do …

Member Avatar for thekashyap
0
116
Member Avatar for andyhunter

if items are added into an arraylist would another arraylist be required for grouping items or would a hashmap or something else be required i.e. title, firstname, last name etc saved indvidually but therefore grouped to equal person 1 and so on ? the reason for grouping is to edit …

Member Avatar for thekashyap
0
153
Member Avatar for ebanbury

Hi I currently have a form in which you select from the prop_type field and then a field with the relevant subtypes shows up. The saletypes are currently in 5 separate fields right now (saletype1 -5), all showing records from the same mysql table, using a different recordset each. They …

0
103
Member Avatar for kelvnese

hi everybody, i'm doing a ASP.NET project with VB.unfortunately,when i'm using Logout control, i still can not logout. So i can't logout.. And i have tried to delete the browser cache, but no luck.. What could be wrong? :'( [CODE] <asp:LoginView ID="LoginView2" runat="server"> <AnonymousTemplate> <asp:Login ID="Login1" runat="server"> <LayoutTemplate> <div class="username"> …

Member Avatar for kelvnese
0
161
Member Avatar for juan92

currently i am taking a java class, and out professor is introducing it with the language processing so we get the idea of how things work. he moentioned that processing comes from java, so that's the reason i posted it here. i made a really simple game somewhat of a …

Member Avatar for juan92
0
139
Member Avatar for ashrafu1

hello am making a library program that add, delete and shows record. i am done with it. but now i have a logical problem. the id i input for a book it can be taken by other books. i need to restrict ID for one book which cannot be used …

Member Avatar for griswolf
0
288
Member Avatar for shyla

Create a console-based application that computes the price of a desk and whose main() method calls four other methods a method to accept the number of drawers in the desk an input from the keyboard. this method returns the number of drawers to the main method a method to accept …

Member Avatar for shyla
0
701
Member Avatar for lxXTaCoXxl

Okay so I've been trying for a few days now and just can not seem to figure this algorithm out. Right now I'm trying it with a while loop but still not working. Basically here is my snippet. It's on a timer for 10ms. [CODE]void colorScrollRotation(object sender, EventArgs e) { …

Member Avatar for lxXTaCoXxl
0
145
Member Avatar for sosongetsu

Its been a little while since i have used Dani Web but i need some help. If the code looks a little off then you have to forgive me. I was getting help from a friend who i found knew less about it then me. Here is the criteria for …

Member Avatar for Chilton
0
171
Member Avatar for sdr001

Hello, I am getting a segmentation fault in my program and do not know why. It occurs when the program reaches: [CODE]for(i=0; i < values.size();i++) items[i].value += values[i];[/CODE] Values have integers inside of it (7,77,2,3). Items is a vector<knapSackStuff> items; and my knapSackStuff look like: [CODE] struct knapSackStuff { int …

Member Avatar for template<>
0
90
Member Avatar for jackmaverick1

Hi, I'm trying to make my own library so that I know the names of the functions and can use them more simply. Also, I normally don't get the File I/O right so if I write the Library once, then I can use it over and over again (without having …

Member Avatar for jackmaverick1
0
180
Member Avatar for samsons17

hi i'm working on codeigniter for now.and i got some problem with the user login system. basically user can login using his/her email address, and then the login system will retrieve the user corresponding "username" base on the email address entered.This username will then be stored as session and will …

Member Avatar for kurtopia
0
2K
Member Avatar for asif49

I've been trying for about 2 days with 12 hour stretches of time trying to solve this problem and am completely out of energy after not getting anywhere so please help with any information you may have. Basically, for the website I've built, there is a box which is placed …

Member Avatar for chrishea
0
73
Member Avatar for Tamlyn

Hey everyone :) Hope you can help Here is what I've done with the instructions given: I need to know the average price difference between the cash and credit prices. But i'm pretty sure that only comes in at the end. Here is what my this function is supposed to …

Member Avatar for Tamlyn
0
121
Member Avatar for kiske

Hello, I'm triyng to connect a camera to a VMR9 filter and I do the following: Create the filter graph Create the VMR9 filter Add the VMR9 Filter to the graph Create the video source filter and add to the graph Create an instance of capturegraphbuilder2 and reference it with …

Member Avatar for rubberman
0
538
Member Avatar for BeansForChowder

I need help building a program that displays full-time and part-time employees names and salaries when the user uses a radio button to choose either full-time or part-time employees. It's a program from the Getting Started with Visual Basic 2010 but I can't determine which part of the chapter specifies …

Member Avatar for BeansForChowder
0
164
Member Avatar for ShandyElliott

How do I reference a div in a form when there are multiple forms on a page? Each form will have a unique id. I'm trying to change the style.display of a div in a particular form. I can alter elements inside that div (whether they have id's or names), …

Member Avatar for ShandyElliott
0
140
Member Avatar for Mike Bishop

I am writing a database and need to post a value in a lable to a sql field. the sql datatype is set to money. when posting i have CMD.Parameters.addwithValue("@Claim", LBCLAIM.text) when posting i gett an error cannot convert a char vaule to money. the char vaule has incorrect syntax. …

Member Avatar for Unhnd_Exception
0
102
Member Avatar for aaraf

[B]hi since I began programming in php the most thing I used is form but today I wanted to use form inside an html page that have a css style BUT THE FORM INSIDE IT DO NOT WORKED IT IS VERY SIMPLE AND RIGHT BUT IT DON'T WORK i used …

Member Avatar for aaraf
0
167
Member Avatar for benjybob

Hello there, im writing code for my asteroids game and am nearly finished but ive come across a problem when trying to load the file the save game is written like this and works perfectly fine, it saves the things i want to a text file: [CODE]void WrapGame::save() { cout<<"enter …

Member Avatar for WaltP
0
226
Member Avatar for vijaygupta

Hello, I am building a stock market website and i want to show all commodities prices rise fall even charts later .first of i want to know whether it is possible or not.If yes please guide me through.Please help any kind of help appreciated

Member Avatar for smantscheff
0
107
Member Avatar for Khoanyneosr

So i read the "Flush Cin" post at the top of the thread and it just flew right over my head. I have a simple if statement that uses int values to determine where to send the user. If the user enters a char value it shoots itself into an …

Member Avatar for Khoanyneosr
0
158
Member Avatar for 54uydf

Hey, the data in my DB isn't going to be in english, and I'm wondering if I should name the tables and the fields not in english as well, or there might be problems later when using the names in PHP or SQL code? any one had experience with that?

Member Avatar for smantscheff
0
126
Member Avatar for andyhunter

trying to create a matcher for finding if title is not correct i.e. has to be mr, mrs, miss etc..but this allows mrmrmr etc when it should not. tried different setups to keep failing i.e. [[]] or (). [ICODE] public void valTitle(){ //validate title while (this.title.matches("^[\\s]+$") ||this.title.matches("") ||this.title.matches("[^m]&&[^r]*") ){ System.out.println("Title …

Member Avatar for andyhunter
0
87
Member Avatar for CGober

Can anyone tell me whats wrong with this code? It throws this exception: A call to PInvoke function 'Web!Web.SQLiteBase::sqlite3_open' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match …

Member Avatar for gusano79
0
274
Member Avatar for pebesoft

Greetings, This problem kept me searching for a solution for days. I hope someone can help me. I can't find spelling errors Below is part of the form. (The whole form can be had at [url]www.pebesoft.co.nz/ir4312.htm[/url] The other part of the form works OK A Var dump does not show …

Member Avatar for markmatt
0
220
Member Avatar for Nevillelajru

hi i am looking for some code and step by step instructions for the c sharp encryption and decryption process. if anyone is willing to send me some instructions i would be grateful. thanks Neville

Member Avatar for Nevillelajru
0
331
Member Avatar for gspeedtech

I have a stored procedure that retrieves customer data from one table and calls 2 UDFs to perform a calculation on data obtained from joined tables for accounting data. The calculation needs to be performed for every row based on matching criteria of previous records. The query returns very few …

Member Avatar for Fortinbra
0
234
Member Avatar for ThePythonNoob

It will carry on if the input is X but not O!! block of code concerning this matter [code] print("\nWould you like be X's or O's ? <O/X>:") human=["",""] while not (("X") or ("O")) in human[0]: human[0]=input("") [/code] whole code: [code] print("Welcome to the greatest intelletual challenge of all time: …

Member Avatar for ThePythonNoob
0
102
Member Avatar for methuselah90

[QUOTE]Warning: fopen() expects parameter 1 to be string, array given in /home/speedycm/public_html/speedyautos/carphoto.php on line 42 Warning: filesize() [function.filesize]: stat failed for Array in /home/speedycm/public_html/speedyautos/carphoto.php on line 43 Warning: fread(): supplied argument is not a valid stream resource in /home/speedycm/public_html/speedyautos/carphoto.php on line 43 Warning: fclose(): supplied argument is not a valid …

Member Avatar for diafol
0
323
Member Avatar for UltimateKnight

Hi to all. I am a beginner at C++ programming. I wanted to ask for some tutorials or videos from which I can learn.. I have done some small steps in programming before and I really love it. I am very interested in this area and I would be thankful …

Member Avatar for Tamlyn
0
302
Member Avatar for java_programmer

I am trying to write a simple servlet program. But getting the error The requested resource (/servletexam/LoginServlet) is not available. I have created two servlet classes as follows - [B]LoginServlet[/B] [CODE] public class LoginServlet extends HttpServlet { Hashtable<String,String> users = new Hashtable<String,String>(); public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, …

Member Avatar for java_programmer
0
309

The End.