199,113 Archived Topics
Remove Filter ![]() | |
How to make a custom application setting?I mean i want to serialize Hashtable but AFAIK that can't be done in Settings.Designer.cs and therefore must be done in separate class.But i don't know how to access the setting in that new class from other classes where i need to use the … | |
Hi, I have a drop down when a user selects a number from the drop down he sees those many textboxes with first name and last name so if he selects 2 in the drop down then he sees 2 textboxes for first name and 2 textboxes for last name … | |
I just started learning about stl.... the problem is that 3 cases that i consider "equivelant", don't do the same thing...so the question is, why they are not equivalent? here are the statements: [CODE]cout<<(char)toupper(*pos)<<" "; //this works![/CODE][CODE]cout<<toupper(*pos)<<" "; //without cast it doesn't work, why?[/CODE][CODE]*pos=toupper(*pos); //and this also doesn't work cout<<*pos<<" … | |
I need help with this problem, ok so I am making a program for my brother that randomizes 2 things, a Number(1-6) and a Letter(A-E), I go for the randomize 2 numbers, one for the number, and one for the letter. So i was going very well, until I compile … | |
Hello guys, As some of you here will understand....and probably have gone through the same process I am going through now. I'm trying to develop my final year computer science project, but don,t know were to start from....cannot think of any ideas. All I need here is for some good … | |
I need to find the information about Client machine's Information like : Avaliable sapce on clinet's machine ? RAM size , Operating System, Is any way we can find this values . heard on some blog that by using Active X control we can get it but didnt get information … | |
I began to learn about Python perhaps an hour or two ago. In a Python tutorial, I came across the below text (between lines of equal signs) regarding default function arguments. This makes no sense to me at all. What is the scope and lifetime of L? It appears that … | |
Hello, I am a newbie in Python and maybe this is a stupid question, but when I run this code I receive a very strange output. [code] status = 0 for i in range(10): status = status + 0.1 if status == 0.1: print status elif status == 0.2: print … | |
Hi everyone, I need to be able to run a Java application (not an applet) directly, that is not from an IDE or the command line. How can this be done for a Windows PC? I have seen many applications written in Java, but are executed just like other Windows … | |
uhmmm.. we have this project, we were told to make an [B]output[/B].. [B]"A multiplication table" [/B]I know that you guys don't don't give help if we don't give it a try. It's just that I don't know how to make one or even to start it. Can I just ask … | |
If there is a file created and stored in a class: [code] void setLogFile(File LogFile){ this.LogFile=LogFile; } File getLogFile(){ return LogFile; } [/code] and the FormattedWriter is created in another class and it's constructor calls super. Why won't this work? [code] FormattedWriter out = new FormattedWriter(new FileWriter(getLogFile(),true)); [/code] | |
Hey, I've been searching around, having a hard time finding something. Are there any simple scripts out there or something that I can use to generate graphs from information in mysql database tables? ![]() | |
Can any one help me in generating a billing report in java without using any reporting tool. I should get the header, footer and pagebreaks.If the billing takes two pages then header should cum in first page and footer in last page..please help me I would be favourable for u … | |
Greetings! I have database file with dateformat on a field. I want to view the data on files according to its date range using vb6. Like for example i want to view a file for starting date = 23/10/2007 upto 23/11/2007. Range of date is one month from starting date … | |
Hi, Im having a problem here. I have 3 classes/frames. After arriving at the 3rd frame, i want to get values entered in the 1st first frame. All the variables in the 1st class are declared as Private. In order for me to get this value from other class, i … | |
I was a little confused by the brief explanation that my Assembly teacher gave on pipelining. I don't think I really understand the process that well... 1) In a 4-stage non-pipelined processor, how many clock cycles does it take to execute 3 instructions? Assume each stage takes 1 clock cycle. … | |
Hi all... I would like to create dynamic graphs for my web app. financial project...the charts should be flexible and changeable according to financial data (ratios) retrieved from the database (all stored in a datagrid)...Any idea what i could use ?? | |
Okay, so the premise is that this place contains items for sale, and has five of everything that it sells. The inventory is brought in from a file and with parallel arrays you set up the item names with the inventory in stock. I have that all down, but now … | |
Hey everyone. Noob poster here so bear with me. So the code below makes a drawing of a face move around the graphics window. However, the face is noseless. My dilema is that I absolutely can't figure out how to add a nose to the face and have it move … | |
i have written my homework problem but get 7 errors in it. the errors seem to be comming from this line as well as others like it. any help would be greatly appreciated. this is my first year doing this and is somewhat confusing. I need these lines to be … | |
Dynamic GUI Hello people... really I dont know if this is the correct name (Dynamic GUI) but I wanna ask u how to build dynamic JButtons .. 4 example : the number of the buttons in a frame not static ... (user enter it) at the begging and the buttons … | |
Peace, I tried to replace a string with a string: [CODE] <?php $Msg=$_POST['Msg']; $arrA=array(' ' ,'-red' ,'-blue' ,'-green' ); $arrB=array('</font>','<font color=red>','<font color=blue>','<font color=green>'); $Msg_B=str_replace($arrA,$arrB,$Msg); echo $Msg_B; ?> [/CODE] It works well, but if someone typed "-rEdasddsadasda cccc" not "-redasddsadasda cccc" or "-REDasddsadasda cccc" or anything like that how will my … | |
Can someone tell me what i'm doing wrong: [code]#include "stdafx.h" #include <iostream> #include <iomanip> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { const int MAXGRADES = 5; int i, grade[MAXGRADES]= {0}, count = 0; double Avg, sum = 0; for (i=0; i < MAXGRADES; i++, count++) { cout << … | |
Having some trouble with my number guessing game. The object is that the user thinks of a number between 1 and 100 and the computer tries to guess it in a set number of tries. The user inputs an "l" or an "h" if the guess is too low or … | |
i dont understand what the function "flush" does please answer and one more, is there a way that we output a set of data only after a certain while in program execution without storing it in a file and again printing it after reading from that file eg.... i declared … | |
I am creating a check register for class. We are working on functions - pass by value and pass by reference. I have created all my functions and they seem to be working. However; there is a problem with my currentBal calcuation. When you have an inital transaction the transAmt … | |
I'm in the end of my final year project which is the time of developing. I'm confuse to use which program language to do my project as all current programing language i have a very basic of it only. current basic knowledge i have in are java, programing c and … | |
Hi All, I am trying to parse an xml file. Not using any of the regex or parsers, simply using only java code. Any suggestions? Thanks ![]() | |
can anyone do recursive binary search using a single argument ![]() | |
Hi! I have a problem on my program.. I created a dynamic button which i created during runtime and im done with that.. My problem is i dont know how to put codes in that button which i created dynamically. When i click the button i want to display an … | |
I want to retrive data for this path which i can do, but the problem is I want the lastpart i.e. 1378 to increase by one every time "http://www.cric8.com/livescorecard/od_minicard2_1378.html" How can I do that in [COLOR="Red"][B]VB.NET2003???[/B][/COLOR] | |
i have this code which is supposed to increment a counter on page [CODE] <?php //create a file called counter.txt and upload it to your server //now open the file $fp = fopen("counter.txt" , "r"); //read in the current count $count = (int)fread($fp, 1024); //increment the count by 1 $count++; … | |
can any one help me out. When I take a print,the path of the document is printin at the bootom of the page.Can anyone say how to remoe it while printing It is printing as file://C:\Documents and Setting\administrator\etc... But, I don't want to print the 1. link path ex. file://C:\Documents … | |
How is the best way to back up Outlook 2003 Contacts. I want an external back up that I can transfer contacts to another computer and do it daily if need be. | |
Hi All, I'm developing an application using VB 6.0 & using MS Access 2000 as backend. How many records can I store in a table? Is there any such limit? | |
i need help with this assignment i have this class and i need to implement the functions and the main i've implemented it but i want to check if its right and i have a problem in writing the main [code]#ifndef #define class GBook { public: GBook(); void inputGrades(); void … | |
How do I "pad" my input to a certain number of bits, say 111 bits more than the original input? Any ideas? | |
I have a big problem i want to put 2 buttonlink in one page. Can we make it friends... I have sent a sample just help me friends. Thanks | |
I am using oracle query in that four fields are number. I am subtracting that field such as (field1 - field2 -field3 - field4) as DNF Actually I am creating query in view. While creating this view the last field DNF is created as varchar2(40) automatically. I am using this … | |
I have downloaded the source code for the .AVI format but when I compile the project, an error is reported which when simplified, is "[Build Error] *** multiple target patterns.". Also, the line which gets highlighted by due to the error is the line 25 which has the phrase "$(BIN): … | |
hello every1, really i need help on how i can make a login form that works and is connected to my database using ADO my frmlogin is composed of 2 textbox (txtuser,txtpass) and 2 command buttons (cmdlogin,cmdcancel) and my database name is (MAINDB2) inside MAINDB2 is (tblReg) fields inside tblReg … | |
I'm a new user to Visual Studio .Net, writing most of my projects in C++. I have this problem with the OO paradigm when I tried to apply it to my projects. Variables for classes which I described in eg. dXmanager.h fails to appear in my dXmanager.cpp; when I try … | |
Please send a sollution to this . I have a csv file named file.csv. I need to read that using array and then sort them based on the column. please can you help in the sorting technique. | |
again im in need of help =( how can i show a random cell in a field on a textbox?? suppose my database(access2003, and using ADO) is -->MAINDB-->tblQuiz-->the field inside is "Question" and my form have 3 textbox.. when i run it, how can it display a random data from … | |
hi guys i need ur help to do my homework i have this question Write a program that helps students to learn multiplication. Use rand to produce two positive one-digit integer. It should then type a question such as How much is 6 times 7? The student type the answer. … | |
I just started c++ and programming and need some major help. I am trying to convert binary to decimal. I have searched through everything and its all to hard for me to understand,and uses terms ive never seen. I need to convert the binary to dec, using % and / … | |
Hi all, I am good in Java.But I dont have any idea about PHP. With this matter in mind please suggest me which to choose(PHP or JSP) to create my own forum. (coding my own forum..not using exixting freeware forum).... What are the pros and cons of using JSP.(I dont … | |
am still hoping on some thing, the reason for the project password authentication without data base is to circumvent the security issue of password verifier being stolen on the server which can still make the adversary to implicate a rightful user i have an idea but the only problem i … | |
I am creating a program that will convert seconds into hrs mins and the remainding seconds. I've got the hours part down but for minutes im trying to use the remainder funtion. [code=cplusplus] #include <cstdlib> #include <iostream> using namespace std; int main() { int secns, mins, hrs, convs, sec, sph, … | |
Would anyone be able to help me get started on writing a program to implement a page-replacement algorithm suchs as FIFO? |
The End.