199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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. | |
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 … | |
| |
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. | |
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 … | |
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. :) | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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, … | |
------------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 == … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
[code] double two( double, double); [/code] if the parameters are 17.5 and 18.3, what will it return? Please help | |
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 … | |
[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 | |
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 … | |
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 … | |
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] … | |
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. | |
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 … | |
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 | |
how to pass input to an java program through keyboard. If java programe is compiled at editplus. | |
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 | |
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 … | |
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 … | |
[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') … | |
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 : … | |
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 … | |
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, … | |
.,'is anyone knows how to open a new frame in java?help me pls. :'( ...i got difficulties with this one!! | |
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 … | |
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 … | |
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... | |
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 | |
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 … | |
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)) … |
The End.