132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for a1eio

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
Member Avatar for a1eio
0
156
Member Avatar for degamer106

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++
Member Avatar for John A
0
94
Member Avatar for Smooth_411_2000

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
Member Avatar for Ved_TheOne
0
111
Member Avatar for Duki

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++
Member Avatar for Duki
0
245
Member Avatar for jan1024188

Hello again, I just started learning Win32 API, because of wow project. Now, I d like to know, if I will be able to make a programs using Win32 API in Vista too. What about 64bit arhitecture? Will be there on Vista Win64 API? If so will the code be …

Software Development api c++
Member Avatar for Ancient Dragon
0
122
Member Avatar for JamesDT

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
Member Avatar for PVBert
0
97
Member Avatar for christiannmandi

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
Member Avatar for PVBert
0
132
Member Avatar for GeneM

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
Member Avatar for GeneM
0
138
Member Avatar for gamodg

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++
Member Avatar for John A
0
120
Member Avatar for notfornothing21

What does the identifier [COLOR=navy]"[B]break[/B]"[/COLOR] mean and how would it be used? Thanks.

Software Development c
Member Avatar for John A
0
126
Member Avatar for ideas-adv

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
Member Avatar for ideas-adv
0
104
Member Avatar for IwalkAlone

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
Member Avatar for FoX_
0
75
Member Avatar for taineechan

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
Member Avatar for taineechan
0
155
Member Avatar for stanwaka

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++
Member Avatar for ~s.o.s~
0
104
Member Avatar for Cerberus

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
Member Avatar for Cerberus
0
236
Member Avatar for Dr Dave

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
Member Avatar for Dr Dave
0
153
Member Avatar for jigoro

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
Member Avatar for FoX_
0
83
Member Avatar for disc

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
Member Avatar for disc
0
106
Member Avatar for mariaprabu

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
Member Avatar for mariaprabu
0
365
Member Avatar for sara

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
Member Avatar for sara
0
78
Member Avatar for addicted

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++
Member Avatar for WolfPack
0
199
Member Avatar for raj157

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++
Member Avatar for ~s.o.s~
0
129
Member Avatar for Peter Kiers

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
Member Avatar for Micheus
0
613
Member Avatar for Amanda21

[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++
Member Avatar for Amanda21
0
110
Member Avatar for sbenware

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
Member Avatar for nottoshabi
0
179
Member Avatar for Jasy

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 …

Software Development c c# c++
Member Avatar for Lerner
0
122
Member Avatar for Nelly1965

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
Member Avatar for Nelly1965
0
81
Member Avatar for scru

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
Member Avatar for Killer_Typo
0
65
Member Avatar for raj157

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++
Member Avatar for iamthwee
0
363
Member Avatar for nottoshabi

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++
Member Avatar for Ancient Dragon
0
115
Member Avatar for uswatun

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
Member Avatar for uswatun
0
174
Member Avatar for addicted

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
Member Avatar for ~s.o.s~
0
116
Member Avatar for volscolts16

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
Member Avatar for blufab
0
173
Member Avatar for sneekula

How can I let the Tkinter Button command do more than one function?

Software Development python tkinter
Member Avatar for aot
0
3K
Member Avatar for fulyaoner

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
Member Avatar for fulyaoner
0
486
Member Avatar for pnk078

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
Member Avatar for pnk078
0
358
Member Avatar for l2u

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 …

Software Development assembly dataset
Member Avatar for RwCC
0
129
Member Avatar for saleh.23

[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++
Member Avatar for WaltP
0
86
Member Avatar for MIGSoft

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
Member Avatar for vijayan121
0
182
Member Avatar for Masood Ali

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
Member Avatar for sangramtheroot
0
91
Member Avatar for xdfear

Hey guys, Is there a was to show every process running using C++? Or to see if "X" process is running? Thanks

Software Development c++
Member Avatar for WaltP
0
55
Member Avatar for rodkay

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++
Member Avatar for rodkay
0
104
Member Avatar for Aswathy

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
Member Avatar for blacklocist
0
282
Member Avatar for khoramdin

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
Member Avatar for blacklocist
0
142
Member Avatar for endsamsara

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
Member Avatar for endsamsara
0
92
Member Avatar for Derice

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
Member Avatar for ~s.o.s~
0
132
Member Avatar for spankyg

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++
Member Avatar for John A
0
125
Member Avatar for need.help

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++
Member Avatar for John A
0
125
Member Avatar for jan1024188

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
Member Avatar for jan1024188
0
93
Member Avatar for darylharkin

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
Member Avatar for darylharkin
0
79

The End.