43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for judithSampathwa

hi there, i have asked this question several times but i coudn't solve this problem. i have two datetime picker one as the start date and the othere as the end date. when the user clicks a date in the start date he should not select a date that has …

Software Development
Member Avatar for judithSampathwa
0
170
Member Avatar for kanjali

Hi, Iam new to java as iam working for dotnet C#. Can any body tell me the software to convert java code to C#. Please, iam in very much need for it. Thanks in advance, Anjali ...

Software Development c# java
Member Avatar for masijade
0
313
Member Avatar for Jackie91

when i enter '1' .. the cout is connected,i cant even input the 1st line,which is the 'name = '.. help me pls. [CODE]#include<iostream> #include<string> using namespace std; void main() { int input; int choose; string name; string icNum; string parentName; string address; string TelNum, parentTelNum; cout << "\n\t\t\t STUDENT …

Software Development c++
Member Avatar for jonsca
0
144
Member Avatar for kalpa23

any one know how to search a string array for a particular value a then remove it from there without keeping a null element to find the element where the value exists and then to remove the element Please if any one know how to do it give me an …

Software Development
Member Avatar for kalpa23
0
432
Member Avatar for anerchy

[CODE] a = textBox3.Text; if (listBox1.Items.Contains(a) == true) { textBox4.Text = b; }[/CODE] i haven't manage to step into the if statement. am i doing something wrong?

Software Development
Member Avatar for hirenpatel53
0
277
Member Avatar for Danny_501

Hi all, why do I get an error with this line of code? [CODE]string test("a" + "b" + "c");[/CODE] error C2110: '+' : cannot add two pointers I have included the string class. thanks.

Software Development c++
Member Avatar for Danny_501
0
112
Member Avatar for shilpajmensi

Hi, Need Urgent help..!!! I have a xsl to display all the xml elements in a html page. It works fine but i m not able to generate a proper indentation or format. Even a new line character doesnt work. I have pasted below the xsl ,Please help me out …

Software Development xml
Member Avatar for shilpajmensi
0
192
Member Avatar for WildBamaBoy

I just learned about dictionaries in Python and tried to implement them into a program I developed. The folders in the dictionary absolutely MUST be created in the listed order. But if for whatever reason they cannot be created, I want the name I specify to be printed instead of …

Software Development python
Member Avatar for TrustyTony
0
113
Member Avatar for fenhopi

Hey! I have a program that searches for a word in a .txt file. When it finds the word I want to print the following 5 lines under that word. So for example: I search for "juice", and my label grabs this out of the textfile: juice apple grape orange …

Software Development apple vb.net
Member Avatar for fenhopi
0
78
Member Avatar for Awah Mohamed

hello guys , i want to earn c++ but i dont have it's compiler but i have c compiler so can i use it or i need c++ compiler and where can i get it

Software Development c++
Member Avatar for Ancient Dragon
0
232
Member Avatar for Don_k

Hey guys. I coded the following program below: but I have a problem... I think its perhaps the logic I have used is not too good... here it goes... The program below should: ask the user to enter a letter ('a' to 'z' or 'A' to 'Z') and outputs VOWEL …

Software Development c c# c++
Member Avatar for eilans_10
0
158
Member Avatar for jhai_salvador

Hello!.. I am a VB6 programmer and I want to learn basic of C# Programming. So can anyone help me out?.. I just want to learn on "How will I do this in Visual C#".. this is a sample code from VB6, now, how will I do this in C#? …

Software Development c# visual-basic
Member Avatar for jhai_salvador
0
118
Member Avatar for prashanth s j

Hi all, the init.xml file has among its lines, one line as `<guid>5934</guid>` init.xml ------------------- ------------------- <guid>5934</guid> ------------------- ------------------ I need to increment the guid every time I modify the file. Could any one please tell me how to do that. Regards, Prashanth

Software Development python xml
Member Avatar for jcao219
0
143
Member Avatar for Archenemie

I have a little project im working on, and the fundamentals are fine, i just have two specific queries. I have learned the code shown here from scratch the past week from samples and tutorials plus a little outside the box thinking. My only problem now is that my two …

Software Development python
Member Avatar for Archenemie
0
99
Member Avatar for jiraiya

Hi everyone, I have a program that displays Chinese and Japanese characters. I've written the program inside Netbeans and it works fine. But when I use the program as an executable jar file, as built in the dist folder by Netbeans, the Chinese and Japanese characters are displayed as nonsense. …

Software Development display file-system gui ide java java-netbeans
Member Avatar for EnochEnglish
0
431
Member Avatar for creative9k

Sorry for the new questions... I've created this program to display a table . How could I write this code using while statements instead of for? [code]#include <iostream> using namespace std; int main() { for (int x = 1; x < 4; x++ ) { cout << x << " …

Software Development c++
Member Avatar for creative9k
0
146
Member Avatar for GAME

When I made my form to IsMdiConainer, i turned the back color of my form to a gray color. Is there any way I can change the color. Also im using DotNetBar.

Software Development
Member Avatar for GAME
-1
81
Member Avatar for XxPKMNxX

I have this program, when it starts, i am unable to press numbers. By pressing F this turns the numbers on. However, the result is, i have to hold down F to use the numbers. I thought declaring ignition as true would stick after i had released F. And pressing …

Software Development c++
Member Avatar for mrnutty
0
112
Member Avatar for Awah Mohamed

hello guys , i need your help i dont know c# and i want to learn it but before that i want to know what i can do with c# so please guys tell me exactly what i can do with c# and can i create a full website with …

Software Development c#
Member Avatar for Lusiphur
0
86
Member Avatar for jiraiya

Hi all, I'm having a compilation problem relating to some Chinese and Japanese characters that I have hardcoded into a hash table. When I compile this code inside an IDE like Eclipse or Netbeans I get no warnings, but when I do it outside of the IDE I get the …

Software Development ide java java-netbeans
Member Avatar for jiraiya
0
126
Member Avatar for wolfeater017

When I finally got the input to work in this code it stopped displaying the txt on the screen. Any suggestions on how to fix this. [code]import pygame, sys from pygame.locals import * import time mo = 0 # set up pygame pygame.init() # set up the window windowSurface = …

Software Development display pc-peripheral python
0
117
Member Avatar for jiraiya

Hi everyone, I'm having some trouble creating an executable jar file that accesses data txt files when running. I've written a program using Netbeans that reads in both images and data and uses this data while the program is running. But when I try to run the program using the …

Software Development java
Member Avatar for jiraiya
-1
71
Member Avatar for guyfrompluto

Simple program to check whether a number is prime or not. Something is seriously wrong because every result I get is 'false'. Help me out please. Thanks in advance. [CODE] class primeTesting { public static void main(String[] args){ int i=7; //changing the value everytime always gives false.... ??? boolean bool=false; …

Software Development java
Member Avatar for guyfrompluto
0
118
Member Avatar for AngelicOne

What are this? I read this on some forums. It goes like this [CODE]da.InsertCommand = new SqlCommand ("insert into table values('')",con);[/CODE] a dataadapter calling an sql command? Could someone explain me this?

Software Development
Member Avatar for k.d.m
0
98
Member Avatar for AngelicOne

Is it allowed? What I mean is, if I have two queries? Like I need to read a dataset to populate a gridview and other than gridview, in one form.

Software Development dataset sql
Member Avatar for Lusiphur
0
82
Member Avatar for AngelicOne

I don't know what would be a good title for this but I'll just explain. I have two forms. When I run my login form, my main menu form will also visible but only behind my login form. Now, you might have some idea what i'm talking about? . My …

Software Development
Member Avatar for AngelicOne
0
346
Member Avatar for thalz

somebody help me how to open connection postgresql with vb.net ..

Software Development postgresql vb.net
Member Avatar for finito
0
97
Member Avatar for litlemaster

[CODE]protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); }[/CODE] I new nothing, what this code is doing in this project. I am familiarizing myself with am application to send and receive SMS from GSM modem. Meanwhile …

Software Development
Member Avatar for litlemaster
0
115
Member Avatar for Danksalot

I am using xCode on a Mac to write some c++ code. Any time I use cin >> the program compiles just fine, but when I run it something happens that I didn't expect. I enter what I want for input and hit the RETURN key, and it goes to …

Software Development c++
Member Avatar for Danksalot
0
930
Member Avatar for rakeshk_87

Hi i have a calculator progran which is shown below...i need to make this into a class calculator....i need some ideas to get started....like what should be the member functions, private data members etc..... [CODE]#include <iostream> #include <string> #include <map> #include <cctype> using namespace std; double number_value; string string_value; int …

Software Development c++
Member Avatar for rakeshk_87
0
134
Member Avatar for tucanoj

I've been playing around with recursion a little bit, admittedly it's been some time since I've used it, and I'm feeling pretty rusty. I was simply trying to recursively reverse a linked list and wasn't getting anywhere and finally google'd some code and came across the below snippet, [code=c] node …

Software Development c linked-list
Member Avatar for tucanoj
0
127
Member Avatar for natd

I'm having trouble with my program. It randomises the craps results i.e how many games are won or lost on a particular roll. The problem is, it is supposed run 1000 games but it also randomises the number of games too. Usually between 1000 to 1005. I think it is …

Software Development c
Member Avatar for smurf6189
0
112
Member Avatar for Archenemie

Im sure ive parented everything up right buut when i run the code it doesnt show the panels right. As you can see from the code i want a 3 page notebook on the left half of the screen and a blank panel on the right side but i really …

Software Development python
Member Avatar for Archenemie
0
95
Member Avatar for Excizted

Hello, [I]Before you get scared away - my issue does not particular seem to relate to Quaternions or Vectors. More generally, it appears to be something compiler or C++ standard related, as my return call from the function is acting strange. You can eventually start reading the [U]concluding issue at …

Software Development c++ mathematics
Member Avatar for Excizted
0
196
Member Avatar for Dan08

Again, another hard question. So Ive got a function, and ive got a couple of try and exception in it, and basically what i need is, if those exception give me an error, i want that function to go to an end. So, how am i suppose to do this. …

Software Development python
Member Avatar for Dan08
0
170
Member Avatar for Dan08

Hey people, I've got a file, looks like this: [QUOTE]england america spain brazil germany australia[/QUOTE] now, I need to read it line by line: [CODE]country = open('languages/country.lang', 'r')[/CODE] and give a value to it, like: [QUOTE]A1 = country.readline()[/QUOTE] and then A2 for the next country and so on. So I …

Software Development python
Member Avatar for TrustyTony
0
185
Member Avatar for kalpa23

c#, web forms, vs2003 i have this data grid view that im trying to create a shopping cart. my problem is when i data bind to each and every time if ther is previous binding that values still there how do i only bind the new value and display only …

Software Development
Member Avatar for Lusiphur
0
200
Member Avatar for jtltgl

I am making a password genarator and having trouble with this part of code. I am trying to loop until length is meet but it only creates one char and I am trying to when it gets to certain char to skip and do nothing but loop until length is …

Software Development c++
Member Avatar for jtltgl
0
98
Member Avatar for MARKAND911

I have two forms named form1 and form2 respectively. And a MDI form named mdi1. I want to open form2 as a child of mdi1 when a button on form1 is clicked. How can I do this please help me.

Software Development
Member Avatar for k.d.m
0
107
Member Avatar for stark025

Hi. I am a student, and I have an report to do for our Computer Programming Fundamentals class. We are required to demonstrate the use and function of constructors and the JOptionPane class. I have implemented a simple age calculator using Java as my demo, and I intend to go …

Software Development java java-swing
Member Avatar for NormR1
0
222
Member Avatar for sneekula

Is there a reliable way to 'pluralize' english words with Python?

Software Development python
Member Avatar for TrustyTony
0
6K
Member Avatar for Sarkahn

Hello. Could someone please help me understand what's going on with this code? What I'm trying to do is read each line of a file into a vector<char const *>. I feel like the answer is probably extremely obvious but I just can't figure it out. [CODE]int main( int argc, …

Software Development c++ file-system
Member Avatar for Sarkahn
0
1K
Member Avatar for madzam

someone please help me do the loop .....thanks ... ..here is the problem ...the user will enter integer values until 0 is entered. The program will find the lowest and highest values entered.It will also calculate the total number of value entered..... [code]#include <iostream> #include <iomanip> using std::cout; using std::cin; …

Software Development c++
Member Avatar for mahmud.2345
0
95
Member Avatar for john butler

here is one program which has 1 abstract class without abstract method. its also works fine. Then what the use of abstract class, any how it does not allow to create objects, we can use this with concrete class to implement method defined in abstract class which we have to …

Software Development java
Member Avatar for musthafa.aj
0
114
Member Avatar for GAME

Hello, I am trying to use this code: [code] PictureBox1.ImageLocation = "http://avatar.xboxlive.com/avatar/" & TextBox1.Text & "/avatar-body.png".Replace(" ", "%20%"); [/code] The error I get is: [code]Error 2 Operator '&' cannot be applied to operands of type 'string' and 'string' C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\Lucky Se7en\Lucky Se7en\GamercardViewer.cs 27 37 Lucky Se7en …

Software Development visual-studio
Member Avatar for Lusiphur
0
332
Member Avatar for Dennis M.

Hey guys, Today I find myself stuck working on a small project. I am reading information from a pipe and want to output that information to a HWND. The HWND is already created and I'm using ::SetDlgItemTextA() to properly append the data within the multi-line "edit" box. This kind of …

Software Development c++ gui
Member Avatar for Dennis M.
0
109
Member Avatar for Rickay

I am fairly new to programming but have been working on putting together a group of functions into one program. It is coming along nicely, but for some reason I can't get the loop on the divisibility function to work properly. When you prompt it to quit to return to …

Software Development c++
Member Avatar for jonsca
0
172
Member Avatar for Andreas5

Hello again, i just finished excersise 11-6 in Accelerated C++. Through this chapter the book emulates a simplified vector class, and as a excersise i have written an erase() member function. My solution allocates new memory, with the size of the original minus the size of what i erase. Then …

Software Development c++ storage
Member Avatar for Andreas5
0
190
Member Avatar for Duki

Hey everyone, Does anyone know how to specify which sheet you're going to be modifying in an exel worksheet? For example, if I have an Excel file that has 5 sheets, and I want to modify (4,7) on sheet 3, how would I do that? Here's what I have so …

Software Development
Member Avatar for nick.crane
0
207
Member Avatar for gampalu

Hi, I am trying to load an image into an applet, however unsuccessfully. What's wrong here? [CODE]package sess31; // Import the AWT graphics package import java.awt.*; import java.applet.*; public class myownapplet extends Applet { Image image; public void init() { // Load image //image = getImage(getDocumentBase(), "show14.gif"); } public void …

Software Development image java
Member Avatar for Alimuzzaman
0
695

The End.