132,726 Archived Topics
Remove Filter ![]() | |
hi every one I want to weite a pice of code that if specific condition happened I set the focus on a textbox. I prefere that have a colornotification as well. any one knows how to do that.in vb.net express Software Development vb.net | |
I'm a newbie working on a program in C# .Net 2003 I'm trying to resize my user controls to populate them on another form. I've already coded a program in .Net 2005 in it I used auto size my user control through the properties window... 2003 doesn't have that as … Software Development | |
can anybody pls tell me the full examples of address operator overloading,assignment operator overloading stream insertion operator overloading and stream extraction operator overloading? Software Development c++ | |
Hi all, In my MFC application I've create two buttons, OPEN and CLOSE, used to open a text file and close it. I do it as follows. [CODE=cplusplus] void CSRFToolDlg::OnBnClickedOpen() { char* ReadFileName = "G:\\Work On\\CPP\\SRFTool\\text_file.txt" ; if(openFile.Open(ReadFileName, CFile::modeCreate | CFile::modeReadWrite)) { AfxMessageBox("File creates successfully", MB_OK) ; } else { … Software Development c++ | |
I'm attempting to write a function that scans a number from the user as a string and converts the string to an array of int type, then reverses the order of the array and puts zeroes where no scanned data exists (eg. program says "Enter a number up to 5 … Software Development c++ | |
I have to take in a list of song names. When the user types in "mmm" then it stops, and it spits out the first and last song titles in a sorted list (alphabetically). This is what I came up with, and there's many an error, all seemingly bool errors. … Software Development c++ | |
Hi friends, Can you pls tell me about "[B]explicit template instantiation[/B]". Suppose I have a simple program : 1. File : TClass.h [code] #ifndef CTCLASS_H #define CTCLASS_H template<class T> class CTClass { public: CTClass(T t1, T t2); ~CTClass(); T add(); private: T cm_T1; T cm_T2; }; template<class T> CTClass<T>::CTClass(T t1,T … Software Development c++ | |
Hi all Newbie to visual basic. I need to create an application to read and write in information into database. It is a prototype that y i choose to use Access as my database. I am having problems connecting database to VB. I choose Microsoft Access as data source. It … Software Development microsoft-access visual-basic | |
Hi All I have created a script which will email output if the file contains data, this works. But when the file contains 0 data, it tries to email but hangs, when i hit ctrl D, it ask for Cc: address, i then cancel this then it emails me out. … Software Development shell-scripting | |
Hi everyone...good day to you all....I am looking for more information about RR Scheduling....you see I started to do my project in our OS subject which is FCFS program and RR program....and I finish with FCFS program but the problem is I can't start the RR program because I don't … Software Development java | |
Could someone please give me an idea on how to do this? Suppose you have a group of people that needs to be transported on buses and vans. You can charter a bus only if you can fill it. Each bus holds 50 people. You must provide cans for the … Software Development c++ | |
Hi all, I have a case. Example: In Windows, I click a test.doc. my program running than it showmessage test.doc. and and then I click again dodol.doc.. my program is running... and it show message dodol.doc. any program I open.. It show the message (the file name).. How to create … | |
Hi everyone, I'm new here and I'm looking forward to seeing how everyone codes in python. I'm a complete newbie, who has never done any programming in his whole life (except for the past 2 week). I read the guidelines about asking for help on assignments, and I wouldn't have … Software Development python | |
Can someone tell me why this SQL Command at the end is not working? I am a noob, but I have tried everything I can think of and I am getting nowhere. There is no literature on how to do something like this... It would have to be my first … Software Development c# dataset microsoft-access open-source sql | |
I'm trying to simulate a typewriter effect in an applet. I have a main box and input box which I want to copy the input text letter by letter in to the mainbox. The problem I'm having is when I try to sleep it sleeps the whole time then prints … Software Development java java-swing | |
Okay i am trying to make a lock this is my code: [CODE]#include <iostream> using namespace std; int main () { char key [10]="abcd"; char answer[10]; cout<< "password:"; cin >> answer; if( key == answer) cout << "correct"; else cout << "incorrect"; return main(); }[/CODE] when ever i try to … Software Development c++ | |
I wish to a write a program that creates an array of 100 random integers in the range for just argument sake from 1 to 200 and, then use a sequential search to search the array 100 times using randomly generated targets in the same range. Can anybody please help … Software Development c++ | |
Help! I need to copy a char array initialized as a string from one array to another, using a function containing one line of code. Here is the code: [code]#include <iostream> using namespace std; void cpystr(char *instr, char *outstr); void cpystr(char *instr, char *outstr) { [COLOR=red]//Insert line of code here[/COLOR] … Software Development c++ | |
I am having troubles with a program I wrote to count letters in a string. Here is the program: [code=C]#include <stdio.h> #include <stdlib.h> #include <string.h> int i; int length; int ascii; char cipher[3]; int letters[26]; int main() { char cipher[10] = "ABC"; /*Or an inputted variable, but that's not important … | |
i wrote a program with switch statements and now i have to write with while loop the same programram. Please say me where i am worng. my if program: [code=c] char letter ; printf("enter the antibiotic sample >>>>> "); scanf("%c", &letter); switch (letter) { case 'N': case 'n': printf("Perform standard … Software Development c | |
I am currently trying to write a program that: [quote]Write a program to count and print out the number of copies of the letter 'e' that are found in a pre-specified string. (By "pre-specified", I mean you should declare and initialize the string right in your program, rather than reading … Software Development c | |
Write a C++ program that will read user's full name into a C-string. User will enter first name followed by one or more spaces and then the last name. Also, obtain user's student ID also into a C-string. Pass the name and ID obtained along with another C-string to a … Software Development c++ | |
I'm new to C++.. and killing my brain to find this 1 error and cannot figure it out!! I don't understand why square cannot equal true??? or false?? this is my 3rd program for my class to turn in!! Any help would be appreciated!! Eddy //This program allow the user … Software Development c++ | |
hai, me again, i would like to create a data report by adding the report labels and textboxes at runtime. Is there any ways to add the controls to a report dynamically Software Development visual-basic | |
I have a project where the user selects from 4 combo boxes, and I want to "Keep Score" based on their selections in those combo boxes They pick the 1st item in the 1st cbo box, it adds 1, if they pick the second item, it adds 2 and so … | |
Hi all, I'm a beginner in JAVA studying SWING. I learned that if we want to handle an event for a event source(say JButton) we should implement corresponding Event Listener(say ActionListener) . I also understood that we should register the Listener with that event source. With that knowledge I tried … Software Development gui java java-swing | |
HI CAN U PLS HELP ME IN ADDING SOMETHING TO THIS PROGRAM TO BE LOOK GOOD. HERES THE PROGRAM I'VE MADE. #include <stdio.h> #include <conio.h> int a,b,c; int main() { clrscr(); printf("Enter Number:"); scanf("%d",&c); switch(c) { case 1: printf("\t\t\tJanuary 2007"); printf("\n\t"); for(b=1;b<=51; b++) { if(b==51) printf("=\n"); else printf("="); gotoxy(9,3); printf("Sun\tMon\tTue\tWed\tThu\tFri\tSat\n\t"); … Software Development c | |
I'm having problems writing records to an output file. When I do it in Textpad running on Windows, the output file looks fine. When, however, I copy the script to a Linux machine and use the exact same code, it appends a ^M character on each line written to the … Software Development file-system perl | |
Hello, I am working on a project and I need to go to multiple news web sites and get articles pertaining to stock numbers. My ideas so far have been to download an RSS file from somewhere like Google Finance, and then extract the links out of there, follow them, … | |
Will someone help me on how I should start this? I am trying to write a program that will find the average of a series of integers and store the result in the BX and AX registers. e.g Main array = 4, 1, 28, 11, 2, -28, -7 The result … Software Development assembly visual-studio | |
![]() | i have done a simple program, which i asked..(don't know how many days ago.) but i find that there is a problem.. if i give an input (for example) 1234 it shall reverse back 4321 (it does) when i key in 100, by right it should return 001, but it … Software Development c |
hi how to disable the url in browser.for ex:http:\\localhost:8080\webapp\one.jsp; but i need http:\\localhost:8080\webapp.user must not know the wat jsp he is using. Iam not using frames.plz reply.thankx in advance Software Development java | |
Hi, i've been trying to create a program for implementing high/low pass filters on images. I get the data from a 24 bit .bmp file using the old file handling techniques. The file handling portion of my program works like a breeze, it is the arrays that are giving me … Software Development c++ | |
Hello, When I run my code below, it lets me pick a number and seems to go through my first IF statement fine. However, after I get through my first IF, I'm wanting it to then add to my tries so that when I go over 5 or more tries, … Software Development c | |
Hi I am trying to get to grips with querying an access database and displaying the information. I have started with a coun sql command to just return the number of rows but wanted to display this to the screen but each time it shows as null - there are … | |
Hi i am writing a program to calculate the area of a shape using functions. I got the program to work fine when there was only one function and one shape however when i added the second one the program will still run both functions. That is even when i … Software Development c++ | |
[COLOR=green]Hi,[/COLOR] [COLOR=green]I am new to C#. I have compiled and executed the following program in Microsofr Visual Studio .NET 2003 .[/COLOR] [COLOR=green][COLOR=green][COLOR=green]using[/COLOR][COLOR=green] System;[/COLOR] [COLOR=green]public[/COLOR][COLOR=green]class[/COLOR][COLOR=green] Enumdemo[/COLOR] { [COLOR=green]enum[/COLOR] Color{ red, blue, black, green } [COLOR=green]public[/COLOR] [COLOR=green]static[/COLOR] [COLOR=green]void[/COLOR] Main([COLOR=green]string[/COLOR][] args) { Color Mycolor; System.Console.Write("Enter the values: 0 for red 1 for blue … Software Development visual-studio | |
[code] #include<stdio.h> #include<conio.h> #define n 20 main() { int d,p; int b,i,n,bt[20],at[20],num; int arr[20]; clrscr(); printf("ENTER THE NUMBER OF PROCESSES: "); scanf("%d",&n); for(i=0;i<n;i++) { gotoxy(10,5); printf("PROCESS: %d",i+1); gotoxy(25,5); printf("BURST TIME : "); scanf("%d",&bt[d]); gotoxy(50,5); printf("ARRIVAL TIME :"); scanf("%d",&at[p]); } gotoxy(29,20); printf("SELECT ALGORITHM"); gotoxy(29,25); printf("\n[1] - SJF"); gotoxy(29,30); printf("\n[2] - SRTF"); … | |
Hi, this is a mathematical question, but I'm doing it in VB so I thought I'd post it here... A person is shown a total of 10 numbers. When a number appears on the screen they have to type that number into a text box and if they get it … Software Development visual-basic | |
hi, i am reading the book "The c++ standard library -- a tutorial and reference"{N.M.Josuttis} in the beggining of the 6th chapter it says{in regard to container initialization}:: [CODE=c++] std::deque<int> c( (std::istream_iterator<int>(std::cin)), (std::istream_iterator<int>()) );[/CODE]{the weird indentation is on purpose} instead of:: [CODE=c++]std::deque<int> c(std::istream_iterator<int>(std::cin), std::istream_iterator<int>());[/CODE] because [QUOTE="N.M.Josuttis"]In this case, c declares … Software Development c++ | |
[code]Want to have conversion of Long Array to string. [/code] Software Development java | |
hi all, i have the following xml file. <rss version="2.0" xmlns:media="http://tools.search.yahoo.com/mrss/" > <channel> <title>SWF media</title> <link>http://www.blogdigger.com/media/</link> <description>Recent .swf files found by Blogdigger</description> <item> <title>Dollar Bus Rolls Into Town</title> <link>http://feeds.feedburner.com/Chicagoist?m=1115</link> <description>some description</description> <pubDate>Thu, 23 Mar 2006 14:11:57 EST</pubDate> <enclosure url="http://www.kitschn.com/flash/MenuCoverPage-DrinksMenu09-05.swf" type="application/x-shockwave-flash"/> <media:content url="http://www.kitschn.com/flash/MenuCoverPage-DrinksMenu09-05.swf" type="application/x-shockwave-flash"/> </item> <item> <title>E-mail</title> <link>http://billarnold.typepad.com/poet_in_motion/2006/03/email.html</link> <description>description 2/description> <pubDate>Wed, … | |
HI....to all members of daniweb...I am looking for code of RR Shceduling using JAVA... I am grateful if somebody would like to help me to it...and tanks "nalang daan"!!! from PHillippines Software Development java | |
I'm currently making a program that gives the person who uses it information about the costs for a shipment. The transport company changes it numbers quite often, so in Excel the numbers are easier to change. I want to have, let's say, C3 be displayed every time in VB in … Software Development visual-basic | |
Hi I am using VB6 and Crystal Report 8.5 and Access for programming. When VB form prompts me to enter the month for which report is required and if I enter say [B]January[/B] then the text should appear in the heading of the Report after my text [B]" Expenditure for … Software Development visual-basic | |
I am working with a delphi form that appears to have a rather interesting problem. I am developing on a laptop sitting at 1920X1200 resolution. On my form, I have a trio of components. One is permanently invisible, and clicked to align/left. The next is permanently visible, and clicked to … | |
(// See my program below-after the question) The program is supposed to do the following: Repeatedly offer the user the following 10 menu options (they must enter the option number): (1) insert n values in the array, starting with position 1. (2) insert n values immediately after the last entered … Software Development java java-swing | |
Hai everyone, I am working with one Image/Video Application using JSP. In my jsp i need to displaying and playing a video file. I am using the following Embed tag, for the video file. [code] <OBJECT ID="mediaPlayer" CLASSID= "clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CODEBASE= "[URL]http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701[/URL]" TYPE="application/x-oleobject" STANDBY="Loading media player components..." HEIGHT="200" WIDTH="250"> <PARAM NAME="showcontrols" … | |
The End.