199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Swemp

Hi, Can I check a two-dimensional array like this ? The content of the arrays are of type [I]char[/I] [code=c++] matrix[0][0] == matrix[1][1] == matrix[2][2] [/code]

Member Avatar for Swemp
0
108
Member Avatar for smorton123

I'm almost finished my lottery program but having trouble with the validation. In the program the user enters their own numbers, these numbers are then stored in the array user. I want the program to validate these numbers to ensure each number is between 0 and 49. I have tried …

Member Avatar for jsosnowski
0
232
Member Avatar for ~gamer4life~

hey again! im wondering if there is a way to make a 2d game in java "FREE" Is there a program to do that? and srry for double posting :-) im just trying to figure out what im making...

Member Avatar for Ezzaral
0
66
Member Avatar for Phil++

Hey, I am creating a project that writes to a file. The problem is that I don't want it to write to a file on my computer but to a file on my server. I am using this [CODE]ofstream myfile ("www.myurl.com/test.txt");[/CODE] What I want to do is open that file …

Member Avatar for Phil++
0
61
Member Avatar for hhamdan

Hello everybody, I am looking for a way to filter an Robt spam in coldfuion, i had look to the recaptcha, but it is not clear and it is not easy for customers. any body have another idea, ....help please

Member Avatar for buddylee17
0
106
Member Avatar for kodingkarthik

Hi all, I am new to Asp.net programming and i have a requirement to retrieve the values from the database and allow the user to edit the values and then save back thechanged values. I have written the code for saving the form fields values to a database but now …

Member Avatar for SheSaidImaPregy
0
186
Member Avatar for mikewalsh89

Ok, I am writing a program to find the root of f(x)= x - cos(x) using Newton-Raphson method. I implemented a loop and have calculated the root with no problems. However I want to break the loop when the difference between iterations = 10^-8. how exactly can I do this. …

Member Avatar for Nuez_Jr
0
149
Member Avatar for Yamazaki

Hi, i need a little help here, in my app i've created 3 users by ASP Web Site Administration Tool and i want each user to be redirected to different pages from the login.aspx. i.e. username1 enters his username and pw, press the login button, he should be redirected to …

Member Avatar for Pandat
0
103
Member Avatar for lonely girl

[B]helllllllo friends please can u help me???? i have project about creating currency converter using jGRASP i made the enterface using jframebuilder but i dont know how to complete it...i really need ur help friends :'( [/B]

Member Avatar for Ezzaral
0
3K
Member Avatar for Tekito

I'm new to datasets, and trying to update a SQL Server database with one. I'm having trouble understanding how to correctly write the dataset info to the server db and preserve the relationship keys. When I write to the main table in the server database, it will assign the new …

Member Avatar for Ramy Mahrous
0
115
Member Avatar for danielpataki

Hi everyone! I'm working on coding my own forum and I have no problem with this, I would like to ask those of you knowledgable about the inner workings of php and mysql about which method is faster. So far I have always been determining post counts, discussions started counts …

Member Avatar for danielpataki
0
136
Member Avatar for jmasta

Hello everyone, I've ran into something that's been confusing me. Here's my code snippet: [code] if (parent.scrollTop < parent.scrollHeight) { if(document.fireEvent){ //IE setTimeout("document.fireEvent('onmousemove')", 10); }else{ //FF var changeEvent = document.createEvent("MouseEvents") changeEvent.initEvent("mousemove", true, true); setTimeout("document.dispatchEvent(changeEvent)", 10); } } [/code] What happens in Firefox is when the [icode]setTimeout[/icode] fires, it tells me …

Member Avatar for jmasta
0
299
Member Avatar for Bladtman242

I know there is [i]a lot[/i] of threads about books but i didn't find what i was looking for:) so here goes. how is the book ^^ made? does it explain the commands? becaus im a bit fed up with tutorials that just say "write this and write that" when …

Member Avatar for Bladtman242
0
164
Member Avatar for viron

my view about this topic inheritance mean everything from parent class comes down in child class that is instance data,method,final data except thing declared private while in case of interface only final data and signature comes down from parent to child class that is instance data,method, doesnt comes down by …

Member Avatar for verruckt24
0
111
Member Avatar for smartness

Hi, I'm maintaining a script, and want to add a CallBack home function, to know which domains are using the script! Can someone help me on this one! All i need is the script to show me the domain where the call is comming from! Thanks in Advance!

Member Avatar for mschroeder
0
345
Member Avatar for finance-blog

I have some code that is called from with other files, using readfile so there is no referer etc. To authenticate that the request is where it should be from, the php is passed a calling url as part of it parameters. The idea is that I can then check …

Member Avatar for digital-ether
0
118
Member Avatar for kiransarv

Hi all, I have a file which have ip's of three servers say servers.txt. I am opening the file for every request. Instead I want to load the file for the first request and from the next time onwards. I have to avoid file I/O. How can I achieve this …

Member Avatar for mn_kthompson
0
121
Member Avatar for purplegerbil

Hi, I am wanting to get some data from an Excel spreadsheet. My problem is the data in the cell has been formatted. i.e. This is [B]sample[/B] text. I want to be able to know which bits are made bold and create a string similar to: This is <b>sample<\b> text. …

Member Avatar for Comatose
0
125
Member Avatar for perl1user

calling C/C++ function from perl from : [email]cvv3@yahoo.com[/email] Hi, how do I call a compiled C/C++ function from perl ? Let say I have a C/C++ function: [code] *char func(char *ptr, int len) { ... return str;} [/code] Now i wonna call it from perl

Member Avatar for perl1user
0
122
Member Avatar for TomRandall

Hi, Is there an easy way to loop through an array of controls (user specified, not every control on the form) and disable them? At the moment I'm just disable/enabling them one by one e.g. ctrl1.enabled := false; ctrl2.enabled := false; .... ctrl22.enabled := false; etc. Is there a way …

Member Avatar for LizR
0
174
Member Avatar for shivani15j

i m using session in my website(ASP) but after logging in if i don't acccess the page for 5 minutes session expires n if i continously access some pages then after 15 minutes session expires.i have used global.asa file then same problem occurs and if i dont use global.asa then …

Member Avatar for ardeezstyle
0
128
Member Avatar for balamurali07

Dynamic reports means depending on the inputs the reports will be generated. For example if we want to show the details of particular day means the particular date is the input and show that days reports. If you know the answer means please give me the solution.

Member Avatar for Comatose
0
113
Member Avatar for ezkonekgal

before anything else, i have a question. How can you have a multiple stack in one vector using node/linked list? i don't get the concept of linked list yet. Anyways, this is my problem: [B]Create a Java class definition of a multiple-stack in one dimensional vector. Implement the basic operations …

Member Avatar for ezkonekgal
0
310
Member Avatar for chinni1

Hi Frends, Can I use View Insted of query in my code. If yes Then plz tell me how can. [code=asp.net] Protected Sub checkavailabilityusername(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewInsertEventArgs) Handles usersformview.ItemInserting Dim name As TextBox Dim username As String Dim Query As String Dim dr As SqlDataReader Dim …

Member Avatar for chinni1
0
133
Member Avatar for vbuser44

hi I have two forms, form 1 has list1 and form 2 has list 2. I need to use one context menu (cmenu)which is work in form 1 and it must be in work form 2 too the same context menu.. but there is a problem with Print Preview which …

Member Avatar for Teme64
0
127
Member Avatar for smile4evr

hi all.... this is another thread on datareports... i need to know how to work if i have an sql and i wish to give it in my front end and run the report from the front end... please help!! thanking in advance!!

Member Avatar for Teme64
0
63
Member Avatar for dongodwins

am currnetly writing a scripts that can rorate banner ad.the scripts is working but still having problem its working perfectly,need something,Each advert change shall be logged in a file. Make a script that prints the log in a readable format when accessed through the web server.this is my codes can …

Member Avatar for dongodwins
0
94
Member Avatar for Alexpap

Hello All, i have an aplication to make that converts a rtf text into html and then the html code must be shown into a web browser. What can't I do is to convert the HTML Code into a html website. To make myself more clear, what i want from …

Member Avatar for Teme64
0
96
Member Avatar for manoj_582033

Good Morning I am using vb.net & access ,I have a office.mdb file ,now i want that when i click on a button that automatically must have that .mdb file & than must display a savedialogbox & where user give the location for saving that .mdb file that must be …

Member Avatar for Teme64
0
109
Member Avatar for bharanidharanit

Hello sir, I want to search for nodes from the text given in textbox1. After the search i want only those nodes to be displayed in treeview.

Member Avatar for Teme64
0
1K
Member Avatar for jeffreyjs

Hi, I am currently doing a mini project using Eclipse with Java language.. i needed to submit some values into the DB, but i am having some trouble to do so... i would like to find out if i need to create variables for all the values i want to …

Member Avatar for peter_budo
0
312
Member Avatar for muhammad ismail

hi every body, plz someone explain in detail "Sql Command Builder" in Vb.net. Also i need a Code to develop "SMTP server" i mean that i want to send an email from my own project , how can i do that, plz explain.

Member Avatar for Comatose
0
65
Member Avatar for rajuprasad82

Can any help me in doing a project on online examination in VB, I want a code in which, the program will fetch 10 questions from data base randomly. The data base having more than 10 questions. The data base would be of questions and there answers and the answers …

Member Avatar for Comatose
0
130
Member Avatar for aramakri

I have a wstring variable which holds a value of a time("20090106103842") in the format YYYYMMDDHHMMSS. How can I convert it to a time_t format

Member Avatar for Murtan
0
58
Member Avatar for jaiprakash15

hi all, I have a XML file like as shown below.. i need to replace the value of status for a particular task..can u help me how to do it.. <?xml version="1.0" encoding="utf-8"?> <Task> <TaskName tskName="PS0002440" Status="Open" /> <TaskName tskName="PS0002439" Status="Open" /> </Task> in the above file..i need to change …

Member Avatar for Ramy Mahrous
0
164
Member Avatar for jaiprakash15

Dear All, AM creating a XML file from my Database. I have created Sucessfully and now i need to append a another node to this below XML file Ex : <TaskName Value="PS0002440" Status="Process" /> I use the following code to create this below XML file. Am passing the Value and …

0
103
Member Avatar for mrnutty

I am just curious, just how much of math do one really needs in order to make, say space invaderes, or pacman....WOW,..NBA LIVE 2009? It's not that i am bad at math or anything, in fact I am pretty good at it and still learning, calc.II. BUt i am curious, …

Member Avatar for mrnutty
0
143
Member Avatar for Crul

Hi, I'm programming a simple line editor but I'm running into 1 issue that I just can't seem to figure out. I'm not the greatest at C++, if somebody could have a look I would be grateful. Basically I have this Main... [url]http://pastebin.com/m6e249679[/url] Then I have this source file... [url]http://pastebin.com/mdb671dd[/url] …

Member Avatar for Ancient Dragon
0
118
Member Avatar for RenFromPenn

Hi, Okay, so what I am actually trying to do is open a file, convert any lowercase text to uppercase, and then print it on screen. I thought it best to first just begin by trying to open a file and display the contents on screen. I figured that once …

Member Avatar for Ancient Dragon
0
887
Member Avatar for xyzt

Hello It would be great if someone suggest me a library for handling configuration files.Is there a general method for this job? PS:i need it for *nix platforms Thanks in advance.

Member Avatar for Ancient Dragon
0
120
Member Avatar for SSJVEGETA

Good morning everyone. I am having trouble connecting my MySQL database to a JTable in Eclipse. I keep on getting an exception and receiving this message "Unable to find and load database driver". Here is a sample of database code for the program: [CODE]class QueryTableModel extends AbstractTableModel { Vector cache; …

Member Avatar for JavaCool4Me
0
178
Member Avatar for ahnoldschwarz

I want to get into game design, but I'm not sure which programming language I should learn first. I'm going to use resources on the internet, but mostly I'll be teaching myself. I want to be able to design smaller games first and build a portfolio, and I eventually want …

Member Avatar for michinobu_zoned
0
448
Member Avatar for marsheng

I am trying to get two files to work together. The customer file Cust with an Index on Accno and a job file Job with same index Accno. I have to admit I have not got my heard around datasources and tables as yet. I can only get the Cust …

Member Avatar for LizR
0
125
Member Avatar for srubys

hi Just a few days ago I've started learning C#. BTW - I hope I'm not breaking any forum rules by putting three questions inside a single thread, but I don't want to "spam" this forum by making too many threads. 1) From the book: [quote] A field initializer is …

Member Avatar for LizR
0
164
Member Avatar for Bladtman242

I know i can use fstream to create, edit and read files in c++, i also believe there is a different way wich i am unfamiliar with. but is it possible to work with files NOT in the same directory as the program? like if the program is in C:\programfiles …

Member Avatar for Bladtman242
0
285
Member Avatar for shazzy99

Greetings, How to change a file name using C# code with fixed path to the subject file? Do I need to copy/create a new file with new name and delete the old one or is there a way to change the name without doing above. Rds

Member Avatar for Ramy Mahrous
0
286
Member Avatar for RenFromPenn

Hi, I need to create a menu of items that the user can select from. These choices will either create a linked list, add an item to the linked list, modify a current entry in the list, delete an entry, display the list, or exit the program. I have looked …

Member Avatar for Aia
0
190
Member Avatar for TAboy24

Hello friends,happy new year all.. I'm trying writing classes Item to include int Quantity,String name and a new&different&immutable serial number will be produced automaticly for every item...(then being able inherating the Item for sub classes for types of food) Also i'm trying build a proper class Stock enabling to manage …

Member Avatar for BestJewSinceJC
0
102
Member Avatar for RenFromPenn

I was working on some programs and now, no matter which one I run, I get an error like this: Unhandled exception at 0x00411be0 in program.exe: 0xC0000005: Access violation writing location 0x00130000. Any ideas what is causing this or how I can fix it?

Member Avatar for MosaicFuneral
0
231
Member Avatar for loudstil

Hi to all, I wrote a code, and it gives me divide overflow, but the issue here is that when I run the program trough the debugger it works fine, but when I run the program in the dos mode it gives me Divide overflow error. here the code: [code=assembly] …

Member Avatar for loudstil
0
155

The End.