132,726 Archived Topics
Remove Filter ![]() | |
Hi, I'm trying to pin an image to a button, using the 'image' option. I've looked about on the net and it seems the best way to do it is to create the image in a PhotoImage object. I've done this and then stuck it onto the button but for … Software Development python | |
If I do a public inheritance and the member data in the base class I'm deriving from is protected, is the only way to access the data in the base class via member/friend functions of the derived class? Software Development c++ | |
HOw do i create a batch file that opens programs and installs updates for a person with out any user interface I need it to know when to click next and how to enter product Codes how do i do that. Software Development user-interface visual-basic | |
Hey everyone, we're going over functions now and I am supposed to write a program that counts the number of vowels in string of characters. I'm not sure what I'm doing wrong... could someone help? #include <iostream> using namespace std ; int isVowel ( string ) ; int main() { … Software Development c++ | |
I'm using the free Microsoft Visual Basic 2005 Express Edition My problem: I have a main form with my options (save, open, etc). I have a form to handle my Open (I'm opening multiple data-tables) and use a masterList.txt to keep track of my current data-tables, and display them in … Software Development microsoft-access visual-basic | |
Hello everyone. I am new to this forum and new to visual basic. I am writing a program and all is well except for one problem that I cannot get over.. I have a integer, it is random... I need to convert it to a string so I can put … Software Development visual-basic | |
Hello all, I am having a problem performing a calculation while in formview. I am using visual studio 2005, sql and C#. I have many textbox's that a user inputs, some of these require the calculation of subtotal and total. Here is a small example of what I have tried; … Software Development c# visual-studio | |
char *p=" My [COLOR="#ff0000"]name[/COLOR] is xyz "; char *q; q=strstr(p,"[COLOR="#ff0000"]name[/COLOR]");//it will return ptr at [COLOR="#ff0000"]n[/COLOR] of [COLOR="#ff0000"]name[/COLOR] now if i want to extract "[COLOR="#ff0000"]name[/COLOR]" from p i will increment the ptr q and put it in a char array say str[] but how will i check for space after [COLOR="#ff0000"]name[/COLOR] … Software Development c++ | |
Develop a[COLOR=red] C program[/COLOR] that has a structure for a list of students that has the array of students and the number of students. The structure for each[COLOR=red] student[/COLOR] consists of [COLOR=blue]ID number, name, GPA, number of courses, and a list of courses[/COLOR]. The structure for each [COLOR=red]course[/COLOR] consists of … Software Development assembly c data-structure operating-system | |
Q.Write a function to accept 20 characters and display whether each character input is a digit, lower case letter or upper case letter. Solution I tried [code=c] #include<stdio.h> #include<conio.h> int main() { char inp; int i; clrscr(); for(i=0;i<20;i++) { printf("Enter a character\n"); scanf("%c",&inp); if(inp>='0'&& inp<='9') { printf("It is a digit\n"); … Software Development c | |
Hi I'm coding a game of towers in java. I'm having trouble moving a stack from one button to another. I have eventlisteners for buttons A and B. If Button A is clicked and then button B is clicked, the value at button A must be added to the value … Software Development java | |
Hi folks i've been working hard with an assignment for college but have become stuck. Hoping u kind guys could give me some pointers. The assignment section reads: [COLOR=black] [I]MP3 Player [/I][/COLOR][I] [COLOR=black]As stated above, this section of the player will not be loading and actually playing a [/COLOR] [COLOR=black]genuine … Software Development c++ | |
Hello. I'm using a JOptionPane to display some application information when the user selects the Help-About menu option. If the about option has been selected and you click on an alternative application (e.g. a browser) when you return to the application the JOptionPane is lost and the application can't continue. … Software Development java | |
Greetings, I am working with ASP.NET 2.0 GridView. I have a GridView nested in a View control. When I select a record from the GridView I want to populate the records values by Key into a collection of TextBoxes in a second View control within my MultiView. From a scope … Software Development asp asp.net web-server | |
is there a way to convert everything i input to my program into its ascii binary equivalent? if so please show me; thanks. Software Development c | |
I'm trying to retrieve the name of the computer that my programm is running on. This is the code: [code] TCHAR compName[MAX_COMPUTERNAME_LENGTH + 1]; DWORD cnt = MAX_COMPUTERNAME_LENGTH + 1; std::string name = [COLOR=#800000]""[/COLOR]; [COLOR=#0000ff] if[/COLOR]( GetComputerName( compName, &cnt) ) { name = compName; } [COLOR=#0000ff] return[/COLOR] name; [/code] The … Software Development c | |
Hi, While compiling error found. Please give a solution as soon as posible. CODING: ---------- [code=c] #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <stdio.h> #include "delayImp.h" // // Local copies of strlen, memcmp, and memcpy to make sure we do not need the CRT // extern "C" static inline size_t __strlen(const char … Software Development c++ data-structure | |
Hi, I've problem here. I create 3 check boxlist using vb.net 2.0. One of my check boxlist is uncheck when i try to save in database. when i want to save this using Microsoft access database the error come System.NullReferenceException – “Object reference not set to an instance of an … Software Development microsoft-access vb.net | |
pls i will like you to help me with something i was practising with c++ classes and i created a class interface called GradeBook, you know that i will need a source file to write the details of the implementation of the public functions? so in the source file i … Software Development c++ | |
Hi i need help in c++ vectors ... if you have a vector lets say 1,4,5,6,4,6,7 and you have to remove the duplicate vectors i.e to bring it in the form 1,4,5,6,7 .... i tried the double nested loop and trying to get the first vector and comparing with the … Software Development c++ | |
Hi everybody, I have this procedure for launching an application and wait for it to finish, but I get an error: [code] [Error] Main.pas(57): Types of actual and formal var parameters must be identical [/code] What do I do wrong? Who can help me? [code] function WinExecAndWait32(FileName: string; Visibility: integer): … Software Development pascal ![]() | |
[code=cplusplus] #include <iostream> #include <fstream> #include <string> using namespace std; const double PRICEA = 9.95; const double PRICEB = 14.95; const double PRICEC = 19.95; const int ONE = 10; const int TWO = 20; const double EXTRA1 = 2.00; const double EXTRA2 = 1.00; int main() { int hours; … Software Development c++ | |
I'm having a problem with my search function for my linked list. It has to do with my foodItem object. I'm not sure what to replace it with since it's part of the function protocol. The previous version of this [URL="http://www.daniweb.com/techtalkforums/thread72745.html#"]code[/URL] used an array and part of my problem is … Software Development c http-protocol linked-list | |
Can any one please help me i have been working on this program since morning but couldnot figure it out.....pls... the program reads an input file and counts the frequency of characters in it i.e. how many times each character occuring. i know how to read from an input file … | |
My aim is to write code to cycle through all the documents in a particular directory. Each document requires text and bitmaps inserting and then moving to a new post-processing folder. Can anyone provide me with a solution using VB6 code. I do not know how to access a list … Software Development first-post visual-basic | |
I have 2 issues:rolleyes: : 1. I'm creating a combobox from inside code (sort of dynamic, when the user finishes a row, another row appears) and I would like to know how to set the list of items the user chooses from. 2. How can I block the user from … Software Development | |
hi i have this assignment in which i am lost ... if someone could help me it would be great .... i dun need someone to write the program ... just some hints ... i will try to compile it myself ... just let me know how would u do … Software Development c++ ![]() | |
I have a question. Eventually, I mean when I can code. I want to write tools for a 3d program called Maya. I dont know if you guys are familiar with it or heard of it. I was wondering if Dev is going to cut it, cause I also need … Software Development c++ | |
anyone can help me.. i have a task to coplete below is the question : create class called Arithmetic for performing arithmetic process. use two integer variables to represent the private data of the class. provide a constructor function that enables an object of this class to be initialized when … Software Development java | |
Hey, There are somethings i dont understand in classes, for example let us examine this : we created a class Employee , with private data members firstName, lastName and monthlySalary; we have some functions that performs operations like a constructor, set and get functions on this data members. Now! we … Software Development c | |
I am taking a Java Beginner class, which I have explained in an earlier thread. I read the chapters and do understand them to an extent, but when it comes to doing the homework, I am at total loss. I have put in for a tutor, and hopefully one comes … Software Development java | |
How can I let the Tkinter Button command do more than one function? | |
Hi to everyone... I am told to code a Schelling's Segregation Model simulation in C++ . This is about agent simulation and let me explain shortly what it is wanted: * There is a place like the chessboard (8*8) * there are 2 kind of people , the X and … Software Development c++ linked-list | |
hi , i just start to learn python. i am doing window browser using python for that i am using tkFileDialog module. But when i select any folder, at the same time i want to display the files and folders which contain in that folder. Exactly like window browser. So … Software Development python | |
Hello.. Im in urgent net to compile some Libary Management System written in .NET. The code seems very good, but I'm facing some problems I cannot solve/figure out myself, because I dont have any experience with .NET. It seems like DataSets (classes) wont be included in FORMViewer.cs - I tried … | |
[COLOR=#000000]help me please?[/COLOR] [COLOR=#000000]Write a program that uses a for statement to calculate and print the average of several integers. Assume the last value read is the sentinel 9999. A typical input sequence might be[/COLOR] [COLOR=#666666] 10 8 11 7 9 9999[/COLOR][COLOR=#000000]indicating that the program should calculate the average of … Software Development c++ | |
Hey everybody, Could somebody please provide an example for using the STL find_if for the following task. I am trying to search a vector of structs, using the following criteria: compare whether the key of the struct in the vector matches the key of another struct (instace of the same … Software Development c | |
Hi All I m a C++ programmer and now I want to study Java... Can somebody tell me from where I can get a free download for the book Java Complete Reference Or Some other beginner level book... Thanks... Software Development java | |
Folks, Most of you can see what the below segment of code is doing, the problem I have is that the program is skipping the next line in the source file (airportsMaster) after it has processed a successful match. Is the problem because I am using getline twice or that … Software Development c++ | |
Hi, I have a excel sheet "Biodata.xls" (already containing data). I need to load this data to a table "Details " in sql server. I have done it using the DTS wizard. Is it possible to do this through some code in c#? Can somebody help me out....... Thanks, Aswathy Software Development sql | |
Hello, I am creating a simple windows applications using Visual C#. Everything looks good excep the Buttons. Eventhough the buttons looks to have rounded corners and look like Windows XP in the Visual C# developing enviroment, once I build the application the buttons looks old fashion square shape like the … Software Development | |
Hi, well i'm a program that has to show 3 rectangles and a menu (which will add data and then show in the rectangles) to simulate a processor but i´m getting a problem when the program runs, it shows the rectangles and a the menu right, but when i use … Software Development c | |
i am a newbie in C++ file processing... Any1 can guide me to search for an item(lastname) in the example below? what is [B]seekg[/B] or [B]seekp... [/B]how to use it? [code=cplusplus] #include<iostream> #include<fstream> using namespace std; void main(){ char firstname[10], lastname[10]; int age; ofstream write("text.txt", ios::app);/*actually i am not sure … Software Development c++ file-system ios | |
I have arranged this code in many different ways. I can't seem to make it simply print the array. I have read alot about pointers and arrays, but the explanations are scetchy at best. What exactly are the rules for properly pointing to an array? #include <iostream> using namespace std; … Software Development c++ | |
So I wont pretend it's not HW..it's a HW question.. it says: Write a program that computes the approximate sine of an angle (θ) by using the following infinite series: Approximate sine of θ = θ – (θ^3 /3!) + (θ^5 /5!) - (θ^7 /7!) + (θ^9 /9!) … (other … Software Development c++ | |
Hello again, I was working on Linux platform for a lot of time now and now I am moving to windows (because of job). Today I was accepted to wow project, and I have to start with developing apps for windows. I have a doubt. I dont know what to … Software Development api c c# c++ windows-api | |
i'm currently in the middle of a Java programming assignment, and having quite a spot of bother! for some reason, when i run my code (which has no visible errors), a small window appears with the words Swing Example in blue italics. anyone got any idea what coud be causing … Software Development java java-swing |
The End.