132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for josh06

in visual c# express edition 2005 is it possible to add your own window border, like in some programs there are custom made min,max and close buttons instead of the xp ones. how can i do it in visual studio??:p

Software Development c# visual-studio
Member Avatar for Jugortha
0
96
Member Avatar for Mukoyonzo

Hi, am using C# to program. I declared my property as below public decimal sal(string amount) { get{return sal;}} Now on running I got the error sal is declared as property not method What should I do?

Software Development
Member Avatar for Jugortha
0
74
Member Avatar for ceoba2

i have a project with xml,i must open a xml file in tree view,i've done this,but now i want to add node.i have a existing file witch i've open,and in this xml file i need to insert new node,can someone help me with this. thank you very much

Software Development xml
Member Avatar for Jugortha
0
110
Member Avatar for plusplus

When resizing the form, I resize the toolbar on top. When it gets too small for all the buttons on the toolbar to show I want to either Split the buttons into two lines or Add a button at the right hand corner which includes as menubuttons all the buttons …

Software Development visual-basic
Member Avatar for plusplus
0
85
Member Avatar for Tiger909

[B][COLOR="Red"]hi all, I am new here,and I wish I could find a solution for this program My program has to check if the number is prime or not?, my program is working properly with numbers greater than 1 (n>1), I want my program to display a friendly message when the …

Software Development c++
Member Avatar for invisal
0
169
Member Avatar for hidash_in

hi all, i am using the below code to open a n application by specifying the file path response.setHeader("Content-Disposition", "attachment; filename="+ java.net.URLEncoder.encode(filePath) +""); but while opening the application the path changed as D%3A%2FPrepress%2F5_Production%2FJournals%2FBalaban%2FPI10000044%2FBban_MWMS_100005%2FData%2Fset+header[3] with special characters because of the filepath changed i cant apple to use the save button. i …

Software Development apple java
Member Avatar for hidash_in
0
107
Member Avatar for Max_Payne

[B]Point.h[/B] [code=c++] #prag... #pragma once #include <iostream> using namespace std; class Point { private: int x; int y; public: Point(void); Point( int x, int y ); Point( const Point &xPoint ); ~Point(void); void setX( int x ); int getX() const; void setY( int y ); int getY() const; Point & …

Software Development c++ visual-studio
Member Avatar for Max_Payne
0
588
Member Avatar for jellyfish888

I have a homework in which our teacher asked us to write a code in which the user can add, delete and edit his wishlist...I can only do add and delete...I am sure that there is a lot of problem for edit so please help me to make it work...I …

Software Development java
Member Avatar for ~s.o.s~
0
152
Member Avatar for Archimag

Hello people......just wondering if i can get some help.... I need to solve the next problem: We insert a number of students "k" and a number of chairs "n".....we need to print on the screen all the possible seating arrengments.....as one space always got to exist between two students.......the formula …

Software Development c
Member Avatar for Archimag
0
161
Member Avatar for EMUGOD

[CODE] int[] h0 = new int[] {0,0,0,0,0,0,0,0}; int[] h1 = new int[] {0,8,8,0,0,8,8,0}; int[] h2 = new int[] {0,8,0,0,0,8,8,0}; int[] h3 = new int[] {0,0,0,6,9,0,0,0}; int[] h4 = new int[] {0,0,0,9,6,0,0,0}; int[] h5 = new int[] {0,8,0,0,0,0,8,0}; int[] h6 = new int[] {0,8,8,0,0,8,8,0}; int[] h7 = new int[] {0,0,0,0,0,0,0,0}; int[][] …

Software Development java
Member Avatar for EMUGOD
0
103
Member Avatar for jbennet

Okay i need some help doing a payroll system using master/transaction files in C++. I have done the pseudocode (we will use text files to simulate tapes) can anyone see any probs with my pseudocode? how would i do it in c++? [code] ======================== get payroll transaction file for $month …

Software Development c c# c++
Member Avatar for jbennet
0
122
Member Avatar for jellyfish888

I have a homework to get the average of x number...I was thinking that in order to get this I should just ask the user to input all the numbers that that want to get and using comma as separator...unfortunately, I don't know how to do this...below I have my …

Software Development java
Member Avatar for darkagn
0
446
Member Avatar for 1qaz2wsx7

Hi :) I have 3 DataGrids (and even more in the future) that supose to present data from a DataBase. When i press on the main DG all the rest are updated according to a cartein Code Index. The problem is that its very slow and i want to make …

Software Development c# dataset open-source
Member Avatar for Jugortha
0
168
Member Avatar for djJonno

Hi, Just a short question. I was wondering if one has a base class for example bird and a derived class pigeon, if i instantiate an object of each class, B1 and P1. Is it possible to pass the address of B1 or P1 into a function such as DoSomething(&B1) …

Software Development c++
Member Avatar for djJonno
0
280
Member Avatar for rlupton313

Need some help writing a program to find the area of a right triangle without using fstream, iostream, etc.

Software Development c++
Member Avatar for Ancient Dragon
0
82
Member Avatar for ferhatkuskaya

1. "Memo1" component that hides value such as 100,200,300 or 450 ounce etc. 2. "Memo2" component that hides value such as 50,100,150 or 225 ounce so the component will store the decreasing values from 100,200,300 or 450 pounds. Thus the bar image's height will be 50% of the barimage old …

Software Development delphi image pascal
Member Avatar for ferhatkuskaya
0
134
Member Avatar for lifei

Can i know what's wrong with the below source code? can i put the variable x, y like this? How it can't work? [code=c++] #include <Windows.h> #include <mmsystem.h> #pragma comment (lib,"winmm.lib") int ,x,y; void CTestingDlg::OnPlay() { // TODO: Add your control notification handler code here UpdateData(TRUE); CString strFreq; CString strHL; …

Software Development c++
Member Avatar for invisal
0
150
Member Avatar for Nosgammot

Hello, I am just starting to learn C++ and Decided to change from using Dev-C++ to Visual C++ 2008 express. but, there seems to be a problem.After compiling a few programs and showing off my new skills to my friend over MSN he tells me that he cant run my …

Software Development c++
Member Avatar for n.aggel
0
146
Member Avatar for jobs

I have a config file which includes how many files I need to create. So my program reads the config file and will create those files. Where I am stuck is I do not know before hand how many File pointers I need. I get to know quantity of files …

Software Development c file-system
Member Avatar for Jishnu
0
915
Member Avatar for Dr_computer

Hi guys, how can add flash in form please help me regards.

Software Development flash vb.net
Member Avatar for Jx_Man
0
88
Member Avatar for jem00

hey again, I wrote this code.. very quickly and messily. I would like to 'clean' it up.. that is put some functions in it. [CODE]def numWords(aString): lst = aString.split() noword = 0 for word in lst: noword = noword + 1 return noword def save inp = raw_input("Please enter some …

Software Development python
Member Avatar for jrcagle
0
82
Member Avatar for wega

plz i realy do need help:D i only want to read the contents of a text file but i dont know how:( ex: test.txt how to read its contents

Software Development c++
Member Avatar for Comrade Ogilvy
0
105
Member Avatar for curt22

I'm new to Java and I'm wonder if someone can help me with this. I have a class that's constructor makes a Gui window, and it's main calls this constructor. The problem is the event handling doesn't work because the event handling code can't access the GUI window variables (It …

Software Development gui java java-swing
Member Avatar for parthiban
0
121
Member Avatar for Drags111

Hey guys! This is my first post, as im new here :S I have a simple problem for a big program. We have a .sh to install it, but when I run the .sh in terminal like i should, It says the class is not found. I believe it has …

Software Development java shell-scripting
Member Avatar for eggi
0
113
Member Avatar for kv79

Hi to all, I want to know how to get into dll file. I do not now anythig about dll. I do now something about Applications. So if you can give some link with example and with dllEntryPoint i will send the GOD's to Answer your wishes(:D).I have nothing to …

Software Development c++
Member Avatar for kv79
0
209
Member Avatar for jobs

When you read file in C and move to next line and so on. This seems you have to access file top to bottom sequentially without skipping lines. I need a way to read very 5th line or something similar to it. I am just concerned with data that is …

Software Development c
Member Avatar for yagiD
0
108
Member Avatar for Deadvacahead

Howdy, I am trying to write a program that reads in a .txt file with questions and multiple choice answers. The program then needs to search the text and convert the questions into a new format and write to a new file. I don't have much so far because I …

Software Development algorithm c++
Member Avatar for n.aggel
0
158
Member Avatar for AaronASterling

Hi, I am new to VB. I am trying to parse an html file. I would like not to use a WebBrowser control because it seems like overkill. The HtmlDocument class appears not to work outside of a WebBrowser control. If there is not a way to initialize it independantly, …

Software Development api html-css vb.net
Member Avatar for AaronASterling
0
106
Member Avatar for skibum_not

I'm developing a cgi-bin application that must be unicode sensitive. I'm striving for a UTF8 implementation. I'm running python 2.3 on a development machine (windows xp) and a server (windows xp server). Both environments are running Apache 2.2 with the same configuration file. The problem is this. On my development …

Software Development apache python windows-server
Member Avatar for Ene Uran
0
445
Member Avatar for jem00

Hey guys, I just wanted to know if anyone recommends an IDE because I am using IDLE and its not really shining.. to me. Thanks.

Software Development ide python
Member Avatar for Ene Uran
0
78
Member Avatar for nljavaingineur

Dear fellow developers, Below is code calculating your weight on different planet using Enum type, from the book of Java Tutorials. Can anyone tell me what does `"%"` mean in `"%s"`, `"%f"` and `"%n"`? How does all three managed to get in the for-each loop without being declared explicitly before …

Software Development java
Member Avatar for nljavaingineur
0
125
Member Avatar for toolmanx

I recently sent a request for help because ReadFile kept crashing for me. The moderator sent me some code which cured my problem. My next step was to experiment to see what I had originally done wrong. (For further info see ReadFile crashes by toolmanx.) I started by replacing each …

Software Development api c++
Member Avatar for Comrade Ogilvy
0
131
Member Avatar for energizer100

Hey. I'm having some difficulty in Array lists. I have to find the average of all the numbers in an array list. That's my first task. My second one is to find the mode of all the numbers, meaning the number that shows up the most. And the third one …

Software Development java
Member Avatar for bops
0
124
Member Avatar for xeption12

Ok i'm trying to build a header file which then i can include it for programs that use singly linked lists but somthing is fishy here...: here's the code [CODE]#include <iostream.h> struct nod { int info; nod* next_adr;}; void add(nod* &v, nod* &sf, int val) { nod *c; if(v==0) //if …

Software Development c++ linked-list
Member Avatar for xeption12
0
94
Member Avatar for tehprince

I'm a newbie to C++ and figured this would be a good place to ask for guidance. I need to write a program that reads input from a txt file which contains "grades" in numeric format, I.E. 92, 55, 88 and take those grades and calculate the average. Now my …

Software Development c++ file-stream
Member Avatar for tehprince
0
98
Member Avatar for tootypegs

hi basically i have a couple of questions. I have an image of a thumb drive. I have gone through the image extracting information from the file allocation table until i have all of the files saved as strings. Basically i would like to progress from this stage to reconstrcuting …

Software Development c++
Member Avatar for Ancient Dragon
0
108
Member Avatar for neow

hi there everyone! :D i'm new here and i'm wondering if you can help me with my java programming. actually it is my project and i'm having a difficult time with it. here is is my code. its about array computation, 1st you will input how many operators you will …

Software Development java
Member Avatar for neow
0
108
Member Avatar for ben8118

i not sure how to solve the problem. Pls help me. Thanks. asg.cpp [CODE=cpp] #include<iostream> #include<ctype.h> #include"Stack.h" using namespace std; main(){ char ch; nodeIntType operand1,operand2,result; StackInt S; InitializeStack(&S); cout<<"Enter postfix expression"; cin.get(ch); while (ch!='\n') { if (isdigit(ch)) { Push ((nodeIntType)((char)ch-(char)'0'),&S); } else { Pop (&S,&operand2); Pop (&S,&operand1); switch (ch) { …

Software Development c++ storage
Member Avatar for ben8118
0
122
Member Avatar for mrjoli021

I upgraded to vs2008 and now I can delcare and int, bool, or any primative data type, but when I delare a string it wont let me. int ip; Works char ip; Works string ip; DOES NOT WORK I get these three errors. error C2146: syntax error : missing ';' …

Software Development c++
Member Avatar for Nosgammot
0
156
Member Avatar for nuBudDy

hello, i neeed help badly.my problem is i want to retrieve the record that has just been added. let say: step :load RESERVATION form->fill in details->click the save button->load RECEIPT form as soon as i click the save button, i want the records to be displayed in RECEIPT form. all …

Software Development visual-basic
Member Avatar for nuBudDy
0
182
Member Avatar for fayyaz

Hi All how can I change System time format From hh:mm:ss(12 Hour) to HH:mm:ss(24 Hour) Using Delphi code? Thanks

Software Development delphi pascal
Member Avatar for Micheus
0
156
Member Avatar for skibum_not

Dear web gods: After much, much, much struggle with unicode, many an hour reading all the examples online, coding them, testing them, ripping them apart and putting them back together, I am humbled. Therefore, I humble myself before you to seek guidance on a simple python unicode cgi-bin scripting problem. …

Software Development python web-browser xml
Member Avatar for skibum_not
0
150
Member Avatar for AjayKN

Dear Friends i want to know in VB6 what is forms is that classes or objects, since we can have dim a as new form1 a.show() or form1.show() and also please extend same for other controls

Software Development visual-basic
Member Avatar for hkdani
0
1K
Member Avatar for rhinocort23

hi, im kinda new, in fact i just signed up hoping you guys could help me. if i have multiple data grids connecting to multiple tables in access, one with all check boxes, can i make one of the data grids be affected by the other, like when i select …

Software Development vb.net
Member Avatar for rhinocort23
0
92
Member Avatar for Max_Payne

[b]Menu.h[/b] [code] #pragma once #include <iostream> #include <cstring> using namespace std; class Menu { private: string title; public: Menu( void ); Menu( const Menu &unMenu ); ~Menu( void ); void setTitle ( string title ); string getTitle() const; }; [/code] [b]Menu.cpp[/b] [code] #include "Menu.h" Menu::Menu(void) { this->title = "Hello"; } …

Software Development c++
Member Avatar for dubeyprateek
0
218
Member Avatar for yahaa_17

i am a newbie and currently working with my project and this project have a sms features, im using nokia cell phones and nokia pcsuite which can be found in nokia.com/pcsuite.. what i want to make is when my system recieve the message it will automatically give a response to …

Software Development
Member Avatar for yahaa_17
0
100
Member Avatar for bops

I am trying to implement a feature when the user clicks a specified shape (trigger) on the screen that an event is triggered. The following code is a class that I have written that implements mouse picking. [code=java] class Picker extends PickMouseBehavior { private PickCanvas pickCanvas; private Node trigger; private …

Software Development java
Member Avatar for Ezzaral
0
192
Member Avatar for sivaslieko++

Hi everybody, I am new at GUI and I need your help.. I have a JPanel, named "holdAll", layout of which is set to BorderLayout. I have implemented all other JPanels in different class files. For example, I have TopPanel, LeftPanel, etc. as shown below LeftPanel myLeft = new LeftPanel(); …

Software Development gui java
Member Avatar for bops
0
104
Member Avatar for rwkopcke

I have just tried to use Dev-C++ v 4.9.9.2 IDE GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA When I compiled my first program I received a link error: [Linker error] undefined reference to `WinMain@16' …

Software Development c++ ide
Member Avatar for jbennet
0
143
Member Avatar for navi17

is there any difference b/w object and instance? pls tel me in detail?

Software Development c++
Member Avatar for Jishnu
0
93

The End.