199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for superbob7

I was messing around trying to figure this out and came up with this. This works but I'm looking for a more elegant recursive solution. Can anyone think of one? I couldn't find anything with google. Oh and sorry for the stupid variable names. [code=java] public class arraybackwards { public …

Member Avatar for peter_budo
0
738
Member Avatar for Devlan

I'm trying to get to grips with using files, particurlarly saving a set of inputs from the user into a file and then load it all back up again. I have a program which, through a little object oriented interactivity, allows the user to pair up names and numbers in …

Member Avatar for vegaseat
0
124
Member Avatar for nisha_fortune

Hi, I have to create a map table in C. I have used the following codes : [COLOR="Red"]************************************** #include <map.h> using namespace std; map <char,char> fileMap; fileMap.clear(); CL_LOG_INFO(" Putting into HASH MAP"); // Storing into the map fileMap.insert(make_pair(key_xsd,key_moc)); CL_LOG_DEBUG("hash table"); CL_LOG_DEBUG(fileMap); *************************************[/COLOR] I am getting following compilation errors : [COLOR="Green"]snmpd.c:379:17: …

Member Avatar for Nick Evan
0
157
Member Avatar for meirmark

Hello. I have a problem sending a string to a serial port. I am using the MScomm to control a motor . to get a full status form the motor I need to send the strng "R01 99" and a CR LF. when I use MSComm1.Output = "R01 99" & …

Member Avatar for meirmark
0
112
Member Avatar for Reessee

The following query: [code]CREATE PROCEDURE GetDistance AS SELECT a.ZIPCODE, a.CITY, a.STATE, ROUND( (ACOS( (SIN(c.LATITUDE) * SIN(a.LATITUDE)) + (COS(c.LATITUDE) * COS(a.LATITUDE) * COS(a.LONGITUDE - c.LONGITUDE)) ) ) * 3963,1 ) AS distance FROM Zipcodes a, Zipcodes c WHERE ( ACOS( (SIN(c.LATITUDE) * SIN(a.LATITUDE)) + (COS(c.LATITUDE) * COS(a.LATITUDE) * COS(a.LONGITUDE - c.LONGITUDE)) …

Member Avatar for campkev
0
280
Member Avatar for mbroadway

I am creating an application in VB.NET that has multiple pages. It's turned out to be a four page application as it took 4 forms for me to get all of the information for this application. My question: Is there a way for me to somehow link these forms as …

Member Avatar for waynespangler
0
196
Member Avatar for *nur

Hi, i am trying to send email from a web site which was upgraded from 2003 to 2005. I am having problem to send email to other email add. smtp: mail.company.com i can send and receive email on [email]any@company.com[/email], but for email other than [email]anyemail@company.com[/email], such as gmail, yahoo etc....it …

Member Avatar for dickersonka
0
150
Member Avatar for bharathi_n_r

Hi fellows, My problem is, i have a datagrid where there is a boundcolumn which consists of Cadre(E1,E2.....E7). In the same datagrid i also have two template column which consists of a textbox and a checkbox.I need to enable the textbox and check the checkbox by considering the cadre.The logic …

Member Avatar for bharathi_n_r
0
201
Member Avatar for dinilkarun

hi, in my MS ACCESS front end, when i press TAB to jump to next text box or button focus is shifting in a disorderly way with no proper pattern. What might be the reason. Please help me. Regards Jagadeep

Member Avatar for timothybard
0
81
Member Avatar for kux

I have a document/view aplication that opens a bitmap I use the following OnDraw override to draw the bitmap on a window and OnOpenDocument to opening the image from file The bitmap handle ( HBITMAP bmaphandle ) is taken from the Document object that does LoadImage in it's OnOpenDocument method …

Member Avatar for kux
0
175
Member Avatar for punithapary

-------------------------------------------------------------------------------- Hi , i am creating one website with image security that is i have some set of images. in my signup form i want to show one image with some charaters after that i will give one text box to fill that characters which is showed in image then …

Member Avatar for darren2005
0
105
Member Avatar for mabpest

can anyone review this flowchart and tell me if it will count print the numbers from 1 to 10?

Member Avatar for Nick Evan
0
272
Member Avatar for mpCode

I am working on a small project that contains a vector of base class pointers and my question is, is there anyway to tell which derived class is being stored in the container. for example... we have a base class named creature and two derived classes named, alien and monster. …

Member Avatar for mrboolf
0
154
Member Avatar for mahaboob Basha

Hi i want to implement one servlet where first i want add a user to the database and later when he logged again i need to check that whether he is already existed or not?if he is not existed i need to add those details to the database... can any …

Member Avatar for stultuske
0
282
Member Avatar for intellogo

Hi.. I have a table: PROFESSOR in ms access, that has 2 fields: "Name" and "Location". The table has 10 records. And i have made a vb form with a combo box that will show a list of available locations from the database table, when it is dropped down. So, …

Member Avatar for bruce2424
0
450
Member Avatar for jspar090

Hello, I am cooking up an application that when I first thought of figured would not be difficult. Basically, what I am thinking of is an application that will track the growth of several of my mothers orchids (I know it is kinda of weird, but this is something that …

Member Avatar for jspar090
0
78
Member Avatar for k59smooth

I'm trying to input these letters into and array using the following an tex char Letters[26] = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"}; my complier has an error reading too …

Member Avatar for Nick Evan
0
84
Member Avatar for k59smooth

I'm trying to input these letters into and array using the following an tex [TEX]char Letters[26] ={"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"}; [/TEX] my complier has an error reading too …

Member Avatar for Nick Evan
0
287
Member Avatar for abu taher

I work in a project with 12 chekbox(12 monthname) and a textbox. when I check a box a month name like "january" show in textbox. when I check another checkbox "February" show in that textbox after january. like "January February" as like same 12 checkbox. but when I uncheck any …

Member Avatar for kain_mcbride
0
143
Member Avatar for DJPlayer

I'm getting ready for a test in a couple days. I'm trying to find some decent well commented examples of programs that use polymorphism and inheritance (public,private,protected). Also it was mentioned about special circumstances on using const for a variable within the say private area of a class. Any assistance …

Member Avatar for Nick Evan
0
90
Member Avatar for AsantaSane

Hey there, this is my first post here and I'm in the need of some real help. I've written a basic password verifier, which checks to see if what you type in is the same as the default stored password, but i continually get a compile error. [CODE]import java.util.Scanner; public …

Member Avatar for stultuske
0
999
Member Avatar for cardanadam
Member Avatar for marcmm

I'm interested in the limit parameter. When ever I try to use that I get this error: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(0,5)' at line 5" this is the line …

Member Avatar for marcmm
0
98
Member Avatar for miyo2ke

Hi Everyone, I am new to ASP.NET, i am currently doing a project. I'd like to create a log in page using code. please assist. Some one give me a code sample of a log in page. Including connections to MSSQL database. I am totally lost. A step by step …

Member Avatar for miyo2ke
0
151
Member Avatar for mangoxoxo

ASSIGNMENT: In section 6.1 of the text, the authors explain how to compute the distance between two colors. They write, The Pixel class has an object method colorDistance(Color color) which returns the distance between the color in the current Pixel object and the passed color. Write a method which takes …

Member Avatar for mangoxoxo
0
121
Member Avatar for pete08

Does anyone know how to start an application from other application in C# for smart devices?

Member Avatar for Errel
0
92
Member Avatar for wynn

How to design a print reciept from jsp file. or generated a pdf file any idea to start ?

Member Avatar for Raghav11k
0
103
Member Avatar for Errel

Hello everyone, I'm new to this forum and i'm sorry if a similar thread already exists, but I couldn't find one. I'm trying to run the microsft speech SDK 5.1 sample code, but the Microsoft speech library seems to be missing from my computer. It's not in the COM tab …

Member Avatar for Errel
0
78
Member Avatar for madmaxx350

Hey guys :) i'm new at programming in C++ and i'm stuck at an assignment that im suppose to write I need to Write a string function that gets a word at random from a file and returns it as the value of the function. It should use a random …

Member Avatar for vmanes
0
73
Member Avatar for potatskie

Hi. I had some difficulty in getting the list of all the path of the My Documents Folder in XP and Vista. Since for every Account there is, there will an assigned path for that account to its own My Documents folder. I also heard that is only true to …

Member Avatar for jessjane
0
111
Member Avatar for krany18

hai friends, this is kranti, i am getting one error while i am using the sqldatasource control and dataview control it gives error on the browser like this " invalid object name "emp": please tell me the how to use the sqldatasource . ASAP please....

Member Avatar for krany18
0
103
Member Avatar for brechtjah

Hi, I'm having some frustrating issues with char/strings. I have a function which returns an unsigned short integer, the unsigned short integer is ALWAYS 1 char long. So if I try this code: [code] number[2] = function(); [/code] So, number[2] should give me the number I want, however, it gives …

Member Avatar for brechtjah
0
192
Member Avatar for glecymay

i hope you can help me regarding computing the running time of a program in C++ environment the specification is like this: i will make a program that can read another file which is a program too in C++. I would like to compute the main() alone of the file. …

Member Avatar for dmanw100
0
61
Member Avatar for Manutebecker

I want to be able to bring the single instance class into a function of another class without having to take each seperate little variable from the class and inject it in, can I just do something like void Yeah(class *The Class) and then pass the class in easily??? Or …

Member Avatar for Rashakil Fol
0
85
Member Avatar for 666kennedy

i have an array weights[16][60] 16 rows of 60 columns if you are changing indiviual elements it goes from weights[0][0] to weights[15][59] right? see if im using them in a loop for instance [CODE]]for(int i = 0; i < 16; i++) {[/CODE] so each element is used would it be …

Member Avatar for Rashakil Fol
0
87
Member Avatar for Lyndan

Hai, I a have JSP page containing a registration form.The registration form contains a text box and a drop down list box with 1-7 option values. I have entered data into the text box and selected the option value in the drop down list box . After the clicking on …

Member Avatar for Lyndan
0
99
Member Avatar for arreyes

If you make a vector of a class of no designated size, as you reserve spaces inside the vector will it just make a default instance from the constructor?

Member Avatar for ArkM
0
122
Member Avatar for clueless101

[quote] Once my dynamic table is populated with names entered by user, it should no longer include the initial text: Your name list is empty. Can anyone help me with this final code? [/quote] [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>My Dynamic Table</title> <script …

Member Avatar for clueless101
0
122
Member Avatar for sacarias40

i need to have 14 string items in a combobox each item needs to have a different value but the same variable, how would i do this. im new to programming. help would be apreciated much. thanks!!!!!

Member Avatar for sacarias40
0
102
Member Avatar for mabros86

hey guys!!! okay!!! i have a problems that this program is to build to choose a file and the copy it exactly to a new file of my choice but the only is that everytime i do that it happens to make a mistake it copies the file into the …

Member Avatar for mabros86
0
359
Member Avatar for lonestar23

I am having problems retrieving distinct records from a XML record. I am using the following code but seem to have the same image in an entire row. Thanks in Advance! view demo [URL="http://www.buildasearch.com/_B/fotos/fotos.php?start=0&paginas=10&e=kites"]code demo[/URL] [code] <?php $display_number = 15; $tmp .= '<table width="100%" border="1" cellspacing="1" cellpadding="1">'; for ($i = …

Member Avatar for lonestar23
0
126
Member Avatar for Enjoy

Hi all, I am using asp and vb and back end is SQL . I am getting syntax error in update command. Error is Incorrect Syntax near keyword "desc". Can anyone debug this. R can you tell me an alternative way to update record in database. I have to check …

Member Avatar for Kusno
0
153
Member Avatar for Punkis448

Hello all. I have a problem with my site. Well there are some times that when i click on a link from the recent activity I get my custom error 404 page. This happens when the url is [url]http://domain.com/[/url]............. The problem is solved and i can get inside the link …

Member Avatar for essential
0
139
Member Avatar for eagled2

I am writing a page for work that uses php and mysql to store and view a list of common commands used on our servers. I want to make it fully dynamic. By this I mean the command field names are pulled from the database. This is so the managers …

Member Avatar for eagled2
0
121
Member Avatar for PRob99

I'm working on a problem where I need to use a one-dimensional array to write an application that inputs five numbers, each between 10 and 100, inclusive. As each number is read, it displays it only if it is not a duplicate of a number already read. The program should …

Member Avatar for dickersonka
0
2K
Member Avatar for andy91

Hi I'm a moderate level PHP developer and I'm trying to move to asp.net for a project but finding this a very difficult and alien experience. The hole ASP.net world is so different from the traditional PHP/mysql way of doings things. My head hurts. What I want to do is …

Member Avatar for dickersonka
0
202
Member Avatar for ranjitrouthu

good morning, i was recently joimed as DBA. so i want to know regarding dba. can u help me

Member Avatar for dickersonka
0
90
Member Avatar for ritika_khanna

i am working on a project on online railway reservation in asp.net using vb.net.in this,i want to use credit card for the payment of reservation of tickets .tell me how can i do this

Member Avatar for ravipabbathi
0
118
Member Avatar for hello420
Member Avatar for BillyMako

Why isn't this working???? [code=php]Echo ' <form action="show.php" method="post" onChange="this.form.submit()"> <select> <option value selected>select</option> <option value="1">1</option> <option value="2">2</option> </select> </form> ';[/code]

Member Avatar for Yipyo
0
4K

The End.