199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for El Duke

Hi Again, If I have this 2-D array stored in [B]s1[i][j][/B] : [CODE] one two three four[/CODE] And I wanted to copy the whole row IF the first letter of that [B]row ==o[/B] . How Can I do that ? assuming that the destination array is [B]s2[k][l][/B]. I am confused …

Member Avatar for El Duke
0
162
Member Avatar for NAB888

Hi everyone, Would someone please tell me how to hide the command prompt window while my Tk/Tkinter program runs, I'm kinda new to windows programming, but i'm doing all right. (except the command prompt window keeps sticking its tung at me) Thanks for any help, I appreciate it.

Member Avatar for eibwen
0
72
Member Avatar for Prabakar

When I searched the web, I found an intersting program, I dont think I can explain a bit. But, I would like to share it. It displays my home country thats the most I can say about it! Here goes, [CODE=C]#include<stdio.h> main() { int a,b,c; int count = 1; for …

Member Avatar for Prabakar
0
156
Member Avatar for rkittu2000
Member Avatar for jephthah
0
41
Member Avatar for Asat232

How to get lpBaseAddress to pass it to : BOOL WINAPI Toolhelp32ReadProcessMemory( DWORD th32ProcessID, LPCVOID lpBaseAddress, LPVOID lpBuffer, DWORD cbRead, LPDWORD lpNumberOfBytesRead ); It will be very helpful to me if someone can provide a snippet of code how to achieve that. Thanks a lot.

Member Avatar for jephthah
0
110
Member Avatar for WalkmanXD

Does java create an object in runtime or in compiletime ? Another Question : For embeded system [i.e. mobile phone] that have small memory, what happened if I created large number of objects ? Does JME [Java Micro Edition] uses Garbage Collector to free memory ? and how Virtual Machine …

Member Avatar for majestic0110
0
178
Member Avatar for CodeBoy101

Is there a way to chose where a program outputs text to a file ?(or read text from a file). As in selecting which line to start from.? Any help is welcome. :)

Member Avatar for CodeBoy101
0
144
Member Avatar for ceyesuma

Is there anything I can do to adj. searchList1 parameters? I noticed ?null: in the searchQuery1. What does this denote Thanks Steve query = java.beans.Beans.isDesignTime() ? null : entityManager.createQuery(resourceMap.getString("query.query")); // NOI18N list = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : org.jdesktop.observablecollections.ObservableCollections.observableList(query.getResultList()); searchList1 = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : searchQuery1.getResultList(); searchQuery1 = java.beans.Beans.isDesignTime() ? null …

0
75
Member Avatar for jpparis

I have VB programs intended to be used by other than English-speaking people. When I use MsgBox with vbYesNo, the buttons show "Yes" and "No" (obviously). While everybody understands that (fortunately) it doesn't look very good or if I cared not to have the buttons in the language of the …

Member Avatar for jpparis
0
245
Member Avatar for sddproject

hi! we have a project where on frm_playername there is a textbox where the user enters a player name and then a button on that form takes you to the game screen form and on this form there is another textbox that should display the name entered on the frm_playername …

Member Avatar for Jx_Man
0
124
Member Avatar for constrainer

I am very new to programing and C#. I understand a few of the basics but I am willing to spend many hours to work with and learn making silly programs that are of a little use to me. I am wondering what I would use to get a small …

Member Avatar for constrainer
0
108
Member Avatar for kaushik259106

Hope i am posting in the right place. Any pointer will be helpful. Am a learner so pls bare with me.. Thanks for that :) I was just wondering if i want to make a simple web apps (Say a user data will be saved to sql db) which of …

Member Avatar for kaushik259106
0
163
Member Avatar for bhavna_816

I have a datatable which is having n no. of rows and each row has a unique field say ID. Now I want to get a particular row for a specified ID. eg. there are 5 rows in a datatable and the id's are 1,2,3,4 and 5 and if I …

Member Avatar for corwing
0
114
Member Avatar for monster597

Hi I have design a basic JFrame which displays three buttons in a frame. The code is given below: import java.awt.*; import javax.swing.*; public class PaymentFrame { public static void main(String[] args) { JFrame f = new JFrame("Payment Frame "); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.setSize(800, 600); Container content = f.getContentPane(); content.setBackground(new Color(240,170,50)); content.setLayout(new …

Member Avatar for Ezzaral
0
127
Member Avatar for Nemoticchigga

Does anyone know how to convert a "String^" data type in a visual studio 2005 forms app to an "int"? Ive tried atoi and casting to no success. Any ideas? Thanks.

Member Avatar for Nemoticchigga
0
100
Member Avatar for Agni

Hi Guys... i'm not so good at oracle, sql and related stuff.. but i do need to write some simple query's from time to time and i do need to understand that which all tables get updated by a particular transaction. I can do that by going through the code, …

Member Avatar for alit2002
0
96
Member Avatar for cariocgl

------------PART ONE------------------ [code=syntax] if(navigator.appName == "Netscape"){ xmlHttp = new XMLHttpRequest(); xmlHttp.open("GET",xmlfile , false); xmlHttp.send(null); docObj = xmlHttp.responseXML; var objNodesname = docObj.getElementsByTagName("name"); }else{ var docObj = new ActiveXObject("MSXML.DOMDocument"); docObj.load(xmlfile); var objNodesname = docObj.getElementsByTagName("name"); } [/code] ------------PART TWO------------------ [code=syntax] for (i = 0 ; i < objNodesnames.length ; i++) { if(navigator.appName == …

Member Avatar for cariocgl
0
75
Member Avatar for boo_lolly

i'm writing a redirect.php page for a CMS. the admin user makes whatever changes they want to certain information in the database, then clicks submit. they are taken to redirect.php which handles all the sql commands depending on what the admin wanted to change. and then they are redirected to …

Member Avatar for almualim
0
175
Member Avatar for kxh29

Hello All! I am trying to do something simple. Which is why our application is failing miserably;) Anyway, I am attempting to use the itoa() - integer to ASCII function to convert an integer value, lets say [B]123 [/B]into [B]"123"[/B]. The code compiles successfully, however during the linking, it says …

Member Avatar for Radical Edward
0
111
Member Avatar for nouryn

i need help in c++ program I'm asked to make a phone book which can sort all the names in it alphabetically plllllz i need help

Member Avatar for nouryn
0
180
Member Avatar for MAPONYA

Write a C++ program ,that uses modularisation. The program allows the end user to enter a test mark which is converted into persantage by a particular funtion, the test mark is returned to main(), another funtion is called which detemines whether the student passed or failed if ist a pass …

Member Avatar for real_napster
0
145
Member Avatar for shigehiro

Hi all, I would need your expertise/advice on the problem I encounter right now when I tried to parse in the contents of .csv file. Here is the scenario: 1) I have csv file with the possible entries as follow: ProjCat,RefNum,ProjTitle,MemberName,ProjDeadline,ProjGrade --> Header I,0001,"Medical Research in XXX Field,2007","Gary,Susan",20.05.07,80 R,0023,Grid Computing …

Member Avatar for a1eio
0
260
Member Avatar for elementz

I just found a tutorial that teaches how to change the transparency of a text box with an Increase transparency and Decrease transparency button. I tried to work it but then realised the code was meant for C#. I am just wondering what code I would use to change the …

Member Avatar for marco93
0
128
Member Avatar for Raptoricus

Hi there, I've been writing in c++ for a little while now and am starting to feel more confident, I've noticed a possible error in a game I've been making, it is that when the player is inputting a character name, it is a possibility that they may put in …

Member Avatar for Radical Edward
0
171
Member Avatar for Dell XPS

I need to prevent the user from changing tab in a tab control until it clicks on the "Finish" button on the current tab. Thats all

Member Avatar for Dell XPS
0
229
Member Avatar for tones1986

Hey All - i working on a assignment for school. Given that, i would like to say i have attempted numerous ways to get this working, and its a simple part of teh assignment. Basically i am having problems with my 'insert node' method. I am unsure how i have …

Member Avatar for Radical Edward
0
113
Member Avatar for computers08

[code] double two( double, double); [/code] if the parameters are 17.5 and 18.3, what will it return? Please help

Member Avatar for Ancient Dragon
0
90
Member Avatar for vegaseat

This was a comment from ee_programmer in reference to one of the Python code snippets. [code=python]""" I was expecting the first class instance to only have one dictionary entry {'person0': 0} rather than two dictionary entries. Similar expectation with second class instance. How do I create and assign value to …

Member Avatar for a1eio
0
212
Member Avatar for computers08

[code] int test(int, char, double, int); double two(double, double) char three (int, int char, double); [/code] I need a statement for the function test with the actual parameters 5, 5,7.3, and 'z' please help

Member Avatar for Prabakar
0
94
Member Avatar for nandhinijp

Hi, I want to add comments in mysite.That means in my site i have the photos,user will leave the comment for that photos and also I want to reject some comments.How to create comments..Now i am using database to store the comments like their msg and name posted timings.But i …

Member Avatar for nandhinijp
0
66
Member Avatar for Dolly-Sweety

Hello friends, I want some help. If anybody can help me out for my problem. I am new to JSP. I am using NetBeans6.0 IDE , MySQL server for the database. I have differentiated my work between servlets,Javabeans and JSP. The logic of my project is stored in the servlet …

0
87
Member Avatar for nelledawg

Okay so I'm pretty sure I've completely destroyed this code. All I'm trying to do is send the user-inputted product info into a binary file to display when the user chooses the report option from the menu. I'm so confused though and I think I really screwed it up. [CODE=c] …

Member Avatar for nelledawg
0
101
Member Avatar for brightline

My web page contains a treeview. when the user select a node, how can I reset the selection to nothing i.e, making that no node is selected. thnx in advance.

Member Avatar for majestic0110
0
91
Member Avatar for Narasimhan

HI Friends, I am doing my project in a Web Application... Its about the tracking system.... I am actually very new to it.. So I need ur guidance... I am using 2 listboxes in a form for displaying the reports... In that one listbox will contain the details of the …

Member Avatar for Narasimhan
0
89
Member Avatar for ardeezstyle

Hi ! This is Me.... I want to start learning ASP.NET. I have done ASP and know the basics. So I just want to share the views of all the other members of this forum so that I actually learn the aforesaid subject very nicely.... Thanks Rupam 06/may/08

Member Avatar for ardeezstyle
0
154
Member Avatar for push

how to pass input to an java program through keyboard. If java programe is compiled at editplus.

Member Avatar for sushil4U
0
214
Member Avatar for swapna7999

i m doin a project in which i need to use ftp for that i need to include the modJPEG.bas anyone know how? thank u very much

Member Avatar for swapna7999
0
73
Member Avatar for Nithya.G

iam having usernames and user id in an xml file and iam having a .net apllication , when i give the username and password it should check with xml file and it should login if it is a correct user, otherwise it should not login. i need code for this …

Member Avatar for raj416
0
276
Member Avatar for mjzammit

Hi i am getting the following error when running my web application Server Error in '/' Application. -------------------------------------------------------------------------------- A potentially dangerous Request.Form value was detected from the client (TextBox1="<html><head><meta ht..."). Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This …

Member Avatar for majestic0110
0
132
Member Avatar for bhuwanrc

[code=cplusplus] #include<iostream> #include<vector> using namespace std; int main() { const int TYPE_OF_FISH=4; vector<Fish*>FishVec(TYPE_OF_FISH); FishVec[0]=new AustralianBass(); FishVec[1]=new EelTailedCatfish(); FishVec[2]=new GippslandPerch(); FishVec[3]=new ShortFinedEel(); cout<<"welcome for fish catching \n"; cout<<"press any to go out \n"; cout<<"keep pressing enter to get catch\n"; int i; Fish* aFish; char response; RandomInt d4(0,TYPE_OF_FISH-1); for(;;) { cin.get(response); if(response!='\n') …

Member Avatar for bhuwanrc
0
63
Member Avatar for Run.[it]

Im trying to figure out how to utilise a program that uses Aggregation of Classes, Im having trouble calling the operations of the Classes in my main. Could anyone assist where Im going wrong?! horse.h [code=cpp] #include <iostream> #include "distance.h" using namespace std; class Distance; class Horse { private : …

Member Avatar for Run.[it]
0
152
Member Avatar for HugoRocha

I need a way to convert a variable to an int or to ascii code, tried atoi, static_cast, didnt work very well... The objective is to detect if the user inserted any character other than a number, a number smaller than 0 or larger than 5, and send a message …

Member Avatar for HugoRocha
0
102
Member Avatar for Icetigris

I'm trying to make a class registration page, but for some reason, when I dump my query results into an array and use array_search on it, array_search comes up null. Any ideas? [code] <?php /* - if classes[] is set, see if any of them were selected - if yes, …

Member Avatar for nav33n
0
139
Member Avatar for alpe gulay

.,'is anyone knows how to open a new frame in java?help me pls. :'( ...i got difficulties with this one!!

Member Avatar for TheWhite
0
97
Member Avatar for asadullah

Detail About Recursion and its Type Here I am going to give a detail about Recursion in C++. Definition: Recursion is the process where a function is called itself but stack frame will be out of limit because function call will be infinite times. So a termination condition is mandatory …

0
177
Member Avatar for warjas816

I'm trying to create a program that counts and displays the number of times a specified character appears in a file I made. The file name is Test.txt, and says "this is a file I made to test this program." Here's what I've come up with, but it's not counting …

Member Avatar for mukulbhave
0
185
Member Avatar for bornok15

I am making a guestbook script I'll be using combo, listboxes and paging for the entries can anyone give me some tricks on how to do this? thanks guys...

Member Avatar for archangel_025
0
79
Member Avatar for jireh

Guys, A challenge for us... for you I mean lol! Can anyone of you have any idea on how to make an equivalent code of On Error Resume Next of VB to C#?. Note: [COLOR="Red"][B]Don't use a try catch[/B][/COLOR] Regards, Jireh

Member Avatar for jireh
0
735
Member Avatar for laoballer

I have a button that I have set to false on runtime until some event occurs. I would like to display a tooltip for the disabled button to inform the user what has to be done to enable it. tooltip doesn't show while the button is disabled but shows while …

Member Avatar for QVeen72
0
830
Member Avatar for ceyesuma

I am having trouble setting a query property for searchQuery1 I must be a return from a getter() (getSearchQuery()) Is it possible to set this query property using a return from a method? init: deps-jar: compile: run: [TopLink Info]: 2008.05.06 07:54:48.192--ServerSession(17548445)--TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007)) …

Member Avatar for ceyesuma
0
136

The End.