199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jbisono

If you have 3 tables with over 10,000 records each and you have to build a recursive function with this 3 tables link, and you expect to have in return around 200 records, What will you do? "The website is intranet host" Query the sql server multiple times or load …

Member Avatar for jbisono
0
105
Member Avatar for yosi_s85

i get non accuracy result for using simple(* + -) and complex(sin cos pow) math function in std. someone know very accuracy for math actions?

Member Avatar for mike_2000_17
0
204
Member Avatar for helpme87

i want to be able to read input from a file and find like entries and then add the corresponding data. i dont know if i explained that well so ill give an example... the file would be like this (just example numbers)... [CODE] 111111 15 222222 6 111111 4 …

Member Avatar for helpme87
0
133
Member Avatar for azegurb

hi all i have taken script from internet but in this script i dont understand what does mean this.length. when we write [CODE]this.length[/CODE] as what length we must understand it here is code. [CODE]Array.prototype.max = function() { var max = this[0]; var len = this.length; for (var i = 1; …

Member Avatar for Taywin
0
119
Member Avatar for DragonMasterJay

Hi I was looking for some ideas and techniques on developing an antivirus engine. Not really sure how the code should go, or how the program will scan the system. Please state any ideas, or ways to approach the engine development. Thanks.

Member Avatar for dannyfiker
0
340
Member Avatar for anirban1087

Hi, I have 5 Numeric fields in my from, I am using onkeyup to check for numeric values only, now I have a total field also. I would like to have a sum of the values entered in the 5 fields to be shown automatically on this total field. How …

Member Avatar for benhowdle89
0
87
Member Avatar for buster2209

I have successfully managed to get my data the way I want it in ListView and have two questions; 1 - How can I select an item on a single (or double) click of a mouse button that executes some code using that as the variable passed to it from …

Member Avatar for buster2209
0
295
Member Avatar for fire_

Hello. I'm writing program wich reads from file line by line and then rewrites everything to other file. This is simplifyied part of code: [CODE]for (int i=0; i<=5;) { getline (file1, str1); /* file1 is file from wich i read and str1 is string*/ file << str1; }[/CODE] No i'm …

Member Avatar for Ancient Dragon
0
275
Member Avatar for starlight849

Hi, I am looking for advice on the best way to achieve my current goal. I am reading a textfile and extracting information from each line. For example string1 and string2. I am then writing these string to a datatable. However, sometimes there will be repeats in string1 and string2. …

Member Avatar for starlight849
0
163
Member Avatar for sami.asanga

Hi , Im developing a shopping cart system.There I need to check whether the customer's cart is empty/not before going to the checkout page.If the cart is empty I need to give a message .How should I do that?? Can someone tell me..Thanks in advance...:)

Member Avatar for sami.asanga
0
86
Member Avatar for kckrns

Hello all, I am currently working on a project that requires an update within an Access Database. There are photo folders, and the user defines the path name via a dialog box. That path name is stored to a string value, and through OleDBReader, the actual name of the photo …

Member Avatar for Niranjan003
0
109
Member Avatar for jeevsmyd

I have been advised by many people that it is better to use integer return type for main function instead of void ! I actually dont understand what return 0 means .. main returns 0 value to program ! What does that mean ?! Could you please help me understand …

Member Avatar for Ancient Dragon
0
164
Member Avatar for Rez11

I'm getting weird letters and numbers when the array is being shown. What is the problem? I've initialized array1 with 10,20,...etc. So shouldn't it cout those numbers? [CODE] #include <iostream> using namespace std; void reverseArray(int[], int); int main() {//start main const int size = 5; //constant size of array is …

Member Avatar for Fbody
0
128
Member Avatar for agent7
Member Avatar for kazkikay12
Member Avatar for Topi Ojala
0
77
Member Avatar for ryanwhite17

I am a current student and don't know much about where to even begin with this. :SI am working on a website for a friend and they want the visitor to be able to put in their zipcode and a list be generated with the nearest stores. Is this something …

Member Avatar for Stefano Mtangoo
0
156
Member Avatar for Bigbrain99

[CODE]#include <iostream> #include <string> #include <ctype.h> using namespace std; void isphone(int number) { bool isphone = false; int size2= number.size(); for (int i=0; i<size2; i++) { if(isdigit(number[i])&& size2>=4) { isphone=true; } else isphone = false; if(isphone=true) { cout<<"yes this is a phone number"<<endl; } else cout<<"Invalid number!"<<endl; } } //for …

Member Avatar for Bigbrain99
0
156
Member Avatar for Pinchanzee

My internet browsing skills have failed me and I can't seem to find any solution to this. I image it'll be easy for you guys though and I'd be incredibly grateful if you could help me. I'm new to Python so a relatively simple explanation would do me very well, …

Member Avatar for Pinchanzee
0
2K
Member Avatar for ebanbury

Hello Now this is very strange and way out of my knowledge-basis. I had a working form (see code) which inserted data into eph_product. Suddenly it stopped working and when I click on 'submit' I get the following error: [B]You have an error in your SQL syntax; check the manual …

Member Avatar for ebanbury
0
221
Member Avatar for buster2209

I want to be able to double left click my mouse on an entry in a populated listview window and pass that variable (as a string) to a textbox. Can anyone give me some sample code?

Member Avatar for Geekitygeek
0
139
Member Avatar for shena

Hi all, I have form to populate list view items which allows the user to view, add, update, and delete model records. But when i start the project, the [B]Run-time error '380': Invalid Property Value[/B] comes. i click to debug, it highlighted a line as i have indicated below in …

Member Avatar for shena
0
3K
Member Avatar for shena

Hi all, I have string like this: JK-501-[COLOR="Red"]3556-25[/COLOR]-A-03#C I would to extract the middle part without dash which suppose to look like this:355625 I wrote the code this way, but the string extracted looks like this: 3556-25355625 [CODE] For i = 1 To Len(cbPN.Text) If Mid(cbPN.Text, i, 1) = "-" …

Member Avatar for shena
0
131
Member Avatar for NH1

i get this error Syntax error (missing operator) in query expression [code=c] "FROM (Employee LEFT JOIN DaySchedule ON Employee.[Employee Number] = DaySchedule.[Employee Number] " + "RIGHT JOIN Rules ON Employee.[Default Shift Code] = Rules.[Rule Name]) " + [/code]

Member Avatar for Geekitygeek
0
122
Member Avatar for NH1

How would i change this so it will work. I need to link two tables. but i get an error that says "Join expression not supported". [code=c] case 'N'://Get Jobs //long n = Int64.Parse(Del); SEL = "SELECT Employee.[Employee Number], Employee.[Last Name], " + "[DaySchedule]![Shift Code Monday] AS Monday, " + …

Member Avatar for Geekitygeek
0
274
Member Avatar for shena

Respedted Seniors, I have a form to input a product model detail. When i run the project and choose to click the menu 'Model Master', an error as below occurred. [B]Run-time error '3709': The connection cannot be used to perform this operation. it is either closed or invalid in this …

Member Avatar for shena
0
7K
Member Avatar for Usmaan

Hi people, I'm fairly new to this forum so errrm, Hi! To the point, I'm a Computer Science Student at University. As the second academic year has now finished, I've set a few objectives for the next year: i.e. LEARN C SHARP! I therefore ask if anyone here can aid …

Member Avatar for Geekitygeek
0
131
Member Avatar for sakush100

The explode function breaks the data in $kkkk into fragments and stores them into array whenever - is encountered. Now the problem is i want to explode the same data, whenever Enter key was used. Please help me,i got stuck for whole day. [CODE]<?php // TO BREAK THE DATA INTO …

Member Avatar for sakush100
0
150
Member Avatar for lakshmi_lux

I want to display with a set of radio buttons in the following way category subscribe unsubscribe aaaa 0 0 bbbb 0 0 cccc 0 0 dddd 0 0 submit this is the way i wanna display my page...can any one tell me how i can use css and php …

Member Avatar for lakshmi_lux
0
100
Member Avatar for deepak12345

hi I am new in asp.net. i am developing online exam project but i have some problem ....... and i am using asp.net and C# ............but i have some problem ...........so plz send me code its very urgent........ plz help me my mailid is [removed]

Member Avatar for dnanetwork
0
126
Member Avatar for flowin

Hello, I am trying to override the toString() method and then output an ArrayList to a JTextArea swing component. I will output the list to a gui using an action, but for the method itself, what should the return statement be? I am using return type String on the method, …

Member Avatar for javaAddict
0
88
Member Avatar for jheichimiste

I am currently assigned to teach programming subjects for college students... however, I am not a computer science major, I just knew some programming, can you help me in coming up with a credible, and standard series of topics to be discussed?

Member Avatar for Stefano Mtangoo
0
104
Member Avatar for skyboy

I have a table that looks like the one below: Name Score1 Score2 Score3 TOTAL Dan 71 85 23 ? Tom 58 84 87 ? sam 76 65 64 ? I dont know d command that will dynamically get the total score for each student and put it in the …

Member Avatar for 1seo
0
84
Member Avatar for farsen

Hi. I am interested in converting an amount of pixels into a real cencimenter or inch value. I´ve read some articles which confused me more that they informed me, so hope you can guide me in the right direction :) Lets say I have a user input his monitor size …

Member Avatar for farsen
0
190
Member Avatar for umesh314

Please help me....... I want to buy a book for C++... i want your suggestion for this..... i am confused... HELP.....

Member Avatar for umesh314
0
157
Member Avatar for onako

My current c++ application is compiled by calling "make", and invoked by calling "./fileName.bin". Now, I want to add the functionality of cairo library into the application. Note that the the program written specifically for testing cairo (outside my application) is compiled by "g++ -o fileX $(pkg-config --cflags --libs cairo) …

Member Avatar for Stefano Mtangoo
0
141
Member Avatar for Stefano Mtangoo

Hi to all, is there any place i can download MSDN Library for VB 6.0? I really need it! with regards!

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for lionaneesh

This is a simple-web-server made in C.. [COLOR="Red"]Supported OS :[/COLOR] I have made it on Ubuntu 9.10 ... and i think it will run on all linux system .... [B]Windows is not supported[/B] [U][B][I][COLOR="Red"]Compiler Instructions : As this is a web server so it will host on port 80 to …

Member Avatar for challarao
0
2K
Member Avatar for ankilosado

I have a hyerarchy of aggregation with data from a txt file. I'll try to draw it here [B]Documento[/B] has arraylist of [U]Pagina[/U] [INDENT][B]Pagina [/B]has arraylist of [U]Parrafo[/U][/INDENT] [INDENT][INDENT][B]Parrafo [/B]has arraylist of [U]Frase[/U][/INDENT][/INDENT] [INDENT][INDENT][INDENT][B]Frase [/B]has arraylist of [U]Palabra[/U][/INDENT][/INDENT][/INDENT] [INDENT][INDENT][INDENT][INDENT][B]Palabra [/B]has arraylist of [U]basicElemento[/U][/INDENT][/INDENT][/INDENT][/INDENT] To construct [U]Documento[/U], I only have to …

Member Avatar for ankilosado
0
165
Member Avatar for ankilosado

I have writen a code for adding (math +) two arrays. Actually, I have two arrays of a class I have also designed, that has two attributess, one of wich is an integer. I would like to sum (add element by element) one array on the other by adding the …

Member Avatar for ankilosado
0
180
Member Avatar for Agent Cosmic

Hi there, I'm a Java newbie, but have experience in JavaScript programming for over half a year. I would like to ask if there and any web site where people share their Java source code so that I can read and learn how they program. Blogs where they share tutorials …

Member Avatar for jon.kiparsky
0
117
Member Avatar for vbx_wx
Member Avatar for sumanpk

HI, pleae can any one help me regarding the issue: I am trying to develop system where i can add run time some user control like button, textbox, checkbox . Thanks suman

Member Avatar for codeorder
0
111
Member Avatar for smcguffee

Hi all, I'm gradually starting to make this transition from the world of C to C++, and now that I have a little progress, I have some things that are still a bit confusing to me. One of them is if I nest a class inside another class. If I'm …

Member Avatar for smcguffee
0
121
Member Avatar for scottyg13

Hi I was wondering if someone could help me with a code for my website? Basically what I want to do is have a drop down list that is essentially a matrix in the sense that picking one option leads to another and eventually you can narrow down the results …

Member Avatar for Taywin
0
64
Member Avatar for tireytv

I just cannot get this solved and after way too much time on this, I'm here for help. Here's my code snippet: [CODE] while ($row = mysql_fetch_assoc($result)) { $domain = $row["domain"]; $domainwww = "www.".$domain; //$domainwww = "www.google.com"; $sql2 = "SELECT url_id, url FROM urls WHERE url='".$domainwww."'"; [/CODE] My problem is …

Member Avatar for tireytv
0
99
Member Avatar for agent7

<SCRIPT language="javascript"> function box(){ if (document.getElementById('adminUserName').value == " "){ alert("UserName is Empty"); }else{ alert("UserName Successfully Save"); } } </script> ===================================== <td>User Name:</td> <td colspan="2"> <div id="adminUserName"> <html:text property="adminUserName"/> </div> </td>

Member Avatar for agent7
0
80
Member Avatar for n.aggel

In order to traverse a tree you could use something like this: [B]For inorder traversal:[/B] [CODE=C++] inorder(TreeNode* currentNode) { if (currentNode) { inorder(currentNode->LeftChild); cout << currentNode->data; inorder(currentNode->RightChild); } } [/CODE] [B]For preorder traversal:[/B] [CODE=C++] preorder(TreeNode* currentNode) { if (currentNode) { cout << currentNode->data; preorder(currentNode->LeftChild); preorder(currentNode->RightChild); } } [/CODE] [B]For post …

Member Avatar for jbel
0
423
Member Avatar for nfrmn

Hi all, I'm developing a graphing application that plots several lines from a protein sequencer that outputs its values in .csv format. I've read the csv into a DataGridView just fine, which is laid out like this: Cycle | A1 | A2 | A3 (all the way up to A12, …

0
142
Member Avatar for darling332001

I have an entire program wrote, but I'm having problems with the getMethod. I need a get method which will receive the position of the variable (1,2, or 3) and will then return the variable at that position. Here's an example of the call to the method: System.out.println(dog.getFido(2)); I've tried …

Member Avatar for mikeNIkesT
0
89
Member Avatar for Java John needs

Hey to everyone out there. I am new to this forum and seeking assistance with a java program assignment. if anyone can help let me know. The program is completed all I have left is to produce accurate output of a students grade. Here is the code: //////////////////////////////////////////////////////////////// import javax.swing.JOptionPane; …

Member Avatar for mikeNIkesT
0
534

The End.